-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Real time update and sensor excluding #157
Comments
I am basically going with my "free-time" and testing and trying (kinda reverse engineering) the device API.
I do not know how to more react because of lacking API documentation and HikVision LAN support. |
ok, thanks. but in the code in init and I see that it inherits SCAN INTERVAL which is precisely 30 seconds. Is it not possible to reduce it to 5 seconds? because currently the status of the sensors is updated anyway... the only problem is that it requires updating every 30 seconds. |
It is not an We should call it more of like "refresh interval" instead of "scan interval" And it does not matter why number you put in the end. You always can end up in situation as described in #124. Replace 30 sec with any number So... If somebody opens and closes a window in this 30 sec interval precisely between the pull you will never get that state. Yes you can lower the number. But !!!! It can increase system instability !!!
Still it does not solve the original 1. point of the issue.All this info you can find in this repository. Contributions are welcome even to improve docs to make others understand why some things has to be done some way. I have in "development" one thing and that is "streamed event handling". But it works only in "armed mode" and cannot currently tell more because since there is "multiple model support" I cant promise anything. |
@valenteemanuele I do not know how to proceed with this. I am going to close this. You can subscribe about the streaming events to previous issues. Feel free to discuss more but I think I got more clarity to the whole situation. |
Hi, I would like to raise a problem and/or improvement. I noticed that the status of the sensors updates every 30 seconds. it would be useful to update it in real time or near real time (for example, if the state of the magnetic opening sensor was real time as it happens on the original app, I could use that sensor for other uses). I also noticed that if I set the alarm control unit to respond to the European warning and confirmation requirement in the event of sensor exclusion (essentially when you try to arm the alarm and you have an open window, it asks you for confirmation on the exclusion), the integration stops . it would therefore be advisable to expressly ask to exclude a sensor before arming the alarm.
The text was updated successfully, but these errors were encountered: