-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels