jasoncalabrese/cgm-pebble — pull request #1 by bewest (2014-05-05 21:33:47+00:00)
Title: tweak handling no bgs

hacky way to stub out things in their online editor

Sorry for the poor formatting, etc...
The intent here was to try harder to get something to display on the pebble if there is no data, but the server is responding.

I have probably done a poor job at understanding the json protocol between server and pebble client, and the pebble client and the pebble message passing.

It would be very interesting to discuss showing number of watchers, maybe with menu list of watchers when selected when an alarm happens, then discussing use of buttons to dismiss alarm/notify who did what, etc.

It would also be interesting to make use of the `configurable` capability to set the pebble http endpoint to some arbitrary place.

Afterwards, it might be cool to experiment with a fork, maybe called `pebble-web-connect` which uses websocket to connect on a persistent basis to some endpoint which describes what should be put on the display, then a second fork, called `pebble-cgm-connect` which then combines the websocket approach with all the stuff we've learned about notifications/watchers/alarms in the meantime?