Hi
I’ve had my cameras in a drawer for quite some time due to construction work. When I fetched them again I also took the change of updating them to the latest firmware, reset all settings to default. All seems to work properly, except for one thing. I can no longer toggle the motion detection from OpenHAB. It used to work, but not anymore. Pan, Tilt etc, no problem. ONVIF is enabled.
I’ve tried to check the logs in Karaf, but they are very hard to follow, since the binding floods the log without me doing anything. But, I tried to fetch some. Maybe it’ll be of some help
13:42:15.220 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Livingroom_camera_motion' received command ON
13:42:15.268 [INFO ] [arthome.event.ItemStatePredictedEvent] - Livingroom_camera_motion predicted to become ON
13:42:15.304 [INFO ] [smarthome.event.ItemStateChangedEvent] - Livingroom_camera_motion changed from OFF to ON
13:42:15.306 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.319 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:15.328 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:7 GET:/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.356 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:7 GET:/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.363 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.370 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.378 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:15.386 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:8 GET:/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.394 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:7 URL:/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:15.501 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:8 URL:/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=1
13:42:16.962 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/snapshot.cgi?channel=1
13:42:16.971 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:16.982 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:0 GET:/cgi-bin/snapshot.cgi?channel=1
13:42:16.990 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:16.998 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.011 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:2 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.019 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.029 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:0 GET:/cgi-bin/snapshot.cgi?channel=1
13:42:17.030 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.040 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/snapshot.cgi?channel=1
13:42:17.048 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:3 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.060 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:2 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.067 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.050 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/snapshot.cgi?channel=1
13:42:17.080 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:0 GET:/cgi-bin/snapshot.cgi?channel=1
13:42:17.078 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.088 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:3 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.086 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.096 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.109 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:1 GET:/cgi-bin/snapshot.cgi?channel=1
13:42:17.106 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.106 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.117 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:0 URL:/cgi-bin/snapshot.cgi?channel=1
13:42:17.116 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.126 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Sending camera GET http://*MYIP*:80/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.136 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:4 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.141 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.144 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:2 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.154 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:6 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.156 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:0 GET:/cgi-bin/snapshot.cgi?channel=1
13:42:17.164 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:3 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.166 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/snapshot.cgi?channel=1
13:42:17.165 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:2 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.184 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.187 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.195 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:1 GET:/cgi-bin/snapshot.cgi?channel=1
13:42:17.198 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:3 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.202 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:0 URL:/cgi-bin/snapshot.cgi?channel=1
13:42:17.214 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:6 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.223 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:2 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.230 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:4 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.230 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.246 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.251 [DEBUG] [.ipcamera.internal.MyNettyAuthHandler] - 401: Mark as closing, the channel:3 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.258 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:6 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.260 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Resending using a fresh DIGEST URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.266 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:2 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.288 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - CommonCameraHandler created.... 11 channels tracked (some of these may be closed).
13:42:17.297 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:5 GET:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.304 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:3 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
13:42:17.325 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:6 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=VideoMotion
13:42:17.354 [DEBUG] [ding.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:5 URL:/cgi-bin/eventManager.cgi?action=getEventIndexes&code=AudioMutation
I read somewhere in the forum to check this setting
/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=true&MotionDetect[0].EventHandler.Dejitter=0
It returns OK in the page. If I change Dejitter value to 1 it also returns OK.
And Yes, the motion setting works properly if set through the Amcrest app.
I’m on openHAB 2.5.12-1 and use the Amcrest option in the binding.
Any help would be appreciated. Thanks