onvif: forgotten file re motion sensor reset

This commit is contained in:
Koushik Dutta
2024-01-01 21:52:54 -08:00
parent e40566e89c
commit c5ae2cd539

View File

@@ -43,6 +43,9 @@ export async function listenEvents(thisDevice: ScryptedDeviceBase, client: Onvif
// thisDevice.motionDetected = true;
}
else if (event === OnvifEvent.MotionStop) {
// reset the trigger to debounce per above.
triggerMotion();
// thisDevice.motionDetected = false;
}
else if (event === OnvifEvent.AudioStart)