Commit Graph

12 Commits (6b2f8e98d3a36c392b901e673763f5daeeea59a3)

Author SHA1 Message Date
Richard de Boer 5cb930a1e4 weather: Bangle.js 2 support
- use g.fillPoly when device doesn't support g.fillPolyAA
- use (mostly) 3-bit colors instead of dithering
- crash a bit less on incomplete weather data
2021-11-20 18:56:45 +01:00
Ben Whittaker 46ccfe86e3 weather: Fix crash when weather.json is absent 2021-10-04 09:23:12 -04:00
Ben Whittaker 5925628cf6 Weather: refactoring and reduced ram usage
These changes reduce the memory usage of the ram widget by up to 70
JSVars, depending on the weather.
2021-09-20 16:44:41 -04:00
Ben Whittaker 6b1233e630 Add checks for mist-related weather conditions 2021-09-19 14:37:19 -04:00
Ben Whittaker 2f3c996396 Add theme support and unknown icon 2021-09-18 14:02:59 -04:00
Richard de Boer 863923a3aa fix #485: weather: add wind direction 2021-06-18 20:19:34 +02:00
Ben Whittaker 60b4fc3351 weather: make expiry default to 2 hours 2020-06-08 21:48:45 -04:00
Ben Whittaker e0cea37238 weather: general refactoring 2020-05-24 05:25:26 -04:00
Ben Whittaker eed9868b76 weather: delete stale weather data 2020-05-24 05:25:26 -04:00
Ben Whittaker 3693d6ebce weather: show time since last weather update 2020-05-24 05:25:26 -04:00
Ben Whittaker 3e4ac82b90 weather: add semicolons, replace substr with match 2020-05-24 05:25:26 -04:00
Richard de Boer 319307cdd1 weather: Show Gadgetbridge weather reports
Based on http://forum.espruino.com/comments/15194626/, where
NebbishHacker did most of the actual work :-)
2020-04-21 23:18:21 +02:00