Commit Graph

47 Commits

Author SHA1 Message Date
streetturtle 0054af2de3 [weather] highlight widget when the popup is shown 2021-03-06 13:13:46 -05:00
streetturtle 565014c131 [weather] #234 fix
use white to negative and black for positive temperatures
for hourly forecast
2021-01-24 14:12:00 -05:00
streetturtle a24b5e167e Revert "[weather] hide popup on right click"
This reverts commit cf7cb73b
2020-12-26 14:54:19 -05:00
streetturtle cf7cb73b91 [weather] hide popup on right click 2020-12-26 14:44:36 -05:00
streetturtle d9eb3885ee trigger build action on a branch 2020-12-02 22:04:23 -05:00
streetturtle 8be78d4fdd fix few issues 2020-12-02 09:18:16 -05:00
streetturtle ea3c03835e [weather] remove print statement 2020-11-09 15:55:00 -05:00
streetturtle f00c2454f4 [weather] fix #176 - support negative temp 2020-10-19 23:16:28 -04:00
Chris Bruce a2eddcdfcd Add widget timeouts 2020-09-19 01:08:15 -07:00
NBKelly 7aa9550c26
Remove doubled temperature line
this line was doubled, but was barely noticable because (in my case, and the demo case) the text almost matched the background
2020-08-15 22:21:51 +12:00
Neville Li 28f6391227 adjust weather widget fonts 2020-07-26 11:52:16 -04:00
Sviatoslav Sydorenko c64243d23b
Special-case curl error 18 in widget too 2020-07-19 18:45:08 +02:00
Sviatoslav Sydorenko f507a2c43f
Special-case a curl connection timeout @ widget
This is a follow-up for #169.
2020-07-16 10:46:02 +02:00
streetturtle 3e189049e1 [weather-widget] remove trailing comma 2020-07-14 10:52:28 -04:00
streetturtle 3b7311a948
Merge pull request #169 from webknjaz/bugfixes/167-curl-err-52
🚨 Don't show a warning on faulty network
2020-07-14 10:34:57 -04:00
Sviatoslav Sydorenko 088a4694e8
🚨 Don't show a warning on faulty network
Ref #167
2020-07-14 10:00:20 +02:00
Sviatoslav Sydorenko a1ebd2af6c
Decrease weather update frequency to 2 minutes
Ref #167
2020-07-14 09:49:18 +02:00
streetturtle bcbde507eb [weather] fix #161 + redesign with breaking change 2020-07-12 17:36:28 -04:00
Aurélien LAJOIE 92e411da97 Display the notification on the current screen 2020-04-15 19:00:10 +02:00
Aurélien LAJOIE efc2131442 [weather] Add delay between retry
Having an error message every minute is painful, double time to 15 min.
Reset to 1min in case of success.
2020-02-07 21:11:29 +01:00
Pavel Makhov 7403bdb0f6 gerrit widget 2019-09-22 22:44:50 -04:00
Aurélien LAJOIE e154daa8b6 [Weather] Add option to set the position of the notification 2019-09-18 01:31:26 +02:00
Aurélien LAJOIE 59ce0053ac Catch error is the answer is not a valid json string
This was triggered by a public wifi pushing an html file to all request
2019-09-18 01:27:22 +02:00
blix4 7997625cdc fix after applying blix4's commit 2019-09-03 21:21:49 -04:00
Sviatoslav Sydorenko b41daeb9b2 Query weather with async timeouts
Fixes #81
2019-09-02 15:45:17 -04:00
Pavel Makhov 434cdae5e2 pr #84 2019-07-11 13:31:46 -04:00
streetturtle 7df447fb50 externalize config for weather widget 2019-05-03 21:46:49 -04:00
Aurélien LAJOIE f19362afdf [weather] Check if the response is not null before decoding it.
With network glitch you can have sometimes empty answer, this was
triggering an exception.
2019-02-20 14:36:41 +01:00
Pavel Makhov d198207ee2 Make temperature units customizable using the secrets.lua 2019-01-29 14:59:09 -05:00
Pavel Makhov ee396d7c5b add error handling to weather widget 2019-01-26 22:54:49 -05:00
Pavel Makhov 15e6d0fcd9 store api keys and client settings in secrets.lua 2019-01-25 22:26:16 -05:00
streetturtle 472d03be0e small refactoring 2018-10-08 11:48:48 -04:00
Sviatoslav Sydorenko c5181829f5
Reimplement wind direction detection properly
Fixes #39

Ref: https://www.campbellsci.eu/blog/convert-wind-directions
2018-03-27 18:46:58 +02:00
Sviatoslav Sydorenko 77b50a21e6
Take into account case with an unset wind degrees
Fixes exception, which happens when comparing nil to a number
2018-03-22 09:46:46 +01:00
Sviatoslav Sydorenko 2e12e47eb1
Beautify pop-up code style 2018-03-21 19:18:11 +01:00
Sviatoslav Sydorenko 1381ea5275
Access weather API via HTTPS 2018-03-21 19:17:56 +01:00
Sviatoslav Sydorenko 5a5c9eb8f0
Read city and api key from env first
Corresponding env vars are:
* AWW_WEATHER_CITY
* AWW_WEATHER_API_KEY
2018-03-21 19:16:43 +01:00
streetturtle 968d9ba784 few small changes 2018-01-20 23:17:25 -05:00
streetturtle 04ca3d56f4 few small changes 2018-01-20 23:16:38 -05:00
Roger Welsh 824af2b0ae Added wind direction to weather.lua 2018-01-14 13:41:54 +13:00
pmakhov 128aec5ef7 externalize api key 2017-12-04 11:56:21 -05:00
Pavel Makhov 10ffee904f Few small improvements for weather widget 2017-06-05 21:14:51 -04:00
streetturtle d2632b5c75 More details to popup message 2017-03-14 21:53:18 -04:00
Pavel Makhov 332075a603 Start timer 2017-03-03 13:33:27 -05:00
Pavel Makhov b6458cbe0c fix weather widget crash with no internet connection 2017-02-18 13:02:03 -05:00
Pavel Makhov b1a4270c4d fix typos in lua doc 2017-02-08 08:56:51 -05:00
streetturtle 1e540af00b weather widget 2017-02-07 20:31:34 -05:00