IpCamera: New IP Camera Binding

I unticked the enable illegal login, ip filter was off. Changed to digest for shits and giggles, no joy

19:53:15.842 [ERROR] [ml.internal.messaging.saaj.client.p2p] - SAAJ0008: Bad Response; Not Found

Definitely back onto admin credentials.

That error is from ONVIF and is not needed for the camera to work, you can ignore that one for now. Install the ‘Dlink smart home binding’ as that will install any missing dependancies for the onvif if there is an issue with that side of things.

Continuing the discussion from IpCamera: New IP Camera Binding:

When i connect my hikvision wifi camera, after some time openhab crashes because of “java.lang.OutOfMemoryError: Java heap space” its the ipcamera:HIKVISION:IpCamHoved that is the problem. When i remove the ipcamera:HIKVISION:IpCamHoved from the things the problem goes away.

Camera info:
DS-2CD2532F-IWS
Firmware V5.4.5 build 170123
LOG:

2019-08-22 04:05:55.122 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling, caused by java.net.SocketException: Kanalen blev brudt (Write failed)
2019-08-22 04:05:55.123 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Kanalen blev brudt (Write failed)
2019-08-22 04:05:55.123 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2019-08-22 04:05:56.487 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while sending 'PING', caused by java.net.SocketException: Socket is closed
2019-08-22 04:06:12.999 [WARN ] [io.netty.channel.nio.NioEventLoop   ] - Unexpected exception in the selector loop.
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:06:30.361 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@72f37bc7' takes more than 5000ms.
2019-08-22 04:07:03.881 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! Camera has closed the channel 	URL:/ISAPI/Streaming/channels/101/picture Cause reported is: {}
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:07:10.697 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! Camera has closed the channel 	URL:/ISAPI/Streaming/channels/101/picture Cause reported is: {}
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:07:25.219 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@72f37bc7' takes more than 5000ms.
2019-08-22 04:07:34.797 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@72f37bc7' takes more than 5000ms.
2019-08-22 04:07:34.806 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 205093e4-4f07-4ab3-b3d4-c62db9f28b27, base URL = http://localhost:8080)
2019-08-22 04:10:57.966 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@72f37bc7' takes more than 5000ms.
2019-08-22 04:10:57.968 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:10:57.970 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@2601c8f5 in QueuedThreadPool[ServletModel-12]@2dc7e85{STARTED,8<=8<=8,i=6,r=1,q=0}[ReservedThreadExecutor@28c63245{s=0/1,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:18.847 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! Camera has closed the channel 	URL:/ISAPI/Streaming/channels/101/picture Cause reported is: {}
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.801 [WARN ] [io.netty.channel.nio.NioEventLoop   ] - Unexpected exception in the selector loop.
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:10:55.289 [ERROR] [org.quartz.core.JobRunShell         ] - Job MapDB_SchedulerGroup.Commit_Transaction threw an unhandled Exception: 
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:18.847 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@39ff61d5 in QueuedThreadPool[ESH-httpClient-common]@367224d1{STARTED,10<=10<=40,i=4,r=4,q=0}[ReservedThreadExecutor@8b5bd2b{s=1/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.801 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@7382b18b in QueuedThreadPool[qtp893194427]@353d10bb{STARTED,2<=8<=50,i=2,r=4,q=0}[ReservedThreadExecutor@7ee5fbeb{s=1/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.801 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@2f1ae739 in QueuedThreadPool[HttpClient@178df92c]@311a5c0e{STARTED,8<=8<=200,i=4,r=4,q=0}[ReservedThreadExecutor@ab181ec{s=1/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.800 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@2601c8f5 in QueuedThreadPool[ServletModel-12]@2dc7e85{STARTED,8<=8<=8,i=6,r=1,q=0}[ReservedThreadExecutor@28c63245{s=0/1,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:10:59.423 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.801 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@2f1ae739 in QueuedThreadPool[HttpClient@178df92c]@311a5c0e{STARTED,8<=8<=200,i=4,r=4,q=0}[ReservedThreadExecutor@ab181ec{s=1/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:37.481 [ERROR] [org.quartz.core.ErrorLogger         ] - Job (MapDB_SchedulerGroup.Commit_Transaction threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception.
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [181:org.openhab.core.scheduler:2.5.0.201908180304]
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [181:org.openhab.core.scheduler:2.5.0.201908180304]
Caused by: java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.802 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@2f1ae739 in QueuedThreadPool[HttpClient@178df92c]@311a5c0e{STARTED,8<=8<=200,i=4,r=4,q=0}[ReservedThreadExecutor@ab181ec{s=1/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:14.802 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:36.113 [ERROR] [org.apache.felix.fileinstall        ] - In main loop, we have serious trouble
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:36.112 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$Runner@32cf7812 in QueuedThreadPool[HttpClient@3a58bca]@42ccd0e7{STARTED,8<=8<=200,i=6,r=4,q=0}[ReservedThreadExecutor@3c08803b{s=0/4,p=0}]
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:36.112 [ERROR] [org.apache.felix.fileinstall        ] - In main loop, we have serious trouble
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:34.764 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! Camera has closed the channel 	URL:/ISAPI/Streaming/channels/101/picture Cause reported is: {}
java.lang.OutOfMemoryError: Java heap space
2019-08-22 04:12:56.738 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - The alarm stream was not running for camera 10.0.0.91, re-starting it now
2019-08-22 04:12:59.502 [WARN ] [WaveSerialHandler$ZWaveReceiveThread] - Exception during ZWave thread. 
java.lang.IllegalStateException: Queue full
	at java.util.AbstractQueue.add(AbstractQueue.java:98) ~[?:?]
	at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:312) ~[?:?]
	at org.openhab.binding.zwave.internal.protocol.ZWaveTransactionManager.processReceiveMessage(ZWaveTransactionManager.java:410) ~[271:org.openhab.binding.zwave:2.5.0.201908182309]
	at org.openhab.binding.zwave.internal.protocol.ZWaveController.incomingPacket(ZWaveController.java:1064) ~[271:org.openhab.binding.zwave:2.5.0.201908182309]
	at org.openhab.binding.zwave.handler.ZWaveControllerHandler.incomingMessage(ZWaveControllerHandler.java:411) ~[271:org.openhab.binding.zwave:2.5.0.201908182309]
	at org.openhab.binding.zwave.handler.ZWaveSerialHandler$ZWaveReceiveThread.run(ZWaveSerialHandler.java:331) [271:org.openhab.binding.zwave:2.5.0.201908182309]
2019-08-22 04:13:00.016 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:00.017 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Cleaning the channels has just found a connection with wrong open state.
2019-08-22 04:13:00.019 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Can't find ch when removing handler 		URL:/ISAPI/System/IO/inputs/1/status
2019-08-22 04:13:00.175 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 14 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:00.254 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 14 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:00.331 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 15 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:00.332 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Cleaning the channels has just found a connection with wrong open state.
2019-08-22 04:13:00.332 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Can't find ch when removing handler 		URL:/ISAPI/System/IO/inputs/1/status
2019-08-22 04:13:00.418 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:03.717 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:03.954 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:04.698 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:05.162 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:07.521 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:08.643 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:09.121 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:11.925 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:15.242 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:15.464 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:15.545 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:15.620 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 14 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:15.621 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Cleaning the channels has just found a connection with wrong open state.
2019-08-22 04:13:15.622 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Can't find ch when removing handler 		URL:/ISAPI/System/IO/inputs/1/status
2019-08-22 04:13:17.140 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - There are 13 channels being tracked, cleaning out old channels now to try and reduce this to 12 or below.
2019-08-22 04:13:37.480 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{FAILED,8<=0<=200,i=0,r=-1,q=6}[NO_TRY] rejected org.eclipse.jetty.io.ManagedSelector$$Lambda$166/2135414754@3f6d1e1a
2019-08-22 04:15:07.672 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19380,5,main]
2019-08-22 04:15:07.677 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19369,5,main]
2019-08-22 04:15:07.678 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19372,5,main]
2019-08-22 04:15:07.678 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19382,5,main]
2019-08-22 04:15:07.679 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19373,5,main]
2019-08-22 04:15:07.682 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19374,5,main]
2019-08-22 04:15:07.683 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=7<=200,i=0,r=-1,q=9}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19379,5,main]
2019-08-22 04:16:07.694 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPED,8<=0<=200,i=0,r=-1,q=0}[NO_TRY] rejected org.eclipse.jetty.io.ManagedSelector$$Lambda$166/2135414754@359a795d
2019-08-22 04:38:25.819 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{FAILED,8<=0<=200,i=0,r=-1,q=27}[NO_TRY] rejected org.eclipse.jetty.io.ManagedSelector$$Lambda$166/2135414754@3537bb5f
2019-08-22 04:39:56.121 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19624,5,main]
2019-08-22 04:39:56.122 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19620,5,main]
2019-08-22 04:39:56.122 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19621,5,main]
2019-08-22 04:39:56.124 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19616,5,main]
2019-08-22 04:39:56.125 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19618,5,main]
2019-08-22 04:39:56.126 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19626,5,main]
2019-08-22 04:39:56.126 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19628,5,main]
2019-08-22 04:39:56.128 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19632,5,main]
2019-08-22 04:39:56.128 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19615,5,main]
2019-08-22 04:39:56.129 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19630,5,main]
2019-08-22 04:39:56.130 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19629,5,main]
2019-08-22 04:39:56.132 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19619,5,main]
2019-08-22 04:39:56.133 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19631,5,main]
2019-08-22 04:39:56.134 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19617,5,main]
2019-08-22 04:39:56.135 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19623,5,main]
2019-08-22 04:39:56.136 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19627,5,main]
2019-08-22 04:39:56.137 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19625,5,main]
2019-08-22 04:39:56.138 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPING,8<=18<=200,i=0,r=-1,q=21}[NO_TRY] Couldn't stop Thread[HttpClient@366630bb-19622,5,main]
2019-08-22 04:40:56.150 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[HttpClient@366630bb]@32c5ac30{STOPPED,8<=0<=200,i=0,r=-1,q=0}[NO_TRY] rejected org.eclipse.jetty.io.ManagedSelector$$Lambda$166/2135414754@52ab0045

