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-NetatmoThermostat
module (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