fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
550 stars 101 forks source link

The motion detection per person in the camera does not match the motion detection per person in the integration #439

Open garry0garry opened 2 years ago

garry0garry commented 2 years ago

Reolink RLC-520A. Hardware IPC_523128M5MP, fw v3.1.0.764_21121700, fwestenberg/reolink_dev v0.49, HACS v1.20.0, HA v2021.12.10, HTTP, HTTPS, RTSP and ONVIF protocols are enabled.

The integration claims that [2022.01.27 21:09] the sensor "binary_sensor.cam5_person_detected" was triggered. At the same time, there is no such detection in the Reolink RLC-520A itself. See screenshot: изображение The home-assistant.log file does not contain any events during this time period. Extended logging are not enabled.

The motion detection per person in the camera does not match the motion detection per person in the integration. The situation is quite rare. I'm not sure if I can leave extended log enabled for a week. Is it possible to enable additional diagnostics for this case?

xannor commented 2 years ago

with the method of event notificaltion available, there is no rest api, only onvif, sometimes home assistant misses events. You should still have the videos though.

cpainchaud commented 2 years ago

try decreasing option "Motion states update fallback delay (seconds)" . I use 3 seconds on mine and never missed any event

https://github.com/fwestenberg/reolink_dev/blob/master/TSHOOT.md