mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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:
parent
5097c3646f
commit
3338e39557
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user