DC's Text Watch Plus Sunticks

Description

An extension to my earlier Text Watch mod, designed to augment the time shown in linguistic form with a small and unobtrusive graphic feature. A narrow progress bar along the bottom ticks out the hour, and one along the top ticks out the day. Two larger tickmarks on the upper bar indicate the sunrise and sunset times, giving you an 'at-a-glance' indication of how much daylight is left.

The sunrise and sunset times are calculated on the watch, so changing the location & timezone will require recompiling it. The version here is set for Los Angeles, California, USA. I am concerned that with the way the code is structured, it will be repeating the sunrise/sunset calculations with every tick of a minute, instead of just once a day. That may affect battery life; but I've only been using this for 1 day, so I can't say for sure yet. (So far, it's fine.) The code I copied seemed to have some structures to only do the computation at the top of each hour, but that caused me problems on initilization, so I removed them. I'm not really a programmer, just a do-it-yourselfer using cloudpebble.net. Code is definitely not optimized! Will be happy to send you my source if you want to put it on github, clean it up, tweak it, or just change the location & timezone. Would be great if it used something like httpebble to automatically get the users location and timezone from their phone, instead of baking it in the way I have.

Sunrise/Sunset calculations were copied from this:
http://forums.getpebble.com/discussion/4549/watch-face-sunclock-24h-analog-watchface-wi

If you want the version that omits the sunrise/sunset calcs, and just shows progress bars without them:
http://www.mypebblefaces.com/view?fID=5193

(I learned to make progress bars by studying: http://www.mypebblefaces.com/view?fID=585)

If you just want the Text Watch without any bars, but with the date formatted the way you see here:
http://www.mypebblefaces.com/view?fID=5066

(The code I initially copied as a starting point, with the date formatted differently: http://www.mypebblefaces.com/view?fID=1433)

Update History

No update history found.

created by - wackyneighbor

QR code for DC's Text Watch Plus Sunticks

Keep track of any updates for this App by signing in

×