Skip to content

Error connection #95

Description

@kurb77

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions