You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
for a few days I can no longer connect to the API. Anything to change? I am using a version of the lnetatmo API that is not up to date, is that why?
Thanks
code=400, reason=, body=b'{"error":"invalid_grant"}' Traceback (most recent call last): File "/home/domoticz/myscript/netatmo.py", line 69, in <module> thermostat = lnetatmo.ThermostatData(authorization) File "/myscript/lnetatmo.py", line 357, in __init__ self.getAuthToken = authData.accessToken File "/myscript/lnetatmo.py", line 241, in accessToken if self.expiration < time.time() : self.renew_token() File "/myscript/lnetatmo.py", line 252, in renew_token if self.refreshToken != resp['refresh_token']: TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
I Recreated my access+refreshed token and updated the library, all work, thank you.
i added some fonctions on the library for the thermostat, it is possible to add on the ref ?
Hello,
for a few days I can no longer connect to the API. Anything to change? I am using a version of the lnetatmo API that is not up to date, is that why?
Thanks
code=400, reason=, body=b'{"error":"invalid_grant"}' Traceback (most recent call last): File "/home/domoticz/myscript/netatmo.py", line 69, in <module> thermostat = lnetatmo.ThermostatData(authorization) File "/myscript/lnetatmo.py", line 357, in __init__ self.getAuthToken = authData.accessToken File "/myscript/lnetatmo.py", line 241, in accessToken if self.expiration < time.time() : self.renew_token() File "/myscript/lnetatmo.py", line 252, in renew_token if self.refreshToken != resp['refresh_token']: TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: