akbandara/SenseXivelyBridge — pull request #3 by NeilNjae (2014-03-02 17:23:59+00:00)
Title: Bridge now automatically creates mood sensor devices on Xively

You'll want to put this revision in a separate branch.

The bridge server now creates and activates new Senseboard devices for the mood recorder. It stores their details in ~/.sense_xively.config. If there's an already-existing device listed in that file, it will use that one instead of creating a new one.

This version of the server also uses the feed ID it gets from the API, so it ignores the feed ID passed in from Sense.

Moodrecorder-class.sb is the front end. It will record the mood as represented by the three buttons and upload the scores to Xively when either the Senseboard button is pressed or after five minutes of inactivity.