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.

    Netatmo - no connection

    Scheduled Pinned Locked Moved Troubleshooting
    15 Posts 8 Posters 3.9k Views 9 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
      sdetweil @texttoolong
      last edited by

      @texttoolong open the developers window ctrl-shift-i and select the console tab and scroll up to see any errors, usually red text.

      also look at the messages in the console where u started mm.
      pm2 logs --lines=50
      or the window where u issued.
      npm start
      (to minimize mm, alt-spacebar, n. just like for windows)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        m-a-r-z-e-l
        last edited by

        Thanks for your help!

        I had a look in the logs which were inconspicuous. But when I had a look in the console I found the following:

        :8080/modules/netatmo/q.min.js:1 Uncaught TypeError: Cannot read property ‘dashboard_data’ of undefined
        at Class.renderAll (:8080/modules/netatmo//netatmo.js:106)
        at e (:8080/modules/netatmo/q.min.js:1)
        at :8080/modules/netatmo/q.min.js:1
        at o.d.promiseDispatch (:8080/modules/netatmo/q.min.js:1)
        at :8080/modules/netatmo/q.min.js:1
        at b (:8080/modules/netatmo/q.min.js:1)
        at a (:8080/modules/netatmo/q.min.js:1)
        at s (nunjucks.min.js:4)
        at o (nunjucks.min.js:4)
        at n (nunjucks.min.js:4)

        I have no idea what’s going on…

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @m-a-r-z-e-l
          last edited by

          @m-a-r-z-e-l said in Netatmo - no connection:

          :8080/modules/netatmo/q.min.js:1 Uncaught TypeError: Cannot read property ‘dashboard_data’ of undefined

          looks like the data either wasn’t received, or has changed format.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            PetterT
            last edited by

            Does anyone have any news on this? It seems as if the data structure in the Netatmo API has changed, making the current MM2-modules unusable? Or is it just problems on my end?

            Thanks.

            FoziF 1 Reply Last reply Reply Quote 0
            • FoziF Offline
              Fozi Project Sponsor @PetterT
              last edited by

              @PetterT I had those connection issues, too. But recently I switched to a new fork, which works great and displays the information just as I always wanted. Here is the link

              HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                PetterT @Fozi
                last edited by

                @Fozi I am using that exact same fork - but without luck unfortunately. Are you using the module, and can you confirm that it works for you currently?

                FoziF 1 Reply Last reply Reply Quote 0
                • FoziF Offline
                  Fozi Project Sponsor @PetterT
                  last edited by

                  @PetterT yes, it woks.

                  HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    PetterT @Fozi
                    last edited by

                    @Fozi Sorry for being late to follow up. My error is as follows:
                    When I start up MM2, it shows that the module is loading. A spinning cycle shows in the middle of the screen. However, no graphics are shown - just the spinning cycle icon. I have double and triple checked the config.js file, and all seems correct there. No errors show up in the logs on the npm or in my web browser.

                    Any idea what could be wrong?

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Tribun
                      last edited by

                      @PetterT
                      If you only have a spinning circle in the middle, something is wrong with your login details. It may be that one of the values ​​is incorrect: clientId, clientSecret or refreshToken. No error is displayed in the logs if the login did not work. I changed the registration data and was able to reproduce your mistake. If the data is correct, the module works fine for me.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        edgeball
                        last edited by

                        I’ve been having the same issue and it’s driving me n*ts. It works but only with 1 netatmo module. Only the base station. But whenever I try to add another one (moduleOrder: []) the spinning circle shows up.

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