Read the statement by Michael Teeuw here.
MMM-Netatmo does not load
-
Hello together, same issue here. I’m using the RaymondMolenaar Fork, but the issue is the same.
The generated refresh-token only works once. I can see the data, but after a refresh only the loading circle. -
@anton2023 it’s not only after reboot, but after each reload of the mirror itself e.g. after changing and saving config.js.
Workaround, until this gets fixed, would be
- don’t touch the configuration and
- deactivate automatic shut down/restart every night
Best regards,
Nico
-
Sounds like the refresh token lifetime got reduced.
Probably the module should only take credentials and get the token itself. Unfortunately, I currently don’t have the time to look into it. -
@CFenner, sure that it depends on lifetime? The issue occurs within seconds when i change my config and the mirror restarts it’s modules. In that case it would be a one-time-token, the name “refresh-token” would no longer do justice to the matter. :-D
That you don’t have time at the moment is no problem to me at all, as I’m not shuting down the Pi at night. Measured by max. 5 watt consumption and 24/7 use at an electricity price of about 30 cents, that’s ~€13 per year. I think this discussion has certainly been had elsewhere in this forum, so I won’t go into too much depth. This decision is up to each individual. Would just be great to have it fixed at some time, generating a new refresh-token at Netatmo developer portal every time I change the config is just a matter of 1 minute and 5 clicks, but a bit annoying over the time. ;-)
Anyway, thanks for your great work on this module!
-
Maybe this helps?
https://forum.magicmirror.builders/post/118234 -
@iks82 said in MMM-Netatmo does not load:
Maybe this helps?
https://forum.magicmirror.builders/post/118234@CFenner: This should indeed solve the problem. I have to revise my last answer. The module does not work as desgined although you keep the configuration untouched. It shows the values it gets from the initial start-up but never changes them. So I have the same values shown since last reboot of my mirror. Opening the mirror on another PC within the network via browser, it’s showing “Loading …”.
Unfortunately, this is not something I can solve with my knowledge, apparently the module has to be rewritten for this. I hope you can find some time for this at some point.
Thanks @iks82 for referring.