-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Home Connect: The rate limit "1000 calls in 1 day" was reached. #139328
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
Comments
Hey there @DavidMStraub, @Diegorro98, @MartinHjelmare, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) home_connect documentation |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Okey, that's related to #139389 Maybe the API rate limit error comes because it has tried too many times to setup the configuration entry... We need to address that |
Note that 1000 requests per day is only 41 requests per hour. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I have 12 devices and over 300+ entries and this breaks on me now. Seemed to break a few weeks ago. I have pulled the latest dev version and I get the over 50 calls in one minute error during initialization. So it breaks on startup and never recovers. Is there anyway to add a limit to the initializing process to limit calls to40ish per minute? |
@thk-socal We currently have a limit on the devices that an entry can handle because we do at least 3/4 requests per appliance. But we are pretty aware of the issue and we are already working on that improvement. |
Hey there, Are there any updates in this issue? |
I have the same. Just bought a unit for home assistant and it works 4 days like a charm. Now get the 1000 calls in 1 day, and it wont work anymore. Have 6 devices in home connect. |
I have the same issue for a week or two now. Core |
We made some changes to handle API rate limit issues, but we are aware that some issues remain related to this. Would anyone mind enabling debug logs whenever your API rate limit gets restored, so that we can gather more information about the 1000 calls? |
This comment has been minimized.
This comment has been minimized.
@home-assistant add-label needs-more-information |
This comment has been minimized.
This comment has been minimized.
Just for clarification, I mean all the logs from the home connect integration (including the debug logs), no only the final error log. |
The problem has not occurred for me for a long time. I suspect that the issue arose for me because I restarted the system several times in a row during maintenance work. |
Until you get the error again |
Hi, I'm sending the log. |
Awesome, thank you! I've been revising the logs and I can see what is triggering the API rate limit in this case: the device has disconnected and connected up to 248 times in 10 hours...
@MartinHjelmare, these were the things that you did when you had this problem also, right? By our side, maybe we can check if the appliance is connected and disconnected multiple times in a period of time, block the updates to avoid API rate limit, and rise an issue with the above steps to help other users to fix that problem, which will enable back the updates once the user clicks on fix. |
@home-assistant remove-label needs-more-information |
Hello, I've been experiencing this issue for about a month; previously, everything was perfectly fine. The Wi-Fi access point is approximately 2 meters away from the appliances. Thank you very much for the analysis, I will try to implement the recommended actions. |
In my case it seems to have helped to move the device to a pure 2.4 GHz network instead of my regular mixed network. Here's some general advise from Home Connect on Wi-Fi: |
Worked fine for some weeks, now it’s back with the limit problem. I have five devices. |
Please, if the issue is still happening, add debug logs so we can know what is happening. @christian1986, since the issue has already occurred and you cannot get debug logs from that issue, review the connectivity entity history of all appliances from 24 hours before the issue up to the time it happened to see if the any of the appliances had connectivity issues, as it is our primary suspect and should be resolved with #142615 once it's released. |
The problem
Error obtaining data from the API: The rate limit "1000 calls in 1 day" was reached. Requests are blocked during the remaining period of 18295 seconds. (429)
What version of Home Assistant Core has the issue?
core-2025.3.0.dev202502251407
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Home Connect
Link to integration documentation on our website
No response
Diagnostics information
home-assistant_home_connect_2025-02-26T10-15-16.147Z.log
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
There are just 3 devices.
The text was updated successfully, but these errors were encountered: