14.07.2023, 11:52
(This post was last modified: 14.07.2023, 12:41 by gjniewenhuijse.)
(14.07.2023, 08:46)admin Wrote: Maybe there are some changes in their API. Try contacting Netatmo support.
Maybe this?
Client credentials grant type
https://api.netatmo.com/oauth2/token
Method: POST
!! This method will be deprecated in october 2022 !!
If you want to access data from another user's account, you MUST use the Authorization code grant type.
Netatmo Connect | Authentication
For now i choose generate token with the right scope in de Netatmo My Apps window. This generates an access and refresh token. I used the access_token hardcoded in the script.