-
Notifications
You must be signed in to change notification settings - Fork 17
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 usage #97
Comments
Hi, https://community.home-assistant.io/t/imou-life-cloud-integration/462439/202, for your reference. |
Hi, |
Every 15 minutes each camera makes a call for updating the status of each configured switch, this is it. Changing the status of a switch would result in an API call, regardless of the polling interval. ptz would result in a single call as well. If you don't call the service, no calls are made. Reducing monitored entities would reduce the calls, definitely. But still 30000 calls are a lot to consume in a single day.... |
Yes, you're right, maybe it's also due to the fact that I was doing some tests and I restarted it several times HA. |
0 does not disable polling, maybe this could be added as an option in the future, good idea. But if you put there very high values, should do the same job. And then you can verify if the api call counter continues to increase. For any doubt, if you enable debug logging in the integration (https://github.com/user2684/imou_life?tab=readme-ov-file#debugging) you should see if something unexpected takes place. |
Hello, |
Still testing but it's llok to be a good solution : more than dive by 2 at the moment |
Hi, the more entities you disable, fewer calls are made against the API so definitely yes. Have a look here for more details: https://github.com/user2684/imou_life/wiki/Imou-API-usage-restrictions |
Hi,
how do I get a counter of calls made to API?
In one day I went from about 29500 available calls to 0, but I practically didn't use the integration, in the sense that I have 4 cameras configured but I only used the .ptz_location service to move them a couple of times, I don't understand how it's possible.
Before purchasing other calls I would like to solve the problem that caused them to be reset.
Thank you
The text was updated successfully, but these errors were encountered: