I had an idea a couple of days ago while I was casting around for a way to make use of the promising abilities offered by the new PebbleJS feature of Pebble SDK 2.0. It essentially cuts out the ‘man in the middle’ apps needed for communication with the web, which can limit the audience if the developer (such as myself!) is only familiar with one platform, such as Android.
The idea I came up with was this: On the Transport for London website (tfl.gov.uk), there is an HTML table that details the line status of all the different Underground lines. On a good business day these will all show ‘Good service’, and on a bad day/weekend a lot will show ‘Part closure’ or ‘Planned closure’. Wouldn’t it be great if this information was more readily available to a commuter or tourist if they happened to be equipped with a Pebble watch?
So that is what I set out to do, and with a little bit of JS wisdom, the result is PTubeStatus!
The major challenges were parsing the data and sending all these strings over app message without causing buffer overflows or
MenuLayer and show it.
You can download the app to try it for yourself from mypebblefaces, and if you find it useful and fancy making a donation, you can do so by purchasing the installer app for Android from Google Play, which I will update to let you know that the watch app also needs updating!
As usual, any feedback and bug reports are most welcome, and I will respond to each of them.