diff --git a/content/posts/2023-07-15-update-weewx-netatmo-extension/index.md b/content/posts/2023-07-15-update-weewx-netatmo-extension/index.md index 87ee55e..dc52f86 100644 --- a/content/posts/2023-07-15-update-weewx-netatmo-extension/index.md +++ b/content/posts/2023-07-15-update-weewx-netatmo-extension/index.md @@ -3,7 +3,7 @@ title = 'Update weewx-netatmo extension' summary = 'Upgrade the authentication method from _password_ to _preauthenticated refresh_token_' date = '2023-07-15T17:02:10+02:00' -# lastmod = '' +lastmod = '2023-07-21T19:57:47+0000' categories = [ 'amateur-radio' ] tags = [ 'wx', 'weewx', 'netatmo', 'server', 'selfhost' ] @@ -53,8 +53,6 @@ The configuration should look like this now: ```toml [netatmo] - username = email@address.com - password = **** client_id = ************************ client_secret = *************************** refresh_token = ************************|******************************** @@ -62,8 +60,8 @@ The configuration should look like this now: mode = cloud ``` -I basically left it the same as before, but I had to manually add the `refresh_token` -line to the configuration. +I removed the username and password variables but added the `refresh_token` manually +because the configuration was not properly written by `wee_config --reconfigure`. A restart of WeeWX should fetch the data again.