Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    SOLVED Netatmo module

    Troubleshooting
    5
    10
    4865
    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.
    • zdenek
      zdenek last edited by

      Hi all
      I´m newbie, I´m trying to get running Netatmo module. What I´ve did:

      • installed latest Magic Mirror
      • installed latest upates and upgrades
      • customized default modules
        Until now everything OK

      followed https://github.com/CFenner/MagicMirror-Netatmo-Module

      • get from github
      • registered new app on Netatmi API, get ClientID and Client secret
      • sent POST request to Hurl.it, got valid response with “access_token” and “refresh_token”
      • CTRL+C & CTRL+V entered Module section to .js including ID, Secret and Refresh_token

      After run Magic mirror I´ve got black screen with yellow sign in top-right corner.

      any idea, what´s wrong? or how to verify, settings?

      thanks for help
      Zdenek

      1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator last edited by

        I know the readme does not state it, but usually a black screen after installing a new module means dependencies are missing.

        Please open a terminal

        cd ~/MagicMirror/modules/MagicMirror-Netatmo-Module
        npm install
        

        Then try to re run your magic mirror.

        1 Reply Last reply Reply Quote 0
        • zdenek
          zdenek last edited by

          I did, thanks. In my case the path is different
          cd ~/MagicMirror/netatmo

          the command took about a 2 mins, I did restart Raspberry, run Magic - still the same. There is no error during starting Magic, last row is Launching application

          disabling module in configure.js (by //) make Magic working properly

          BR, Zdenek

          strawberry 3.141 1 Reply Last reply Reply Quote 0
          • strawberry 3.141
            strawberry 3.141 Project Sponsor Module Developer @zdenek last edited by

            @zdenek you have to install modules in the path ~/MagicMirror/modules as yawns mentioned, otherwise the system cant find the module

            zdenek 1 Reply Last reply Reply Quote 0
            • yawns
              yawns Moderator last edited by yawns

              Yes, my mistake, folder netatmo is correct, but it needs to be in modules

              Could you please start your mirror with npm start dev, open the console in your browser by pressing F12 and check for any errors there?

              1 Reply Last reply Reply Quote 0
              • zdenek
                zdenek @strawberry 3.141 last edited by zdenek

                @strawberry-3.141 seems to be right. By running @yawns command I can see that there is row src=“modules/netatmo//netatmo.js”
                with error 404

                may I simply copy/paste to modules folder? Or have tu run again from github? and the command will be:
                git clone https://github.com/CFenner/MagicMirror-Netatmo-Module.git modules/netatmo
                ?
                Zdenek

                P.S.: simple copy/paste works. Thanks guys

                1 Reply Last reply Reply Quote 0
                • K
                  Kai-Christoph last edited by Kai-Christoph

                  @zdenek

                  Hi Zdenek,
                  I just installed the Netatmo-Module, but I can’t get the “refresh_token” vial Hurl-it.
                  I always get an “400 Bad Request”.

                  Where ist the trick?

                  Maybe it’s because I don’t know what the “gant_type” “password” is supposed to be?

                  Thank you for your help.
                  KC

                  zdenek 1 Reply Last reply Reply Quote 0
                  • zdenek
                    zdenek @Kai-Christoph last edited by

                    @Kai-Christoph To be honest, I´m newbie. I just followed the instructions. 1st - registered app and get appID and appSecret. Than insert URL to Hurl-It and add all mentioned parameters.
                    “gant_type” - it´s I guess typo - should be ““grant_type””
                    And it´s not a variable. The name of the parameter is ““grant_type”” and the Value is “password” - I guess, it´s a definition, that authentication will be done via username+password (probably there are other way - certificate? PIN? don´t know)

                    BR, Zdeněk

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Kai-Christoph @zdenek last edited by

                      @zdenek Hihihihihi! The missing “r” was the key! Thanks for your hint!

                      Cheers
                      KC

                      1 Reply Last reply Reply Quote 0
                      • I
                        Isid0r last edited by Isid0r

                        Sorry for late Reply on this old Thread, buuuut…

                        I got everything installed very quick and get it started. But its loading and loading and loading…i dont get any Information from my Netatmo Station…i started it also with “dev” and got no errors or anything else…

                        What i’ve done wrong?
                        Refresh Token? I used the Login credentials from my dev account, maybe thats my mistake?

                        Thanks for your help

                        PS: How to use moduleOrder? I dont know how to use/insert into config 😉 (Newbie)

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy