• 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 updated

Scheduled Pinned Locked Moved Utilities
56 Posts 15 Posters 24.1k 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.
  • M Offline
    MajorC Project Sponsor
    last edited by Aug 5, 2022, 1:15 PM

    I think, this will effect the MMM-Netatmo?

    Dear Netatmo developer,
    
    To improve the security of our products, we inform you that the Client Credentials grant type method will be completely removed. It will no longer be possible to authenticate with the username and password of the user.
    
    The effective date of this update is October 2022.
    
    How can you authenticate with Netatmo API ?
    From this date, the OAuth2 authorization code flow must be followed for authentication.
    
    You can find details on this method on our website:
    
    Netatmo Connect | Authentication
    For tests, you can also get an Access Token from our developper portal.
    
    Netatmo Developer Portal
    
    Log in
    Go on your account
    Select the application for your test
    Click on "Generate a Token"
    
    You can now use this Access Token for 3 hours.
    
    1 Reply Last reply Reply Quote 0
    • L Offline
      Laz
      last edited by Sep 27, 2022, 8:09 AM

      Good afternoon! I am from Russia, so the translator works.
      I set up the CFenner author’s Netatmo module. Created an application on the Netatmo website and received an ID and key.
      Everything works, but the author does not have English everywhere.
      I liked your module more.
      I tried to set it up. Unfortunately, I could not get the token through the cURL command line (I inserted my login, password, ID and key into the line. But an error is issued. Then I made a token on the application page. I inserted it into your module, but unfortunately the module does not show anything… ((I have the names of the sensors in the station settings in Russian. I entered them in config.js.

      L 1 Reply Last reply Jul 17, 2023, 8:36 AM Reply Quote -1
      • L Offline
        Laz @Laz
        last edited by Jul 17, 2023, 8:36 AM

        @Laz The module CFenner stopped working, apparently the problem is authorization (Netatmo developers have changed the method of authorization). How to log in now?

        K 1 Reply Last reply Jul 28, 2023, 6:56 AM Reply Quote 0
        • K Online
          kasperinline @Laz
          last edited by Jul 28, 2023, 6:56 AM

          @Laz

          Did you find a solution?

          I’ve got the same problem :-(

          T 1 Reply Last reply Jul 28, 2023, 3:06 PM Reply Quote 0
          • T Offline
            Tribun @kasperinline
            last edited by Jul 28, 2023, 3:06 PM

            @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 Aug 2, 2023, 7:55 AM Reply Quote 0
            • L Offline
              Laz @Tribun
              last edited by Aug 2, 2023, 7:55 AM

              @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 Aug 4, 2023, 11:11 AM Reply Quote 0
              • T Offline
                Tribun @Laz
                last edited by Aug 4, 2023, 11:11 AM

                @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 Aug 5, 2023, 9:06 AM Reply Quote 0
                • L Offline
                  Laz @Tribun
                  last edited by Aug 5, 2023, 9:06 AM

                  @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 Aug 7, 2023, 5:30 AM Reply Quote 0
                  • T Offline
                    Tribun @Laz
                    last edited by Aug 7, 2023, 5:30 AM

                    @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 Aug 8, 2023, 9:18 AM Reply Quote 0
                    • L Offline
                      Laz @Tribun
                      last edited by Aug 8, 2023, 9:18 AM

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

                      M 1 Reply Last reply Sep 10, 2023, 6:00 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 4 / 6
                      • 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