TeslaPy
TeslaPy copied to clipboard
429 on every sync_wake_up() call
Just checking if anyone else sees the same. If I just run a single call to sync_wake_up(), the API responds with 429 even though that is the only call in a long time.
Has anyone else seen this?
I'm thinking they changed their limits within the last year. I was working with this module about a year ago and now I'm getting similar 429 error with the same use of the module
I am not getting a 429. You can try to increase the backoff parameter on sync_wake_up, to 1.3, 1.4 or 1.5 to see if that works. The initial interval can be increased to 3 or more if increasing backoff isn't effective. Please let me know if it works and I can change the defaults.
Ah I'm getting 429 but not with the sync_wake_up method I think. I wrapped my Logic within a python @retry decorator. It fails still but at least the @retry decorator retries of me.