Hot on the heels of my Cirrus Pebble WatchApp I’ve just completed another creation for the Pebble: “F Weather”. F Weather is my homage to one of my favourite web sites: THE FUCKING WEATHER. THE FUCKING WEATHER tells the weather like it is and so does F Weather except it does so for your current location:
There are a few differences between F Weather and my Cirrus WatchApp. First of all this is a watch face rather than a watch app so it’s not interactive (but then again it doesn’t need to be interactive to relate the current temperature through the medium of swearing). Secondly F Weather is written in C and PebbleKit JS. This makes it much faster than the PebbleJS based Cirrus WatchApp. I haven’t written any C for 13 years or so and thoroughly enjoyed getting back into it.
Current conditions are looked up from Yahoo’s RESTful query services which involves two calls.
The first call takes the current longitude/latitude position available to the Pebble and looks up the corresponding WOEID and city name:
The second call uses the WOEID to look up the current temperature:
This process is repeated every 15 minutes.
My code is open source and hosted on github. It can be found here: pebblec-watchface-fweather. The install PBW can be found under Releases.