Since several weeks the account thing is mostly offline:
„COMMUNICATION_ERROR
Request failed with HTTP status code: 429 response“
Sometimes it changes to online for a short time.
I increased the value „refresh interval“ to 300 but it didn’t solve the problem.
The Hydrawise documentation contains the following statement:
„Rate Limiting: Access to this API is rate limited. The statusschedule.php request has a field called nextpoll that indicates when the next API query should be made. Queries over this rate may be rejected with an HTTP 429 status code.“
It looks like Hydrawise is limiting requests much more aggressively now, this is affecting more then just our addon as the HA plugin has also been struggling with this over the last week. Its seems like once you get a 429, you are locked out for at least 30 mins. I’ll need to look and see how we can limit our exposure to this.
There is already a refresh interval on the thing. Although i am still getting banned even with 300 seconds. Also note that once you are banned you need to pause the binding for 30-60 mins to get unbanned. I have not had time to look at this yet.
So it looks like the binding may not be honoring the configurable refresh interval. I’ll look at changing that. Interesting enough, mine has been querying every min for the last few hours and has not been blocked, so maybe they relaxed this? In any case i’ll push an update to make sure the interval is respected and also a longer default value is used.
Have you disabled the account thing for at least an hour or more? If not, its probably been trying to reconnect in the background and may still be in a banned state on their side.