Skip to content
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

Sensor Activity Missed #182

Open
vcarron-source opened this issue Jun 11, 2024 · 3 comments
Open

Sensor Activity Missed #182

vcarron-source opened this issue Jun 11, 2024 · 3 comments
Labels
help Troubleshooting

Comments

@vcarron-source
Copy link

I've noticed that smart events are missed if triggered within say 30 seconds of each other. I have FTP upload on the camera and can see that the camera recognises every event and captures an image for the smart event however the binary sensor in home assistant misses the second event.

Is this by design or can it be changed, I don't know if it relates to the frequency of the scan interval?

Thanks!

Model DS-2CD2387G2H-LISU/SL

@maciej-or
Copy link
Owner

There is no scanning. HA receives requests sent by NVR. Are your events in supported list? https://github.com/maciej-or/hikvision_next?tab=readme-ov-file#supported-events
for example face or car plates are not supported

@vcarron-source
Copy link
Author

vcarron-source commented Jun 11, 2024

Yep, and they trigger, though not every time, seems the binary sensor doesn't register events with 30 seconds of the first trigger. The camera catches every event fine, no NVR just cameras straight to HA.

@maciej-or
Copy link
Owner

Camera can send event notifications as well but probably binary sensor cannot be triggered if its state is on, that might happen in your case. So far the integration sets state on and sensor is cleared itself. TBH I don't know how long it's on. It needs tests.

@maciej-or maciej-or added the help Troubleshooting label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Troubleshooting
Projects
None yet
Development

No branches or pull requests

2 participants