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
Great work on the update. I have a very minor issue, and I wondered if I'm doing something wrong, or whether it's something that can be improved in the token refresh.
I have a service that monitors my Tado devices. The python code sits in a loop and calls t.get_climate periodically on each zone. However, occasionally (typically every 30-120 minutes or so) this raises an exception:
Exception: Failed to refresh token, probably wrong credentials. Status code: 400
To resolve this, I just recreate the Tado object, and everything resumes fine.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Great work on the update. I have a very minor issue, and I wondered if I'm doing something wrong, or whether it's something that can be improved in the token refresh.
I have a service that monitors my Tado devices. The python code sits in a loop and calls t.get_climate periodically on each zone. However, occasionally (typically every 30-120 minutes or so) this raises an exception:
Exception: Failed to refresh token, probably wrong credentials. Status code: 400
To resolve this, I just recreate the Tado object, and everything resumes fine.
Is there a cleaner way to do this?
Beta Was this translation helpful? Give feedback.
All reactions