Skip to content

Basic watchface that allows uploading of step data to some server.

License

Notifications You must be signed in to change notification settings

pebble-examples/health-steps-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

health-steps-remote

screenshot-chalk

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.

How to use

  1. Set the server URL (minus http://) using NODE_SERVER_URL in src/js/pebble-js-app.js.

  2. Build the app and install the .pbw file.

  3. Run the Node server:

    $ cd server
    $ node app.js
    
  4. 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)
    

About

Basic watchface that allows uploading of step data to some server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published