-
Notifications
You must be signed in to change notification settings - Fork 50
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
HomeAssistant 'Problem finding attribute: 'duration'' in logging #76
Comments
This issue was also troubleshot here: The exception is thrown here because the This is a special event type to notify the beginning and ending of the target moving inside the zone for Intrusion Detection (aka FieldDetection). Its parsing is more complicated since the linked events are in a list:
Maybe it's useful if you catch up the feed in the middle of an event. The receiver knows there are some kind of events still in progress. From what I see in the linked issue, it should not be useful for HA since there are already |
I'm short on time these days to implement fixes, but can usually make time to review and merge a PR if someone wants to take a stab at it. |
Fixed with PR #79. |
I'm finding with my new ColorVu outdoor cameras they fill the HA logs with these errors when they are generating events sent to HA. E.g. it only happens when I or someone/something is moving in front of the camera.
https://www.hikvision.com/en/products/IP-Products/Network-Cameras/colorvu-series/ds-2cd2347g2-l-u-/
2021-07-21 10:41:08 ERROR (Thread-7) [pyhik.hikvision] Problem finding attribute: 'duration'
I've got this from curl http://YOUR_CAM_IP/ISAPI/Event/triggers --digest
I tried this, curl --digest -N http://192.168.100.131/ISAPI/Event/notification/alertStream and then went and moved in front of it (generating those errors in HA log above). It filled my terminal window with garbage, and then some readable text.
I tried it twice and it did the same both times. I cut the amount of garbage down as there would have been like 20 pages of it.
The text was updated successfully, but these errors were encountered: