Add another motion detection topic for VivoTek FD9388-HTV (#17388)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Matthew Skinner 2024-09-08 21:14:09 +10:00 committed by Ciprian Pascu
parent 5097c3646f
commit 3338e39557

View File

@ -667,6 +667,13 @@ public class OnvifConnection {
ipCameraHandler.noMotionDetected(CHANNEL_CELL_MOTION_ALARM);
}
break;
case "VideoAnalytics/Motion":
if ("Trigger".equals(dataValue)) {
ipCameraHandler.motionDetected(CHANNEL_MOTION_ALARM);
} else if ("Normal".equals(dataValue)) {
ipCameraHandler.noMotionDetected(CHANNEL_MOTION_ALARM);
}
break;
case "VideoSource/MotionAlarm":
if ("true".equals(dataValue)) {
ipCameraHandler.motionDetected(CHANNEL_MOTION_ALARM);