Read the statement by Michael Teeuw here.
my Netatmo weather module has not been working
-
Hello everyone, my Netatmo weather module has not been working for about 2 weeks. MM and module are updated, meanwhile I have the feeling that netatmo has changed something in their api.
Does anyone else have the same problem?
I use this module:
https://github.com/RaymondMolenaar/MMM-NetatmoDanke Google für die Übersetzung :-)
-
@sil3ntstorm Yeah, Netatmo have changed the refresh token and access token mechanism.
This is the solution:- Disable or delete your current app with clientID, client secret, refresh token, etc. and create a new app.
- There you’ll receive a new clientID and client secret, which you insert in config.js
- In the section “Token Generator” you select the scope
read_station
and click on “generate token”.
4. Then you should receive a new access token and refresh token
5. Enter the new refresh token in config.js
6. And now the special “trick”: add the attribute accessToken in the module configuration, like that:accessToken: "xxxxxxxxxxxxxx|yyyyyyyyyyyyyyyy",
Netatmo requires now a valid accessToken during authentication.
Save the config.js and restart the mirror. Everything should work now.
-
@Fozi oh dear god, that was the solution. Thank you very much. it works now
-
@sil3ntstorm you’re welcome!
-
@Fozi MANY THANKS!!!