Uses Tessel with the Accelerometer module to track my dog's visits to the backyard.
$ yarn global add t2-cli
$ yarn install
$ t2 push index.js \
--args <WiFi SSID> \
--args <WiFi Password> \
--args <Elasticsearch node HTTP address>
$ t2 push index.js \
--args mywifi \
--args Sup3rSecr3t \
--args http://192.168.2.11:9200
-
Attach the accelerometer module in port A of the Tessel.
-
Attach the tessel to the doggie door such that port A is to the top and right and the USB port is on the right edge of the Tessel.
-
Power the Tessel.