A weather widget: conditions and forecasts.
· v1.2
About
This weather widget uses the Yahoo (TM) Weather API and provides accurate forecasts in most places of the world. How to use it:
1) When you run it for the first time, it uses the GPS in order to get the user location, and will reuse the same position in the next runs in order to obtain weather informations.
2) To switch location, long press the vivoactive HR right button, so that the widget will ask again for GPS position.
3) You can see a small dot in the upper/right corner of the screen. It's the status dot with the following meaning. Green: pending Yahoo Weather query to fetch updated weather information. Red: Error communicating with the Yahoo Weather site.
4) The widget displays the current condition in the top side of the screen. Six (current + five next days) small forecasts are displayed in the lower side of the screen, together with min/max temperature predicted for the day.
NOTE: This widget uses the smartphone associated with your watch in order to perform the request of weather data. If your phone is not connected or out of range, than the widget will not work. However it will be still able to display old informations if any. Also please note that for the first run, the widget will use the last available GPS position in order to start quickly. However if you long press the right button in order to update your location, a fresh GPS position is required, so do it in clear sky outside buildings where your vivoactive HR is actually able to get a GPS fix.
Details about the widget:
The widget avoids reloading data if it already did it within 30 seconds. Icons are generated programmatically, so the application is quite small and fast to render.
When data is refreshed, icons details change a bit in a random way (for instance raindrops may re-arrange a bit) in order to provide a visual clue of the update, however this feature is not available for all the icons so far.
How to set Celsius or Fahrenheit:
The widjet just follows the watch configured unit for temperature. To change the unit in the vivosmart HR follow these steps: long press the right button, then select Settings - System - Units - Temperature. Then selects your desired temperature.
This application is open source, released under the terms of the GPL license. Source code is available here: https://github.com/antirez/iqmeteo
What's new
1.2: Bugs fixed, better first startup instructions.