Read the statement by Michael Teeuw here.
mmm-netatmo
-
Re: MMM-Netatmo does not load
same issue here, it seems to loose the refresh token each day:
i have to re create a refresh token , and copy it to the config, js, the module works.
the following morning after the pi shutdown, the module isn,t working, need to re create a refresh token for it works… -
@anton2023 Can you please explain
@anton2023 said in mmm-netatmo:
following morning after the pi shutdown
Are you switching off the PI completely? have you tried running the PI through the evening?
If I read the code correctly, it fetches the new token after the refresh interval. But if the PI was shutdown, it requires a valid token to start working again. If the PI is not shutdown, the module should run fine, fetching the new token if the old one has expired as it would do throughout the day.
-
yes i turn off the pi during the night
so when is the refresh interval?
thx for your answer
-
@anton2023 the doc for the module shows

-
i thought the refresh interval was only for temperature, pressure… update,
not also for the tokenso for the module works the pi have to be on all the time which is seem odd to me
-
Hi, I just fix it in my
MMM-NetatmoThermostatmodule (same API … so same Issue)
See thereAuthor of this module have to do some changes
My Change in GitHub, if can help it -
Hi,
I have the same problem with mmm netatmo and refresh token
Did you find a solution?
Thank you
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login