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 updated

    Scheduled Pinned Locked Moved Utilities
    56 Posts 15 Posters 37.0k Views 16 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.
    • K Offline
      kasperinline @Laz
      last edited by

      @Laz

      Did you find a solution?

      I’ve got the same problem :-(

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

        @kasperinline Have you tried to create new credentials via the Netatmo web portal?
        https://dev.netatmo.com/ I am using a fork of this module and have clientId,
        clientSecret, accessToken, new
        created. With this, the query of the Netatmo data works again.

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Laz @Tribun
          last edited by

          @Tribun
          Are you using a module from CFenner?
          There is no accessToken input in this module. Only clientId and clientSecret are entered.
          Have you made regenerate your client id and client secret in your application on the Netatmo website?
          And entered new data into the module settings and everything worked?

          (In addition to the problem with authorization in the Netatmo module in the Magic mirror, I have the same problem with authorization in the RainMachine auto-watering device. There, too, the login\password and client id and client secret are entered. Creating a new application on the Netatmo website and entering new data in the RainMachine settings did not help with authorization…)

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

            @Laz Sorry, I got the module wrong, I used RaymondMolenaar’s module. There it was enough to recreate the module data on the Netatmo developer homepage and to exchange the data in config.js. A few months ago I recreated the access data because the module was no longer working properly, something was probably wrong with the API at the time Netatmo changed.
            I have the new data "clientId: "
            "clientSecret: "
            “refreshToken:”
            “accessToken:”
            inserted into the config and the module works again.

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              Laz @Tribun
              last edited by

              @Tribun
              Thank you
              Did you create an app on the https://dev.netatmo.com/apps/ website?

              I tried to put the RaymondMolenaar module once.

              Here above (September 27, 2022) I wrote about my problem…

              How did you get token ?

              On the Netatmo application page, it is not clear which token should be used… ((Screenshot_19.png

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

                @Laz
                At choose scopes: select “read station” and press generate token, you will get the “refreshToken:” and
                “accessToken:”

                Enter all newly created values ​​in config.js after that it should work again.

                Netatmo.jpg

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  Laz @Tribun
                  last edited by

                  @Tribun
                  4c8acc81-26a7-4781-8202-4be9a9d853aa-image.png

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mitch_66 @Laz
                    last edited by

                    Hi All, thanks for the support provided in this forum here. Awesome!

                    I’m following all what is said here: got “refreshToken”, “accessToken” via the Netatmo page, entered it in the config.js exactly as stated here. Nevertheless, the module won’t show up on the mirror - just a small circle beneath the header.

                    Am I missing “something”, a specific setting for the mirror? The RBpi is not publicly accessible from the internet, no web hook URI, no direct URI configured.

                    Any help appreciated! The Netatmo module is the feature why we have the MM2!

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mitch_66 @Mitch_66
                      last edited by

                      @Mitch_66 I found the solution to my problem: once I inserted the moduleOrder parameter, the module showed up. As it isn’t marked as “required”, I didn’t put it in the first place.

                      Maybe helps somebody having the same issue

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        Laz @Mitch_66
                        last edited by

                        @Mitch_66
                        Good afternoon!
                        Please show your config in this module. I also prescribed this parameter, but my Netatmo module does not appear… (((

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mitch_66 @Laz
                          last edited by

                          @Laz
                          Will do but you’ll need to wait a bit. Currently far away from home, back in a week

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            Mitch_66 @Mitch_66
                            last edited by

                            @Laz
                            Here’s my config that works. The name for the rooms in Netatmo are as specified in the Netatmo App. It’s a quite ‘old’ Netatmo module, talking about 8 years or so hence for sure not the latest hardware.

                                        {
                                                module: 'MMM-Netatmo',
                                                disabled: false,
                                                position: 'bottom_bar', // the location where the module should be displayed
                                                header: 'Netatmo',
                                                config: {
                                                        clientId: 'clientID', // your app id
                                                        clientSecret: 'clientSecret', // your app secret
                                                        refreshToken: 'refresh|token', // your generated refresh token
                                                        accessToken: 'access|token',
                                                        location: "germany/badenwurttemberg/stuttgart-arnulf-klett-platz",  //for AirQuality
                                                        updateIntervalAirQuality: 300, // in secondes = every 30 minutes
                                                        updatesIntervalDisplay: 60, //refresh internal
                                                        lastMessageThreshold: 600, // in seconds (10 minutes)
                                                        horizontal: true,
                                                        horizontalOverflow: false,
                                                        windUnit: "KMH",
                                                        showLastMessage: true,
                                                        showDataIcon: true,
                                                        showDataHeader: true,
                                                        showModuleStatus: true,
                                                        showModuleFirmware: true,
                                                        refreshInterval: 3,
                                                        moduleOrder: ["Wohnzimmer", "Schlafzimmer", "Terrasse" ],
                                                }
                                        },
                            
                            L 2 Replies Last reply Reply Quote 0
                            • L Offline
                              Laz @Mitch_66
                              last edited by

                              @Mitch_66
                              Thank you!
                              I’ll try to check. Unfortunately, I have already left the city where my MM is standing. I will try through VNC access.

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                Laz @Mitch_66
                                last edited by

                                @Mitch_66
                                Good afternoon!
                                Do you use what module of Netatmo of the author?
                                I use the module from CFenner
                                In July the module ceased to become authorized. In August the author finished it, but after completion (some files were replaced), at restart of a mirror all modules ceased to be started. If to rename the folder of the module of Netatmo, then other modules are started.

                                I tried to return the kept folder of the module of their archive, with the old version of this module all other modules are started. Except the module of Netatmo. I tried also your config (with my data), but all the same the module isn’t started… (((

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Mitch_66 @Laz
                                  last edited by

                                  @Laz
                                  Nope, using this one: https://github.com/RaymondMolenaar/MMM-Netatmo/blob/master/README.md

                                  Couldn‘t make the Renner module work again. Good luck!

                                  L 1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    Laz @Mitch_66
                                    last edited by

                                    @Mitch_66 said in MMM-Netatmo updated:

                                    @Laz

                                    Couldn‘t make the Renner module work again. Good luck!

                                    And what is this “Rener module”?

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      Mitch_66 @Laz
                                      last edited by

                                      @Laz Auto-correction at work - the CFenner module

                                      L 1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        Laz @Mitch_66
                                        last edited by

                                        @Mitch_66
                                        Unfortunately, I did not understand your answer… (
                                        What does “autocorrection” mean…?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @Laz
                                          last edited by sdetweil

                                          @Laz phone auto correction, changing the text you type to what it thinks is the right word

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          L 1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            Laz @sdetweil
                                            last edited by

                                            @sdetweil
                                            Thank you ))
                                            When I sent the message, I already understood))
                                            But you can only delete it when it is published… (

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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