Basic app that can send steps data to a remote server. Default behavior is to
upload the last 15 minutes worth of minute data after that interval, but can be
configured in src/config.h
. On first launch, the most recent data available is
sent immediately, with subsequent launches checking that the interval has
elapsed before sending data.
-
Set the server URL (minus
http://
) usingNODE_SERVER_URL
insrc/js/pebble-js-app.js
. -
Build the app and install the
.pbw
file. -
Run the Node server:
$ cd server $ node app.js
-
Keep the phone connected. When step data arrives, the server will print it out by default:
Got data: 0,0,0,0,0,0,0,0,0,0,0,0,144,10,0 (15 items)