Hydrawise Account Thing offline - status code: 429

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.“

1 Like

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.

3 Likes

Hi Dan,

have you had a chance to take a look at it?
It’s not urgent and I really appreciate your support.

Hello

I am also interested in this.
Maybe a “refreshInterval” parameter in the binding config is sufficient and we can figure out the allowed pull rate.

Thank you!

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.

delete

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.

1 Like

Yes, same here, working fine for a couple of hours now. Very likely that there was a change on their end.

1 Like

So i read that the HA devs reached out to them, maybe they worked something out?

Well, unfortunately it still doesn’t work for me

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.

thanks, now it works for me too :slight_smile:

I was too happy too soon - my account is offline again.