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

my Netatmo weather module has not been working

Scheduled Pinned Locked Moved Solved Troubleshooting
5 Posts 3 Posters 1.1k Views 3 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
    last edited by Apr 25, 2023, 1:48 PM

    Hello everyone, my Netatmo weather module has not been working for about 2 weeks. MM and module are updated, meanwhile I have the feeling that netatmo has changed something in their api.
    Does anyone else have the same problem?
    I use this module:
    https://github.com/RaymondMolenaar/MMM-Netatmo

    Danke Google für die Übersetzung :-)

    F 1 Reply Last reply Apr 25, 2023, 2:20 PM Reply Quote 0
    • F Offline
      Fozi Project Sponsor @sil3ntstorm
      last edited by Apr 25, 2023, 2:20 PM

      @sil3ntstorm Yeah, Netatmo have changed the refresh token and access token mechanism.
      This is the solution:

      1. Disable or delete your current app with clientID, client secret, refresh token, etc. and create a new app.
      2. There you’ll receive a new clientID and client secret, which you insert in config.js
      3. In the section “Token Generator” you select the scope
      read_station
      

      and click on “generate token”.
      4. Then you should receive a new access token and refresh token
      5. Enter the new refresh token in config.js
      6. And now the special “trick”: add the attribute accessToken in the module configuration, like that:

      accessToken: "xxxxxxxxxxxxxx|yyyyyyyyyyyyyyyy",
      

      Netatmo requires now a valid accessToken during authentication.

      Save the config.js and restart the mirror. Everything should work now.

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

      S 1 Reply Last reply Apr 25, 2023, 2:36 PM Reply Quote 1
      • S Offline
        sil3ntstorm @Fozi
        last edited by Apr 25, 2023, 2:36 PM

        @Fozi oh dear god, that was the solution. Thank you very much. it works now

        F 1 Reply Last reply Apr 25, 2023, 6:55 PM Reply Quote 0
        • F Offline
          Fozi Project Sponsor @sil3ntstorm
          last edited by Apr 25, 2023, 6:55 PM

          @sil3ntstorm you’re welcome!

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

          C 1 Reply Last reply May 1, 2023, 5:06 PM Reply Quote 0
          • C Offline
            cabania @Fozi
            last edited by May 1, 2023, 5:06 PM

            @Fozi MANY THANKS!!!

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