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.5k 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.
    • S Offline
      sil3ntstorm @CFenner
      last edited by sil3ntstorm

      @CFenner

      Thanks, it seems to be working now, but I can’t find this setting so that the rooms are displayed one below the other. These are displayed one below the other, even if I enter false for horizontal:

      1c6f6fd4-40b2-4a5e-b109-4969f9394ba4-grafik.png

      {
      
        module: 'netatmo',
      
        position: 'bottom_left', // the location where the module should be displayed
      
        header: 'Netatmo', // a header if you like one
      
        config: {
      
          clientId: 'secret123', // your app id
      
          clientSecret: 'secret123', // your app secret
      
          refresh_token: 'secret123', // your generated refresh token   
      
          refreshInterval: '3',  
      
          dataOrder: ["Noise","Pressure","CO2","Humidity","Temperature","Rain"],
      
          design: 'bubbles',
      
          horizontal: 'true',
      
          showBattery: 'true',
      
          showWiFi: 'true',   
      
          showTrend: 'true',
      
          showMeasurementIcon: 'true',
      
          showStationName: 'true',
      
          showModuleNameOnTop: 'false',
      
          fontClassModuleName: 'xsmall',
      
          fontClassPrimary: 'xsmall',
      
          fontClassSecondary: 'xsmall',
      
          fontClassMeasurement: 'xsmall',
      
          thresholdCO2Average: '1200',
      
          thresholdCO2Bad: '1800',
      
       
        }
      
      },
      
      
      L 1 Reply Last reply Reply Quote 0
      • L Offline
        Laz @sil3ntstorm
        last edited by

        @sil3ntstorm

        Screenshot_42.png Screenshot_41.png

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • 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
                        • 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