• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 8.2k 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.
  • A Offline
    anton2023 @sil3ntstorm
    last edited by Jun 6, 2024, 11:53 AM

    @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 Jun 9, 2024, 10:32 AM Reply Quote 0
    • S Offline
      schrecki
      last edited by Jun 7, 2024, 8:15 AM

      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 Jun 9, 2024, 10:32 AM

        @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

        C 1 Reply Last reply Jun 9, 2024, 10:43 AM Reply Quote 0
        • C Offline
          CFenner @Guest
          last edited by Jun 9, 2024, 10:43 AM

          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 Jun 9, 2024, 2:38 PM Reply Quote 2
          • ? Offline
            A Former User @CFenner
            last edited by Jun 9, 2024, 2:38 PM

            @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 Jun 13, 2024, 12:11 PM

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

              ? 1 Reply Last reply Jun 16, 2024, 7:31 AM Reply Quote 0
              • ? Offline
                A Former User @iks82
                last edited by A Former User Jun 16, 2024, 7:32 AM Jun 16, 2024, 7:31 AM

                @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
                • P Offline
                  princemaxwell
                  last edited by Jan 3, 2025, 3:56 AM

                  I updated my old MMM-Netatmo module to the new version after i had trouble with the refresh_token, which is renewed by the netatmo API every time you fetch it.

                  I am now using the module by @CFenner and it works fine now. Thank you for this great module!

                  I just made some changes in custom.css to create a alternative look.

                  netatmo.png

                  S 1 Reply Last reply Jan 3, 2025, 4:09 AM Reply Quote 1
                  • S Offline
                    sdetweil @princemaxwell
                    last edited by Jan 3, 2025, 4:09 AM

                    @princemaxwell best place to report trouble is in the module github page. most authors don’t hang out here .

                    will need more info than it doesn’t load

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    P 1 Reply Last reply Jan 3, 2025, 6:05 PM Reply Quote 0
                    • P Offline
                      princemaxwell @sdetweil
                      last edited by Jan 3, 2025, 6:05 PM

                      @sdetweil

                      No no, my module is working fine.

                      Just wanted to let you know that it works because some users have previously reported issues.

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 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