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,
since some days i get following error running the script.
code=400, reason=, body=b'{"error":"invalid_grant"}'
Traceback (most recent call last):
File "/usr/local/bin/netatmo_influx.py", line 9, in <module>
weatherData = lnetatmo.WeatherStationData(authorization)
File "/usr/local/lib/python3.9/dist-packages/lnetatmo.py", line 413, in __init__
self.getAuthToken = authData.accessToken
File "/usr/local/lib/python3.9/dist-packages/lnetatmo.py", line 240, in accessToken
if self.expiration < time.time() : self.renew_token()
File "/usr/local/lib/python3.9/dist-packages/lnetatmo.py", line 251, 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'm getting the same error.
Apparently the API token is expiring each time you active it.
The authentication procedure has been changed again by Netatmo.
Hello,
since some days i get following error running the script.
The text was updated successfully, but these errors were encountered: