-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API call error with status 229 #17
Comments
Getting the same issue. I had it working so well over the weekend!
|
Update - I increased the polling interval to 45000 (45 seconds). This is probably much more than what is required but it helped solve the issue for now. I'm guessing when I tried this last night that I was already at my max requests for the day. Probably need some trial and error to see what the new polling amount can be. Guessing BlueAir changed it to a higher threshold. |
Yes, you must definitely has to wait after you get rate limited. Maybe I need to implement a logic to stop doing requests until a set time. |
I had the same error all morning today. I was at 15000, then bumped it to 30000 -> 45000 -> 60000. It was still not working. I then went all the way to 300000 (5 mins) and the error went away after restarting the child bridge. I'll keep it this way for now. |
Keep in mind you have to wait for a set amount of time before the rate limiting lifted from you (I don't know the exact time as this is set by the Blueair servers). So I wouldn't handle your case as a fact. |
Oh! I see. I didn't take that into consideration, you're right! 🤦🏻♂️ |
Describe Your Problem:
Getting this over and over in error logs: [11/11/2024, 11:52:55 AM] [homebridge-blueair-purifier] Error getting valid devices status, reason:API call failed after 3 retries with error: Error: API call error with status 229: , {"message":"There are too many calls, please try again later"}. Retrying in 5 seconds...
Logs:
see above
Plugin Config:
.
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: