Read the statement by Michael Teeuw here.
MMM-Netatmo does not load
-
@CFenner Good afternoon! I am still waiting for the decision to recalculate in mm Hg.
And tell me how to fix the wrong display of the wind direction? -
@tommys in history the moduleOrder was like this:
moduleOrder: ["Outdoor", "Regen", "Wind", "Schlafzimmer", "Wohnzimmer"]
but in newer versions the code has a new variable called showStationName and as default it is set to true. Now set this to false or expand the moduleOrder like this StationName - Module
moduleOrder: ["im Fritz - Outdoor","im Fritz - Regen","im Fritz - Schlafzimmer","im Fritz - Wohnzimmer"]
this solved my Problem Netatmo load without errors but shows nothing (blank screen)
good luck, Peter
-
Since yesterday it hasn’t been displayed on my mirror anymore, you can only see module name Netatmo loading…
I also did the module update, the problem still exists. Has anything been adjusted that I also have to change in the config so that it is displayed again? -
@sil3ntstorm
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… -
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.