Closed pskowronek closed 9 months ago
Fix pushed
Reverting version 0.2.0 of meteoalertapi due to: https://github.com/rolfberkenbosch/meteoalert-api/issues/32
Request :timeout doesn't work for name resolution: https://github.com/psf/requests/issues/4790 :/
Don't want to add more advanced things like function timeouts (see), I will just update readme.md with workaround how to set system-wide settings for name resolver timeout.
Added SIGABRT handler to display shutdown icon to let ppl know that displayed time is not relevant
Due to how data from providers are being fetched it may happen when there's no internet connection that EPaper service will be killed by watchdog and wrong time will be displayed constantly on display.
Quick workaround is to add time outs (2s for connection, 4s for read) + newer version of
meteoalertapi
.Ideally it would be nice to: