Yesterday I have received the mail below from Netatmo.
Is the refresh token already in use for the Netatmo integration in HA?
Many thanks for the feedback.
Kind regards,
Robin
Dear Netatmo developer,
As of today, when you refresh an Access Token using the associated endpoint https://api.netatmo.com/oauth2/token, Netatmo servers respond with a couple of tokens : an Access Token and a Refresh Token.
If the previous Access Token is still valid, the newly returned access token is identical but its expiration time is extended for 3 hours.
In any case, the refresh token is not renewed. Starting from the 17/04/2023, this behavior will change to to be compliant with the recommendations of the [RFC of the OAuth2 Authorization Framework] (section 10.4) and improving the security of the data of our users.
When refreshing tokens, Access Token and Refresh Token will be automatically renewed and former tokens invalidated. What does it means for me ?
If you were already updating the tokens provided when refreshing your tokens, this change will not impact you.
If you do not update the refresh token when refreshing your Access Token, your users will be disconnected after 3 hours as the former tokens will become invalidated.
To fix it, you need to update the tokens as soon as you get the newly generated ones.
Sincerely,
Hi, I got the same mail form Netatmo.
As far as I understand the integration needs to be changed. @cgtobi is the guy who is maintaining the Netatmo integration.
Maybe he knows exactly what to do.
Same here, but my existing integration also failed to get data from Netatmo, so I tried to re-add it and got the same message. Issue stated late on 17 of April for me.
i join the club - my two HA instances both stopped working. One few days ago and the second one now.
On both I cannot get the integration back with the exact same message
The netatmo service didn’t reply in time with a token. They might have problems at the moment. Please try again later.
Hello, I had same pb yesterday morning after upgrade of Core version to 2023.4.6.
I tried many times to integrate again Netatmo without success, and this afternoon integration was OK, but in fact it is partially working : weather station, indoor air quality and thermostat are OK, but radiator valve are unavailable…
Same problem here, uninstalled and reinstalled the integration made things worse.
Reverted back to back-up, but it never came back.
A solution would be highly appreciated.