diff --git a/content/posts/2023/47-update-weewx-netatmo-extension/index.md b/content/posts/2023/47-update-weewx-netatmo-extension/index.md index ccc5ef9..f253421 100644 --- a/content/posts/2023/47-update-weewx-netatmo-extension/index.md +++ b/content/posts/2023/47-update-weewx-netatmo-extension/index.md @@ -3,7 +3,7 @@ title = 'Update weewx-netatmo extension' aliases = '/posts/2023-07-15-update-weewx-netatmo-extension' summary = 'Upgrade the authentication method from *password* to *preauthenticated refresh_token*' date = '2023-07-15T17:02:10+02:00' -lastmod = '2023-11-18T21:58:00+0000' +lastmod = '2023-12-10T16:34:13+0000' categories = [ 'amateur-radio' ] tags = [ 'wx', 'weewx', 'netatmo', 'server', 'selfhost' ] @@ -69,6 +69,23 @@ A restart of WeeWX should fetch the data again. $ doas rcctl restart weewx ``` +## Random failure on authentication to netatmo server + +It sometimes happens at my server that I only get a 400 response: + +~~~plain +weewxd: netatmo: netatmo-client: failed attempt 1 of 5 to get data: HTTP Error 400: +weewxd: netatmo: netatmo-client: failed attempt 2 of 5 to get data: HTTP Error 400: +weewxd: netatmo: netatmo-client: failed attempt 3 of 5 to get data: HTTP Error 400: +weewxd: netatmo: netatmo-client: failed attempt 4 of 5 to get data: HTTP Error 400: +weewxd: netatmo: netatmo-client: failed attempt 5 of 5 to get data: HTTP Error 400: +weewxd: netatmo: netatmo-client: failed to get data after 5 attempts +~~~ + +![showing the menu](update-refresh-token.png "`read_station` is all you need") + +I don't have found a solution for this yet... + ## Problems on a Raspberry Pi? I'm not sure about the cause of this behaviour, but **Andreas DG0LFL** reported, that his