diff --git a/README.md b/README.md index 464c0bf..3068e98 100644 --- a/README.md +++ b/README.md @@ -271,9 +271,9 @@ credentials and tick `Enable resending data to Windy` again. - You are done. -As with Windy, three unexpected responses in a row switch resending off automatically and -log the reason. The `Forwarding to Počasí Meteo` and `Forwarding status to Počasí Meteo` -diagnostic sensors show the current state. +As with Windy, three unexpected responses in a row switch resending off automatically, log +the reason and raise a persistent notification. The `Forwarding to Počasí Meteo` and +`Forwarding status to Počasí Meteo` diagnostic sensors show the current state. ## WSLink notes diff --git a/custom_components/sws12500/const.py b/custom_components/sws12500/const.py index 0ad3ca3..6534788 100644 --- a/custom_components/sws12500/const.py +++ b/custom_components/sws12500/const.py @@ -177,7 +177,9 @@ WINDY_URL = "https://stations.windy.com/api/v2/observation/update" POCASI_CZ_URL: Final = "http://ms.pocasimeteo.cz" POCASI_CZ_SEND_MINIMUM: Final = 12 # minimal time to resend data -POCASI_CZ_MAX_RETRIES: Final = 3 # failed sends in a row before resending is disabled +# Failed sends in a row before resending is disabled. Timeouts are excluded on purpose - +# a slow upstream is transient, see the TimeoutError branch in `PocasiPush`. +POCASI_CZ_MAX_RETRIES: Final = 3 # Pocasi Meteo accepts Ecowitt only as a POST in the Ecowitt protocol itself - the # station payload is forwarded verbatim rather than translated to PWS. Per their