-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
"Input 1" switch for each camera is disable after update to version 1.1.0 #263
Comments
Hi, I think before was wrong because IO events weren't detected properly as proxy (from devices connected by NVR) for example issue #206. |
After more investigation, I think the pb is not in isapy.py but in switch.py. You manage The IO input event at the device level, not at the camera level, but you create swithes for each "device.events_info" only if the device is a NVR
|
I commented the "if line" and I tested directly on my HA with this:
The input switch is enable again and works again: When I active the switch in HA, I see that the alarm entry is active in Hikvision web console and the input sensor is active in H.A. |
You are right, should be similar as I changed for binary_sensor: |
Co-authored-by: Maciej <[email protected]>
Hi,
After update, the "input 1" switch are disable
Previously, for my 2cd2346g2 camera, I had:
Now I have only:
Same thing for my 2 other cameras.
I tried to debug isapy.py and I think the pb is that:
I think (but I'm not sure) we should change this (line ~ 261 in get_event function):
from
to
The text was updated successfully, but these errors were encountered: