update weewx-netatmo-update post
This commit is contained in:
parent
bb6cb2167a
commit
8c14ebc5da
1 changed files with 3 additions and 5 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue