MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Netatmo does not load

    Scheduled Pinned Locked Moved Utilities
    33 Posts 13 Posters 11.4k Views 14 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      Laz @CFenner
      last edited by

      @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?

      1 Reply Last reply Reply Quote 0
      • LusbuebL Offline
        Lusbueb @tommys
        last edited by Lusbueb

        @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

        1 Reply Last reply Reply Quote 1
        • S Offline
          sil3ntstorm
          last edited by

          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?

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            anton2023 @sil3ntstorm
            last edited by

            @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…

            ? 1 Reply Last reply Reply Quote 0
            • S Offline
              schrecki
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @anton2023
                last edited by

                @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

                1. don’t touch the configuration and
                2. deactivate automatic shut down/restart every night

                Best regards,

                Nico

                CFennerC 1 Reply Last reply Reply Quote 0
                • CFennerC Offline
                  CFenner @Guest
                  last edited by

                  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.

                  ? 1 Reply Last reply Reply Quote 2
                  • ? Offline
                    A Former User @CFenner
                    last edited by

                    @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!

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      iks82
                      last edited by

                      Maybe this helps?
                      https://forum.magicmirror.builders/post/118234

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @iks82
                        last edited by A Former User

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy