rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
383 stars 74 forks source link

Smart Motion Human - No detection #256

Open Infeconex opened 1 year ago

Infeconex commented 1 year ago

Problem: Dahua NVR incl. cameras streams integrated with Home Assistant. Smart (Human Detection) enabled on the Cameras, with the AI log correctly showing Cars and Human detections within the recordings. This Integration is exposing the entity "Smart Motion Detection" to Home Assistant, and is enabled (reflecting the Dahua Setup). But the History on the entity "Smart Motion Human" shows no events, the other one "Motion Alarm" reflects the standard motion triggers. I want to be able to use the "Smart Motion Human" entity to send images of the detection to the Home Assistant users.

Equipment: NVR = 1 x Dahua NVR (DHI-NVR4104HS-P-4KS2/L) IP Cams = 4 x Dahua (DH-IPC-HDW3541TP-ZAS) Cams are placed behind NVR, using its inbuilt switch.

dmaciaszek commented 1 year ago

Confirm. Some time ago smart motion work with HA but now there are no changes in smart motion entity (on NVR soft everything works). In my case there are some errors in log: Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@x.x.x.x:554/cam/realmonitor?channel=1&subtype=0 Connection to VTO failed will try to connect in 30 seconds, error: [Errno 111] Connect call failed ('x.x.x.x', 5000), Line: 121