Thing file:

Thing ipcamera:HIKVISION:IpCamGarage "IpCam Garage" @ "Cameras"
[
    IPADDRESS="10.0.0.90",
    PORT=80,
    PASSWORD="",
    USERNAME="admin",
    POLL_CAMERA_MS=2000,
    SERVER_PORT=50001,
    ONVIF_PORT=9999,
    IP_WHITELIST="DISABLE",
    IMAGE_UPDATE_EVENTS=1,
    UPDATE_IMAGE=true,
    GIF_PREROLL=20,
    GIF_POSTROLL=40,
    FFMPEG_OUTPUT="/tmp/IpCamGarage/",
    FFMPEG_INPUT="rtsp://10.0.0.90:554/Streaming/Channels/102/"
]
Thing ipcamera:HIKVISION:IpCamHoved "IpCam Hoveddør" @ "Cameras"
[
    IPADDRESS="10.0.0.91",
    PORT=80,
    PASSWORD="",
    USERNAME="admin",
    POLL_CAMERA_MS=2000,
    SERVER_PORT=50002,
    ONVIF_PORT=9999,
    IP_WHITELIST="DISABLE",
    IMAGE_UPDATE_EVENTS=1,
    UPDATE_IMAGE=true,
    GIF_PREROLL=20,
    GIF_POSTROLL=40,
    FFMPEG_OUTPUT="/tmp/IpCamHoved/",
    FFMPEG_INPUT="rtsp://10.0.0.91:554/Streaming/Channels/102/"
]

