Netatmo Weather Driver for RTI not working anymore

ott.riedberg

It used to work but now I'm getting error logs. Any idea? (Yes, login/password are correct)

0

Comments

1 comment

  • Comment author
    Leslie Community moderator

    Hello,

    The client_credentials authentication process (username/password) was removed several months ago

    It's now mandatory to follow the authorization_code grant type (https://dev.netatmo.com/apidocumentation/oauth#authorization-code) : did you do this ?

    Also, previously the refresh_token value never changed if the access_token value was changed before its expiration. Now, at each request to /token endpoint, both access and refresh_token are renewed and former values are invalidated

    You must check that you correctly store and use the latest generated refresh_token value to refresh the access_token

    Have a good day,

    Leslie - Community Manager

    0

Please sign in to leave a comment.