rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
382 stars 73 forks source link

IVS Detections not being picked up on dahua_event_recieved #277

Closed Lloyd-Davies closed 1 year ago

Lloyd-Davies commented 1 year ago

The IVS events (tripwire and intrusion) are visible in the alarm section of the Dahua Web ui, but are not being shown in home assistant. Something must be wrong with the way the API is being queried for these events, hopefully a simple fix!

I have attempted to listen for the events through the developer options but nothing is coming through despite the cameras triggering these alerts in the Dahua ui. Below is a screenshot showing one of these alerts, they appear under the "Intelligent" section.

image

I have not been able to find any errors relating to this in the HA Core logs, though I'm not sure if my logs are reporting at debug level or not, if you could please advise on this that would be great.

My device is: XVR5108C-X

The Smart Motion Human Events were working fine, however, I was getting lots of false positives using this in the dark so I want to use IVS instead, hopefully this can be sorted!

Lloyd-Davies commented 1 year ago

RESOLVED: Added integration device again with different XVR login credentials and the motion alerts are all working correctly now.

lionslair commented 1 year ago

what do you mean different login?