-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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 - daily limit exceeded #108175
Comments
Hey there @CFenner, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) vicare documentation |
related to #96044 @Friedi1970 the API rate limit is very tight. Here in the message it says 1450. The ha integration is configured to poll every 60 seconds, which leads to 1440 calls per day. That leaves you 10 calls per day for any other interaction (setting temp, etc.). The PR above adjusts the poll interval to the number of devices, so you should only poll every 2 minutes with two devices. Anyhow if the code doesn't work for you, you can also check this one: #107906 Hope that helps! |
@CFenner ah, got you. Thanks for this explanation and of course for the codes (which I can't use because I have no clue about coding 🤷♂️). |
@CFenner Again I had the problem that the daily limit exceeded. This is def. a problem since I installed the fixx you provided due to the API change of Viessmann. |
#107906 works fine and fixes the problem for me. Thanks @CFenner ! |
How should it help? I have only one device. And again, this problem exists since I installed the fix #107847 (comment) I can't believe that this is pure coincidence. Before I never had this problem. |
@Friedi1970 the one @Quelbazar mentioned is another fix that enables you to select a device instead of making all available. Are you sure you have only one device? Then you should simply use the original integration and have no issue. |
I use the original integration. Then I had the problems due to the API problem some days ago and used your fix (#107847 (comment)) which worked fine. |
I have only one heatpump too. However, Viessmann API changed some days ago and API shows now 2 devices : My heatpump + my "Vitoconnect".
+1 You should try #107906 |
OK. I installed the fix (#107906) of @CFenner . I was surprised that there were two devices. I could only select one because the other one couldn't be selected due to missing serial number. So, what shall I do now? |
Please select the viessmann device and click on '...' and download diagnostic information. |
OK, here is all from the log:
After I installed the fix I selected the device "VScotHO1_72". As appendix you may see the diagnostic information. @CFenner thanks in advance for your help. I really appreciate your work 👍 |
@CFenner any idea to solve my problem? |
I tried now to reinstall the other fix which led to an error: Therefore, I deleted the custom files and I tried to activate the standard add on and now I alwas get the migration error:
Now I am completely lost. Nothing works :( |
Hi, with the PR you tested you migrated the integration config to the next version. You can manually correct that or remove the integration and install it again. To correct it, you need to decrease the |
Well, I decided to resore yesterday's backup :) |
You can tryout this PR #106477 that would simply ignore your gateway and should show your heating again. |
What do you mean with "ignore your gateway"? |
Yes, use the curl again, but this time with the number 106477 in the end instead of the other one.
Viessmann changed something in their API. Now the device that is displayed in HA is the gateway and not the heating device. However the gateway exposes some of the data points of your heating leading to some gone missing in the UI. |
@CFenner I did it and now I again have the migration error :(
|
Can you join Discord to have a chat? |
Maybe you need to join here first: https://github.com/somm15/PyViCare#help |
I did. Still the same. Btw. Meanwhile I restored again because I need the integration for automations. |
now it works with discord |
The problem
Today I got the error message that the daily limit exceeded: To be honest I really can't imagine why.
I installed the fix from @CFenner 2 days ago and it worked fine for me (till now or 2 hours ago). Is there again some trouble with the API?
What version of Home Assistant Core has the issue?
core-2024.1.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Viessmann ViCare
Link to integration documentation on our website
https://www.home-assistant.io/integrations/vicare
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: