Commit Graph

63 Commits

Author SHA1 Message Date
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 5707de8be0
Update README.md 2020-10-20 09:40:04 -04:00
streetturtle 51b3b769ca
Update README.md 2020-10-20 09:39:48 -04:00
streetturtle 8cfa3db82f
Update README.md 2020-10-20 09:37:44 -04:00
streetturtle 004e847b5b
Update README.md 2020-10-20 09:33:28 -04:00
streetturtle e2c3c56275
Update README.md 2020-10-20 09:22:52 -04:00
streetturtle 7b5251e98f
Update README.md 2020-10-20 09:11:30 -04:00
streetturtle 445b5e6114
[weather] update readme 2020-10-19 23:17:36 -04:00
streetturtle f00c2454f4 [weather] fix #176 - support negative temp 2020-10-19 23:16:28 -04:00
Chris Bruce 21150bd640 Update readmes to include timeout arg 2020-09-19 01:22:27 -07:00
Chris Bruce a2eddcdfcd Add widget timeouts 2020-09-19 01:08:15 -07:00
streetturtle b3a5bd4c38
Update README.md 2020-08-22 21:11:13 -04:00
streetturtle 57ba8050b7
Update README.md 2020-08-15 20:19:17 -04: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 72b4a2d4ca
Update README.md 2020-07-13 14:20:20 -04: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 cb394af13a update readme of weather widget 2019-05-04 21:03:13 -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
streetturtle 86ab5aea40
Update README.md 2019-01-29 15:55:56 -05:00
streetturtle 19452f0d53
Update README.md 2019-01-29 15:55:30 -05:00
streetturtle 94fdab6292
Update README.md 2019-01-29 15:47:27 -05:00
Pavel Makhov d198207ee2 Make temperature units customizable using the secrets.lua 2019-01-29 14:59:09 -05:00
streetturtle d767e3b8de
Update README.md 2019-01-26 23:00:31 -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