synology-surveillance-api-motion-mqtt-gifs
synology-surveillance-api-motion-mqtt-gifs copied to clipboard
Add wait to polling.
Can you please help to add a wait time settings between polling events? In my case I always get second event, when motion stops and lights turned off. It would be great if we could control how often new events checks fires.
You mean here? https://github.com/fabtesta/synology-surveillance-api-motion-mqtt-gifs/blob/9606b206516aeb78e2abdfeb5621d61f2d483aba/synology_surveillance_motion_mqtt_gifs.py#L262
I'll try to implement this improvement asap.
Something like this, but between events. In reality it should skip all events that will happen in X seconds after processed. Thanks!