update weewx-netatmo-update post

main
Dominic Reich 1 year ago
parent bb6cb2167a
commit 8c14ebc5da
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

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

Loading…
Cancel
Save