Item file:

Image IpCamGarageImage "Garage" (gCamera) { channel="ipcamera:HIKVISION:IpCamGarage:image" }
Switch IpCamGarageUpdateImage "Garage" { channel="ipcamera:HIKVISION:IpCamGarage:updateImageNow" }
Switch IpCamGarageCreateGif "Garage" (gCameraGif) { channel="ipcamera:HIKVISION:IpCamGarage:updateGif" }
String IpCamGarageStreamUrl "Garage" { channel="ipcamera:HIKVISION:IpCamGarage:streamUrl" }

Image IpCamHovedImage "Hoveddør" (gCamera) { channel="ipcamera:HIKVISION:IpCamHoved:image" }
Switch IpCamHovedUpdateImage "Hoveddør" { channel="ipcamera:HIKVISION:IpCamHoved:updateImageNow" }
Switch IpCamHovedCreateGif "Hoveddør" (gCameraGif) { channel="ipcamera:HIKVISION:IpCamHoved:updateGif" }
String IpCamHovedStreamUrl "Hoveddør" { channel="ipcamera:HIKVISION:IpCamHoved:streamUrl" }```

Thanks, no change, errors persist

And the URL for the camera should be http://192.168.1.3:50001/Streaming/channels/102/httppreview right?

Thats my OH2 IP

some of the latest debug:


07:16:31.680 [TRACE] [ding.ipcamera.handler.IpCameraHandler] - DefaultHttpContent(data: PooledSlicedByteBuf(ridx: 0, widx: 603, cap: 603/603, unwrapped: PooledUnsafeDirectByteBuf(ridx: 603, widx: 603, cap: 2048)), decoderResult: success)
07:16:31.682 [TRACE] [ding.ipcamera.handler.IpCameraHandler] - HTTP Result back from camera is  :--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 520

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>192.168.1.200</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>18:68:cb:b4:13:92</macAddress>
<channelID>1</channelID>
<dateTime>2019-08-23T07:16:19+09:00</dateTime>
<activePostCount>0</activePostCount>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
<channelName>North Yard</channelName>
</EventNotificationAlert>
:
07:16:41.589 [TRACE] [ding.ipcamera.handler.IpCameraHandler] - DefaultHttpContent(data: PooledSlicedByteBuf(ridx: 0, widx: 603, cap: 603/603, unwrapped: PooledUnsafeDirectByteBuf(ridx: 603, widx: 603, cap: 2048)), decoderResult: success)
07:16:41.590 [TRACE] [ding.ipcamera.handler.IpCameraHandler] - HTTP Result back from camera is  :--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 520

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>192.168.1.200</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>18:68:cb:b4:13:92</macAddress>
<channelID>1</channelID>
<dateTime>2019-08-23T07:16:29+09:00</dateTime>
<activePostCount>0</activePostCount>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
<channelName>North Yard</channelName>
</EventNotificationAlert>
:


Great work, @matt1!

I have a few of the cheap Xiaomi cameras on the way from AliExpress, looking forward to testing with this when they come in!

There are clearly changes, the authorisation is now working.

No, try http://192.168.1.3:50001/ipcamera.jpg

The readme file covers this in depth, does it need changing/updating? If so which part is in need of reworking?

@dezito

Try searching the forum before posting, this thread should go into detail as will searching this thread…

Thanks Matt, Sure, thats the snapshot but the URL i used was apparently the substream (MJPEG feed)

EDIT: Found it inside a sitemap example

@dastrix80
Thanks for feedback, the readme is now updated to better cover this and also the other urls which were also missing for the animated gif.

The idea of the binding is that you do not need to open the api for your camera, and if you own multiple brands they should all work the same way inside Openhab without needing to hunt around this forum for examples.

For now, ignore any warnings or errors when your camera is connecting as they relate to ONVIF possibly not working with your camera, I will be taking a look at this when I have some time but since I did not write the ONVIF library and I don’t have any issues with 3 different brands of cameras that I own, this makes it hard to track down. The good news is you only need ONVIF if the camera is PTZ and you wish to move the camera. If the camera is not PTZ then you will gain nothing.

1 Like

No worries mate! it’s working now and yes, no PTZ so I’m not too concerned. Thanks for all your help!

Which one are you using? I have here 2 Luowice Cameras and dont get them configured as well.

I have the LWS-V180-2MP-GSDE.

I have the same issue and what you can do is turn off the update image so the image doesn’t need to refresh. Then you can right a rule that take a image every time there is motion. The one thing i don’t find is how I can turn the update off because persistence don’t set it off and start up rule won’t set it off either. Maybe someone can help?

Continous crashes only for ip cameras:

Thing ipcamera:HTTPONLY:001 "Webcam garage" @ "Garage"
        [
                IPADDRESS="192.168.1.81",
                PASSWORD="xxxxxxxx",
                USERNAME="xxxxxxxx",
                SNAPSHOT_URL_OVERRIDE="http://192.168.1.81:8080/stream/snapshot.jpg",
                PORT=8080,
                POLL_CAMERA_MS=2000,
                UPDATE_IMAGE=true,
                IMAGE_UPDATE_EVENTS=1
        ]
//
//
Thing ipcamera:HTTPONLY:002 "Web HTTP Sud" @ "Webcams"
        [
                IPADDRESS="192.168.1.82",
                PASSWORD="xxxxxxx",
                USERNAME="xxxxxxx",
                SNAPSHOT_URL_OVERRIDE="http://192.168.1.82/dms?nowprofileid=1",
                PORT=80,
                POLL_CAMERA_MS=2000,
                UPDATE_IMAGE=true,
                IMAGE_UPDATE_EVENTS=1
        ]
//
//
Thing ipcamera:HTTPONLY:003 "Web HTTP Est" @ "Webcams"
        [       IPADDRESS="192.168.1.83",
                PASSWORD="xxxxxxx",
                USERNAME="xxxxxxx",
                SNAPSHOT_URL_OVERRIDE="http://192.168.1.83/dms?nowprofileid=2",
                PORT=80,
                POLL_CAMERA_MS=2000,
                UPDATE_IMAGE=true,
                IMAGE_UPDATE_EVENTS=1
        ]
//

2019-09-04 09:00:59.480 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! Camera has closed the channel     URL:/stream/snapshot.jpg Cause reported is: {}
java.lang.NullPointerException: null
        at java.util.Base64$Encoder.encode(Base64.java:261) ~[?:?]
        at java.util.Base64$Encoder.encodeToString(Base64.java:315) ~[?:?]
        at org.eclipse.smarthome.core.library.types.RawType.toFullString(RawType.java:84) ~[?:?]
        at org.eclipse.smarthome.core.items.events.ItemEventFactory.createStateEvent(ItemEventFactory.java:254) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.sendUpdate(ProfileCallbackImpl.java:137) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onStateUpdateFromHandler(SystemDefaultProfile.java:54) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$9(CommunicationManager.java:477) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$11(CommunicationManager.java:497) ~[?:?]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.handleCallFromHandler(CommunicationManager.java:493) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.stateUpdated(CommunicationManager.java:475) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl$1.stateUpdated(ThingManagerImpl.java:167) ~[?:?]
        at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.updateState(BaseThingHandler.java:287) ~[?:?]
        at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.updateState(BaseThingHandler.java:306) ~[?:?]
        at org.openhab.binding.ipcamera.handler.IpCameraHandler.access$5(IpCameraHandler.java:1) ~[?:?]
        at org.openhab.binding.ipcamera.handler.IpCameraHandler$CommonCameraHandler.channelRead(IpCameraHandler.java:718) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) [230:io.netty.transport:4.1.34.Final]
        at org.openhab.binding.ipcamera.internal.MyNettyAuthHandler.channelRead(MyNettyAuthHandler.java:235) [232:org.openhab.binding.ipcamera:2.5.0.201908030247]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438) [230:io.netty.transport:4.1.34.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [227:io.netty.codec:4.1.34.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [227:io.netty.codec:4.1.34.Final]
        at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [230:io.netty.transport:4.1.34.Final]
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [225:io.netty.handler:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:677) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529) [230:io.netty.transport:4.1.34.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491) [230:io.netty.transport:4.1.34.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) [229:io.netty.common:4.1.34.Final]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [229:io.netty.common:4.1.34.Final]
        at java.lang.Thread.run(Thread.java:748) [?:?]

Hi,

my Foscam 9900p is working. But I dont understand the setting IMAGE_UPDATE_EVENTS. I have configured the camera as follows:

Blockquote
Thing ipcamera:FOSCAM:Einfahrt “Kamera Einfahrt” @ “Kameras”
[
IPADDRESS=“192.168.0.xxx”,
USERNAME=“xxxx”,
PASSWORD=“xxxxxxx”,
PORT=80,
SERVER_PORT=50001,
UPDATE_IMAGE=false,
POLL_CAMERA_MS=5000,
GIF_PREROLL=0,
GIF_POSTROLL=6,
IMAGE_UPDATE_EVENTS=2,
IP_WHITELIST="(127.0.0.1)(192.168.0.xxxxx)(192.168.0.xxxxx)",
SNAPSHOT_URL_OVERRIDE=“http://192.168.0.xxx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxxx&pwd=xxxxx”,
FFMPEG_OUTPUT="/tmpfs/Einfahrt/",
FFMPEG_INPUT=“rtsp://xxxxx:xxxxx@192.168.0.xxxxx:80/videoSub”
]

and the following items

Blockquote
Image IP_Kamera_Einfahrt_Image “Kamera Bild” { channel=“ipcamera:FOSCAM:Einfahrt:image” }
Switch IP_Kamera_Einfahrt_Image_Update “Neues Bild” { channel=“ipcamera:FOSCAM:Einfahrt:updateImageNow” }
Switch IP_Kamera_Einfahrt_Create_Gif “Erstelle animiertes GIF” { channel=“ipcamera:FOSCAM:Einfahrt:updateGif” }
Switch IP_Kamera_Einfahrt_Motion_Alarm “Einfahrt Bewegung” { channel=“ipcamera:FOSCAM:Einfahrt:motionAlarm” }
String IP_Kamera_Einfahrt_Image_URL “Image URL” { channel=“ipcamera:FOSCAM:Einfahrt:imageUrl” }
String IP_Kamera_Einfahrt_Stream_URL “HLS Stream URL” { channel=“ipcamera:FOSCAM:Einfahrt:hlsUrl” }
String IP_Kamera_Einfahrt_RTSP_Stream_Url “RTSP Stream” { channel=“ipcamera:FOSCAM:Einfahrt:rtspUrl” }

I wnat that the Image item is only updated in the PaperUI on motion. But the picture is only updated if I turn on the updateImageNow channel. But than I get all the time ( each 5 sec. ) new images which I want to prevent. What do I wrong here?

best regards René

Hi,

Is it possible for IpCamera binding to work with Foscam R2 camera and use PTZ functions?
That camera has these options (https://www.foscam.es/descarga/Foscam-IPCamera-CGI-User-Guide-AllPlatforms-2015.11.06.pdf) and ONVIF protocol.
I have tried to adjust all settings but cannot force OpenHAB to send PTZ commands to camera.
So far only picture in a frame works with options like below. No PTZ.

My setup is:

  • OpenHAB 2.5.0.M3 on RPi3 (openHABian)
  • IpCamera binding from 03-Aug-2019
  • Foscam R2 camera

During the startup in log (with TRACE log level) there is:

2019-09-13 18:04:39.171 [DEBUG] [org.openhab.binding.ipcamera        ] - BundleEvent STARTING - org.openhab.binding.ipcamera
2019-09-13 18:04:39.178 [DEBUG] [org.openhab.binding.ipcamera        ] - BundleEvent STARTED - org.openhab.binding.ipcamera
2019-09-13 18:04:39.246 [DEBUG] [org.openhab.binding.ipcamera        ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=332, service.bundleid=209, service.scope=bundle, component.name=org.openhab.binding.ipcamera.internal.IpCameraHandlerFactory, component.id=185} - org.openhab.binding.ipcamera
2019-09-13 18:04:40.965 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - initialize() called.
2019-09-13 18:04:41.999 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - About to connect to the IP Camera using the ONVIF PORT at IP:192.168.0.138:8885
2019-09-13 18:04:42.141 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - Following NPE occured when trying to connect to the camera with ONVIF.java.lang.NullPointerException
2019-09-13 18:04:42.144 [ERROR] [ing.ipcamera.handler.IpCameraHandler] - Since an NPE occured when asking the camera about PTZ, the PTZ controls will not work. If the camera does not come online, give the camera the wrong ONVIF port number so it can bypass using ONVIF and still come online.
2019-09-13 18:04:42.839 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Sending camera: GET: http://192.168.0.138/cgi-bin/CGIProxy.fcgi?usr=user&pwd=password&cmd=snapPicture2
2019-09-13 18:04:43.828 [TRACE] [ipcamera.internal.MyNettyAuthHandler] - MyNettyAuthHandler is now setup for 	GET:/cgi-bin/CGIProxy.fcgi?usr=user&pwd=password&cmd=snapPicture2
2019-09-13 18:04:43.831 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Have  opened  a  brand NEW channel:0 	GET:/cgi-bin/CGIProxy.fcgi?usr=user&pwd=password&cmd=snapPicture2
2019-09-13 18:04:43.938 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - IpCamera file server for camera 192.168.0.138 has started on port 50001
2019-09-13 18:04:43.945 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - IP Camera at 192.168.0.138 is now online.

ipcamera.things

Thing ipcamera:FOSCAM:001 [
    IPADDRESS="192.168.0.138",
    PASSWORD="password",
    USERNAME="user",
    ONVIF_PORT=8885,
    PORT=88,
    POLL_CAMERA_MS=60000,
    SERVER_PORT=50001,
    UPDATE_IMAGE=false
]

ipcamera.items

Switch  CamUpdateImage  "Get new picture"       { channel="ipcamera:FOSCAM:001:updateImageNow" }
Image   CamImage                                { channel="ipcamera:FOSCAM:001:image" }
Dimmer  CamPan          "Pan [%d] left/right"   { channel="ipcamera:FOSCAM:001:pan" }
Dimmer  CamTilt         "Tilt [%d] up/down"     { channel="ipcamera:FOSCAM:001:tilt" }
Dimmer  CamZoom         "Zoom [%d] in/out"      { channel="ipcamera:FOSCAM:001:zoom" }
String  CamVideoUrl     "url"                   { channel="ipcamera:FOSCAM:001:videourl"}

cam.sitemap

sitemap cam label="Cam" icon="home" {

        Text label="Camera" icon="camera"{
        Image url="http://192.168.0.138:88/cgi-bin/CGIProxy.fcgi?usr=user&pwd=password&cmd=snapPicture2" item=CamImage
                Switch item=CamUpdateImage
                Slider item=CamPan icon=movecontrol
                Slider item=CamTilt icon=movecontrol
                Slider item=CamZoom icon=zoom
        }
}

I was trying different options like ONVIF port and authorization:

Also cache and temp were cleaned and everything was restarted at least few times.

Maybe someone can help me with that issue. Especially @matt1’s help would be appreciated :slight_smile:

Thanks

Resolved creahes for HTTPONLY cameras :
IMAGE_UPDATE_EVENTS=1
causes random crashes. I took it away from all cameras and they run correctly.

@rene54321

Try changing UPDATE_IMAGE=false to true instead otherwise it only updates when you switch the updateImageNow control to on. Think of UPDATE_IMAGE as the state that the binding starts up in… @Bucofski this is the info you were looking for.

@kristofejro
I suggest you test the camera out with the opensource program called ONVIF Device Manager, you need to use absolute movement controls to test what the binding tries to do. If it works in there then it will need a change to the ONVIF library that does the ptz functions.

Thanks @matt1 for replay.
I have tried ONVIF Device manager and it works just fine with my camera. I can control it without any problem.

Can you please explain what it means to use: “use absolute movement controls” and this part “If it works in there then it will need a change to the ONVIF library that does the ptz functions.” How and where can I do it?

Sorry for so much questions but I am not proficient in that subject.

Hi, I have 4 Annke Onvif compatible cameras (checked with the Onvif device manager software listed above).

I am looking for a very simple implementation into my OpenHAB environment. I simply want to see the streams of each of the 4 cams. No need to control their movement, or have any alarms or anything. I just want to see the live streams. I’ve sifted through the 1000+posts in this thread, but can’t find the simple solution.

Just looking for the exact text I should put in the .items, .things, and .sitemap files.

Thanks in advance.

@kristofejro
There are 3 ways to control an ONVIF camera and it is possible a camera only implements 1 of them and will be moved by that program using a different method to what this binding uses. You need to select ABSOLUTE in the program to use absolute control methods and make sure your not trying to use RELATIVE or CONTINUOUS methods which are the other types from memory.

@TonyN
See the readme and google what the URLs for your camera are and then you will need to piece it together yourself from the examples given, or you can use PaperUI and forget about textual config.