kushagharahi / homebridge-dahua-alerts

Routes motion alerts for Dahua and Lorex camera streams to homebridge-camera-ffmpeg
27 stars 13 forks source link

Event types v2 and resilience for cameras going offline #47

Closed anton-iermolenko closed 1 year ago

anton-iermolenko commented 1 year ago

Fixes https://github.com/kushagharahi/homebridge-dahua-alerts/issues/15 Fixes https://github.com/kushagharahi/homebridge-dahua-alerts/issues/42

Support for different camera events types, i.e video blind/loss, smart motion events. Resilience working with cameras/NVR that lose power/go offline often.

kushagharahi commented 1 year ago

Hi there, thanks for the contribution.

Can you please reduce scope on this PR? At minimum this should be split in into several changes:

kushagharahi commented 1 year ago

Additionally #42 has been addressed in https://github.com/kushagharahi/homebridge-dahua-alerts/pull/45 with a much smaller change. Timeouts historically are buggy some on NVRS/Cameras, see https://github.com/kushagharahi/homebridge-dahua-alerts/pull/27 and https://github.com/kushagharahi/homebridge-dahua-alerts/issues/21

anton-iermolenko commented 1 year ago

Ok. Created pull request for motion event types support only. Lets figure it out first.