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

      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 :-)

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

        @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 Reply Quote 1
        • S Offline
          sil3ntstorm @Fozi
          last edited by

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

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

            @sil3ntstorm you’re welcome!

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

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              cabania @Fozi
              last edited by

              @Fozi MANY THANKS!!!

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy