IpCamera: New IP Camera Binding

That message about user/pass is from before the binding has setup for BASIC auth’s so you can ignore it if it only happens once and then no more times after that.

With ONVIF the spec states that GetSystemDateAndTime will not require a valid user/pass to get a response so this also confirms that something is blocking the camera. NVR, firewall, your running it in docker, or something must be blocking it. Does the camera work with ‘onvif device manager’ program? Check for firmware updates and contact their support.

Have you tried restarting both openHAB and the camera?

EDIT: @boogie I have done some fixes to stop the ERROR you reported, but this will not make a camera that is not talking magically connect so don’t expect this to solve your problem.

[ipcamera] Fix bugs, IndexOutOfBoundsException and remove sleep. by Skinah · Pull Request #11089 · openhab/openhab-addons (github.com)

Hi, it’s me, again :slight_smile:
It seems in my system the binding is lost connection with camera after hours of working. Here is the openhab.log, from 21:09 the binding was stopped until 21:43 when I disable and re-enable the binding in admin page:

2021-08-10 21:09:49.015 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:09:49.052 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:10:47Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:09:47Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:09:49.053 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:09:58.073 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:09:56Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:10:47Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:09:58.075 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:09:58.140 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:10:57Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:09:57Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:09:58.141 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:39:44.349 [DEBUG] [pcamera.internal.StreamServerHandler] - Stream Server recieved request         GET:/ipcamera.gif
2021-08-10 21:39:45.726 [DEBUG] [pcamera.internal.StreamServerHandler] - Stream Server recieved request         GET:/ipcamera.gif
2021-08-10 21:43:43.798 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Unsubscribe
2021-08-10 21:43:43.836 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery"><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value>ter:ActionNotSupported</s:Value><s:Subcode><s:Value>ter:NotImplemented</s:Value></s:Subcode></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en">This optional method is not implemented</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>
2021-08-10 21:43:50.071 [DEBUG] [era.internal.handler.IpCameraHandler] - File server for camera at 192.168.0.214 has started on port 54321 for all NIC's.
2021-08-10 21:43:50.126 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetSystemDateAndTime
2021-08-10 21:43:50.159 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl"><s:Header></s:Header><s:Body><tds:GetSystemDateAndTimeResponse><tds:SystemDateAndTime><tt:DateTimeType>Manual</tt:DateTimeType><tt:DaylightSavings>false</tt:DaylightSavings><tt:TimeZone><tt:TZ>GMT+07:00</tt:TZ></tt:TimeZone><tt:UTCDateTime><tt:Time><tt:Hour>14</tt:Hour><tt:Minute>43</tt:Minute><tt:Second>47</tt:Second></tt:Time><tt:Date><tt:Year>2021</tt:Year><tt:Month>8</tt:Month><tt:Day>10</tt:Day></tt:Date></tt:UTCDateTime></tds:SystemDateAndTime></tds:GetSystemDateAndTimeResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.160 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetCapabilities
2021-08-10 21:43:50.166 [DEBUG] [amera.internal.onvif.OnvifConnection] - Cameras  UTC dateTime is:2021-8-10T14:43:47
2021-08-10 21:43:50.167 [DEBUG] [amera.internal.onvif.OnvifConnection] - Openhabs UTC dateTime is:2021-08-10T14:43:50.167Z
2021-08-10 21:43:50.212 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl"><s:Body><tds:GetCapabilitiesResponse><tds:Capabilities><tt:Device><tt:XAddr>http://192.168.0.214/onvif/device_service</tt:XAddr><tt:Network><tt:IPFilter>false</tt:IPFilter><tt:IPVersion6>false</tt:IPVersion6><tt:DynDNS>false</tt:DynDNS><tt:Extension><tt:Dot11Configuration>false</tt:Dot11Configuration></tt:Extension></tt:Network><tt:System><tt:DiscoveryResolve>false</tt:DiscoveryResolve><tt:DiscoveryBye>true</tt:DiscoveryBye><tt:RemoteDiscovery>false</tt:RemoteDiscovery><tt:SystemBackup>false</tt:SystemBackup><tt:SystemLogging>false</tt:SystemLogging><tt:FirmwareUpgrade>false</tt:FirmwareUpgrade><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>00</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>10</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>30</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>40</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>42</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>16</tt:Major><tt:Minor>12</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>18</tt:Major><tt:Minor>06</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>18</tt:Major><tt:Minor>12</tt:Minor></tt:SupportedVersions><tt:Extension><tt:HttpFirmwareUpgrade>false</tt:HttpFirmwareUpgrade><tt:HttpSystemBackup>false</tt:HttpSystemBackup><tt:HttpSystemLogging>false</tt:HttpSystemLogging><tt:HttpSupportInformation>false</tt:HttpSupportInformation></tt:Extension></tt:System><tt:IO><tt:InputConnectors>0</tt:InputConnectors><tt:RelayOutputs>0</tt:RelayOutputs></tt:IO><tt:Security><tt:TLS1.1>false</tt:TLS1.1><tt:TLS1.2>false</tt:TLS1.2><tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration><tt:AccessPolicyConfig>false</tt:AccessPolicyConfig><tt:X.509Token>false</tt:X.509Token><tt:SAMLToken>false</tt:SAMLToken><tt:KerberosToken>false</tt:KerberosToken><tt:RELToken>false</tt:RELToken><tt:Extension><tt:TLS1.0>false</tt:TLS1.0><tt:Extension><tt:Dot1X>false</tt:Dot1X><tt:SupportedEAPMethod>0</tt:SupportedEAPMethod><tt:RemoteUserHandling>false</tt:RemoteUserHandling></tt:Extension></tt:Extension></tt:Security></tt:Device><tt:Events><tt:XAddr>http://192.168.0.214/onvif/event_service</tt:XAddr><tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport><tt:WSPullPointSupport>true</tt:WSPullPointSupport><tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport></tt:Events><tt:Imaging><tt:XAddr>http://192.168.0.214/onvif/imaging_service</tt:XAddr></tt:Imaging><tt:Media><tt:XAddr>http://192.168.0.214/onvif/media_service</tt:XAddr><tt:StreamingCapabilities><tt:RTPMulticast>false</tt:RTPMulticast><tt:RTP_TCP>true</tt:RTP_TCP><tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP></tt:StreamingCapabilities><tt:Extension><tt:ProfileCapabilities><tt:MaximumNumberOfProfiles>6</tt:MaximumNumberOfProfiles></tt:ProfileCapabilities></tt:Extension></tt:Media><tt:Extension><tt:DeviceIO><tt:XAddr>http://192.168.0.214/onvif/deviceIO_service</tt:XAddr><tt:VideoSources>1</tt:VideoSources><tt:VideoOutputs>0</tt:VideoOutputs><tt:AudioSources>0</tt:AudioSources><tt:AudioOutputs>0</tt:AudioOutputs><tt:RelayOutputs>0</tt:RelayOutputs><tt:SerialPorts>0</tt:SerialPorts><tt:DigitalInputs>0</tt:DigitalInputs></tt:DeviceIO></tt:Extension></tds:Capabilities></tds:GetCapabilitiesResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.214 [DEBUG] [amera.internal.onvif.OnvifConnection] - deviceXAddr:/onvif/device_service
2021-08-10 21:43:50.215 [DEBUG] [amera.internal.onvif.OnvifConnection] - eventsXAddr:/onvif/event_service
2021-08-10 21:43:50.216 [DEBUG] [amera.internal.onvif.OnvifConnection] - mediaXAddr:/onvif/media_service
2021-08-10 21:43:50.217 [DEBUG] [amera.internal.onvif.OnvifConnection] - We hit an issue parsing url:
2021-08-10 21:43:50.218 [TRACE] [amera.internal.onvif.OnvifConnection] - Camera must not support PTZ, it failed to give a <tt:PTZ><tt:XAddr>:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl"><s:Body><tds:GetCapabilitiesResponse><tds:Capabilities><tt:Device><tt:XAddr>http://192.168.0.214/onvif/device_service</tt:XAddr><tt:Network><tt:IPFilter>false</tt:IPFilter><tt:IPVersion6>false</tt:IPVersion6><tt:DynDNS>false</tt:DynDNS><tt:Extension><tt:Dot11Configuration>false</tt:Dot11Configuration></tt:Extension></tt:Network><tt:System><tt:DiscoveryResolve>false</tt:DiscoveryResolve><tt:DiscoveryBye>true</tt:DiscoveryBye><tt:RemoteDiscovery>false</tt:RemoteDiscovery><tt:SystemBackup>false</tt:SystemBackup><tt:SystemLogging>false</tt:SystemLogging><tt:FirmwareUpgrade>false</tt:FirmwareUpgrade><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>00</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>10</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>30</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>40</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>2</tt:Major><tt:Minor>42</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>16</tt:Major><tt:Minor>12</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>18</tt:Major><tt:Minor>06</tt:Minor></tt:SupportedVersions><tt:SupportedVersions><tt:Major>18</tt:Major><tt:Minor>12</tt:Minor></tt:SupportedVersions><tt:Extension><tt:HttpFirmwareUpgrade>false</tt:HttpFirmwareUpgrade><tt:HttpSystemBackup>false</tt:HttpSystemBackup><tt:HttpSystemLogging>false</tt:HttpSystemLogging><tt:HttpSupportInformation>false</tt:HttpSupportInformation></tt:Extension></tt:System><tt:IO><tt:InputConnectors>0</tt:InputConnectors><tt:RelayOutputs>0</tt:RelayOutputs></tt:IO><tt:Security><tt:TLS1.1>false</tt:TLS1.1><tt:TLS1.2>false</tt:TLS1.2><tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration><tt:AccessPolicyConfig>false</tt:AccessPolicyConfig><tt:X.509Token>false</tt:X.509Token><tt:SAMLToken>false</tt:SAMLToken><tt:KerberosToken>false</tt:KerberosToken><tt:RELToken>false</tt:RELToken><tt:Extension><tt:TLS1.0>false</tt:TLS1.0><tt:Extension><tt:Dot1X>false</tt:Dot1X><tt:SupportedEAPMethod>0</tt:SupportedEAPMethod><tt:RemoteUserHandling>false</tt:RemoteUserHandling></tt:Extension></tt:Extension></tt:Security></tt:Device><tt:Events><tt:XAddr>http://192.168.0.214/onvif/event_service</tt:XAddr><tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport><tt:WSPullPointSupport>true</tt:WSPullPointSupport><tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport></tt:Events><tt:Imaging><tt:XAddr>http://192.168.0.214/onvif/imaging_service</tt:XAddr></tt:Imaging><tt:Media><tt:XAddr>http://192.168.0.214/onvif/media_service</tt:XAddr><tt:StreamingCapabilities><tt:RTPMulticast>false</tt:RTPMulticast><tt:RTP_TCP>true</tt:RTP_TCP><tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP></tt:StreamingCapabilities><tt:Extension><tt:ProfileCapabilities><tt:MaximumNumberOfProfiles>6</tt:MaximumNumberOfProfiles></tt:ProfileCapabilities></tt:Extension></tt:Media><tt:Extension><tt:DeviceIO><tt:XAddr>http://192.168.0.214/onvif/deviceIO_service</tt:XAddr><tt:VideoSources>1</tt:VideoSources><tt:VideoOutputs>0</tt:VideoOutputs><tt:AudioSources>0</tt:AudioSources><tt:AudioOutputs>0</tt:AudioOutputs><tt:RelayOutputs>0</tt:RelayOutputs><tt:SerialPorts>0</tt:SerialPorts><tt:DigitalInputs>0</tt:DigitalInputs></tt:DeviceIO></tt:Extension></tds:Capabilities></tds:GetCapabilitiesResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.219 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetProfiles
2021-08-10 21:43:50.292 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tt="http://www.onvif.org/ver10/schema"><s:Body><trt:GetProfilesResponse><trt:Profiles token="Profile000" fixed="true"><tt:Name>Profile000</tt:Name><tt:VideoSourceConfiguration token="VideoSource000"><tt:Name>VideoSource000</tt:Name><tt:UseCount>2</tt:UseCount><tt:SourceToken>VideoSource000</tt:SourceToken><tt:Bounds x="0" y="0" width="1920" height="1080"></tt:Bounds></tt:VideoSourceConfiguration><tt:VideoEncoderConfiguration token="VideoEncoder000"><tt:Name>VideoEncoder000</tt:Name><tt:UseCount>1</tt:UseCount><tt:Encoding>H265</tt:Encoding><tt:Resolution><tt:Width>1920</tt:Width><tt:Height>1080</tt:Height></tt:Resolution><tt:Quality>6.000000</tt:Quality><tt:RateControl><tt:FrameRateLimit>25</tt:FrameRateLimit><tt:EncodingInterval>1</tt:EncodingInterval><tt:BitrateLimit>4096</tt:BitrateLimit></tt:RateControl><tt:H265><tt:GovLength>50</tt:GovLength><tt:H265Profile>Main</tt:H265Profile></tt:H265><tt:Multicast><tt:Address><tt:Type>IPv4</tt:Type><tt:IPv4Address>224.1.2.4</tt:IPv4Address></tt:Address><tt:Port>40000</tt:Port><tt:TTL>64</tt:TTL><tt:AutoStart>false</tt:AutoStart></tt:Multicast><tt:SessionTimeout>PT60S</tt:SessionTimeout></tt:VideoEncoderConfiguration><tt:MetadataConfiguration token="Metadata000" CompressionType="None" GeoLocation="false"><tt:Name>Metadata000</tt:Name><tt:UseCount>1</tt:UseCount><tt:PTZStatus><tt:Status>false</tt:Status><tt:Position>false</tt:Position></tt:PTZStatus><tt:Events><tt:Filter><wsnt:TopicExpression Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tns1="http://www.onvif.org/ver10/topics">tns1:Media/ConfigurationChanged</wsnt:TopicExpression></tt:Filter></tt:Events><tt:Analytics>true</tt:Analytics><tt:Multicast><tt:Address><tt:Type>IPv4</tt:Type><tt:IPv4Address>224.1.2.4</tt:IPv4Address></tt:Address><tt:Port>40000</tt:Port><tt:TTL>64</tt:TTL><tt:AutoStart>false</tt:AutoStart></tt:Multicast><tt:SessionTimeout>PT60S</tt:SessionTimeout></tt:MetadataConfiguration></trt:Profiles><trt:Profiles token="Profile001" fixed="true"><tt:Name>Profile001</tt:Name><tt:VideoSourceConfiguration token="VideoSource000"><tt:Name>VideoSource000</tt:Name><tt:UseCount>2</tt:UseCount><tt:SourceToken>VideoSource000</tt:SourceToken><tt:Bounds x="0" y="0" width="1920" height="1080"></tt:Bounds></tt:VideoSourceConfiguration><tt:VideoEncoderConfiguration token="VideoEncoder001"><tt:Name>VideoEncoder001</tt:Name><tt:UseCount>1</tt:UseCount><tt:Encoding>H264</tt:Encoding><tt:Resolution><tt:Width>640</tt:Width><tt:Height>480</tt:Height></tt:Resolution><tt:Quality>4.000000</tt:Quality><tt:RateControl><tt:FrameRateLimit>10</tt:FrameRateLimit><tt:EncodingInterval>1</tt:EncodingInterval><tt:BitrateLimit>896</tt:BitrateLimit></tt:RateControl><tt:H264><tt:GovLength>20</tt:GovLength><tt:H264Profile>Main</tt:H264Profile></tt:H264><tt:Multicast><tt:Address><tt:Type>IPv4</tt:Type><tt:IPv4Address>224.1.2.4</tt:IPv4Address></tt:Address><tt:Port>40016</tt:Port><tt:TTL>64</tt:TTL><tt:AutoStart>false</tt:AutoStart></tt:Multicast><tt:SessionTimeout>PT60S</tt:SessionTimeout></tt:VideoEncoderConfiguration><tt:MetadataConfiguration token="Metadata001" CompressionType="None" GeoLocation="false"><tt:Name>Metadata001</tt:Name><tt:UseCount>1</tt:UseCount><tt:PTZStatus><tt:Status>false</tt:Status><tt:Position>false</tt:Position></tt:PTZStatus><tt:Events><tt:Filter><wsnt:TopicExpression Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tns1="http://www.onvif.org/ver10/topics">tns1:Media/ConfigurationChanged</wsnt:TopicExpression></tt:Filter></tt:Events><tt:Analytics>true</tt:Analytics><tt:Multicast><tt:Address><tt:Type>IPv4</tt:Type><tt:IPv4Address>224.1.2.4</tt:IPv4Address></tt:Address><tt:Port>40016</tt:Port><tt:TTL>64</tt:TTL><tt:AutoStart>false</tt:AutoStart></tt:Multicast><tt:SessionTimeout>PT60S</tt:SessionTimeout></tt:MetadataConfiguration></trt:Profiles></trt:GetProfilesResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.294 [TRACE] [amera.internal.onvif.OnvifConnection] - String was found:Profile000
2021-08-10 21:43:50.296 [TRACE] [amera.internal.onvif.OnvifConnection] - String was found:Profile001
2021-08-10 21:43:50.298 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetSnapshotUri
2021-08-10 21:43:50.302 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetStreamUri
2021-08-10 21:43:50.305 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetEventProperties
2021-08-10 21:43:50.308 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetServiceCapabilities
2021-08-10 21:43:50.388 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery"><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value>ter:ActionNotSupported</s:Value><s:Subcode><s:Value>ter:NotImplemented</s:Value></s:Subcode></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en">This optional method is not implemented</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>
2021-08-10 21:43:50.430 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery"><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value>ter:ActionNotSupported</s:Value><s:Subcode><s:Value>ter:NotImplemented</s:Value></s:Subcode></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en">This optional method is not implemented</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>
2021-08-10 21:43:50.448 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tt="http://www.onvif.org/ver10/schema"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/GetEventPropertiesResponse</wsa5:Action></s:Header><s:Body><tev:GetEventPropertiesResponse><tev:TopicNamespaceLocation>http://www.onvif.org/onvif/ver10/topics/topicns.xml</tev:TopicNamespaceLocation><wsnt:FixedTopicSet>true</wsnt:FixedTopicSet><wstop:TopicSet><tns1:VideoSource><MotionAlarm wstop:topic="true"><tt:MessageDescription IsProperty="true"><tt:Source><tt:SimpleItemDescription Name="Source" Type="tt:ReferenceToken"></tt:SimpleItemDescription></tt:Source><tt:Data><tt:SimpleItemDescription Name="State" Type="xs:boolean"></tt:SimpleItemDescription></tt:Data></tt:MessageDescription></MotionAlarm><GlobalSceneChange><ImagingService wstop:topic="true"><tt:MessageDescription IsProperty="true"><tt:Source><tt:SimpleItemDescription Name="Source" Type="tt:ReferenceToken"></tt:SimpleItemDescription></tt:Source><tt:Data><tt:SimpleItemDescription Name="State" Type="xs:boolean"></tt:SimpleItemDescription></tt:Data></tt:MessageDescription></ImagingService></GlobalSceneChange></tns1:VideoSource><tns1:RuleEngine><TamperDetector><Tamper wstop:topic="true"><tt:MessageDescription IsProperty="true"><tt:Source><tt:SimpleItemDescription Name="VideoSourceConfigurationToken" Type="tt:ReferenceToken"></tt:SimpleItemDescription></tt:Source><tt:Data><tt:SimpleItemDescription Name="IsTamper" Type="xs:string"></tt:SimpleItemDescription></tt:Data></tt:MessageDescription></Tamper></TamperDetector></tns1:RuleEngine><tns1:Media><ProfileChanged wstop:topic="true"><tt:MessageDescription IsProperty="false"><tt:Source><tt:SimpleItemDescription Name="Token" Type="tt:ReferenceToken"></tt:SimpleItemDescription></tt:Source></tt:MessageDescription></ProfileChanged><ConfigurationChanged wstop:topic="true"><tt:MessageDescription IsProperty="false"><tt:Source><tt:SimpleItemDescription Name="Token" Type="tt:ReferenceToken"></tt:SimpleItemDescription><tt:SimpleItemDescription Name="Type" Type="xs:string"></tt:SimpleItemDescription></tt:Source></tt:MessageDescription></ConfigurationChanged></tns1:Media></wstop:TopicSet><wsnt:TopicExpressionDialect>http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete</wsnt:TopicExpressionDialect><wsnt:TopicExpressionDialect>http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet</wsnt:TopicExpressionDialect><tev:MessageContentFilterDialect>http://www.onvif.org/ver10/tev/messageContentFilter/ItemFilter</tev:MessageContentFilterDialect><tev:MessageContentSchemaLocation>http://www.onvif.org/onvif/ver10/schema/onvif.xsd</tev:MessageContentSchemaLocation></tev:GetEventPropertiesResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.449 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:CreatePullPointSubscription
2021-08-10 21:43:50.490 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tt="http://www.onvif.org/ver10/schema"><s:Body><trt:GetStreamUriResponse><trt:MediaUri><tt:Uri>rtsp://192.168.0.214:554/cam/realmonitor?channel=1&amp;subtype=0&amp;unicast=true&amp;proto=Onvif</tt:Uri><tt:InvalidAfterConnect>true</tt:InvalidAfterConnect><tt:InvalidAfterReboot>true</tt:InvalidAfterReboot><tt:Timeout>PT0S</tt:Timeout></trt:MediaUri></trt:GetStreamUriResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.491 [DEBUG] [amera.internal.onvif.OnvifConnection] - GetStreamUri:rtsp://192.168.0.214:554/cam/realmonitor?channel=1&amp;subtype=0&amp;unicast=true&amp;proto=Onvif
2021-08-10 21:43:50.556 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionResponse</wsa5:Action></s:Header><s:Body><tev:CreatePullPointSubscriptionResponse><tev:SubscriptionReference><wsa5:Address>http://192.168.0.214/onvif/Subscription?Idx=1</wsa5:Address></tev:SubscriptionReference><wsnt:CurrentTime>2021-08-10T14:43:48Z</wsnt:CurrentTime><wsnt:TerminationTime>2021-08-10T14:53:48Z</wsnt:TerminationTime></tev:CreatePullPointSubscriptionResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.557 [DEBUG] [amera.internal.onvif.OnvifConnection] - subscriptionXAddr=/onvif/Subscription?Idx=1
2021-08-10 21:43:50.558 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:43:50.625 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:43:48Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:53:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2021-08-10T14:43:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSource000"></tt:SimpleItem></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false"></tt:SimpleItem></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.626 [DEBUG] [amera.internal.onvif.OnvifConnection] - Onvif Event Topic:VideoSource/MotionAlarm, Data:State, Value:false
2021-08-10 21:43:50.630 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:43:50.661 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:44:48Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:43:48Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:43:50.662 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:43:51.652 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:43:49Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:44:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/GlobalSceneChange/ImagingService</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2021-08-10T14:43:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSource000"></tt:SimpleItem></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false"></tt:SimpleItem></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:43:51.653 [DEBUG] [amera.internal.onvif.OnvifConnection] - Onvif Event Topic:VideoSource/GlobalSceneChange/ImagingService, Data:State, Value:false
2021-08-10 21:43:51.655 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:43:51.739 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:44:49Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:43:49Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:43:51.741 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:43:52.671 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:43:50Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:44:49Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2021-08-10T14:43:48Z" PropertyOperation="Changed"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSource000"></tt:SimpleItem></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false"></tt:SimpleItem></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:43:52.672 [DEBUG] [amera.internal.onvif.OnvifConnection] - Onvif Event Topic:VideoSource/MotionAlarm, Data:State, Value:false
2021-08-10 21:43:52.673 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:43:52.748 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:44:50Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:43:50Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:43:52.749 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:43:54.132 [DEBUG] [era.internal.handler.IpCameraHandler] - Binding has no snapshot url. Will use your CPU and FFmpeg to create snapshots from the cameras RTSP.
2021-08-10 21:43:54.137 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:-rtsp_transport tcp -threads 1 -skip_frame nokey -hide_banner -loglevel warning -i rtsp://onvif:********@192.168.0.214:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif -an -vsync vfr -q:v 2 -update 1 http://127.0.0.1:54321/snapshot.jpg
2021-08-10 21:44:00.820 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:43:58Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:44:50Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:00.821 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:00.868 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:44:58Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:43:58Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:00.870 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:08.929 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:06Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:44:58Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:08.971 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:09.025 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:45:06Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:44:06Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:09.026 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:17.043 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:14Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:45:06Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:17.044 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:17.081 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:45:14Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:44:14Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:17.082 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:25.118 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:22Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:45:14Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:25.162 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:25.246 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:45:22Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:44:22Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:25.247 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:33.220 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:30Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:45:22Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:33.273 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:33.338 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:45:30Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:44:30Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:33.339 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:41.305 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:38Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:45:30Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:41.306 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:41.356 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:45:38Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:44:38Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:41.356 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:49.428 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:46Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:45:38Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>
2021-08-10 21:44:49.429 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:Renew
2021-08-10 21:44:49.467 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><s:Header><wsa5:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2021-08-10T14:45:46Z</wsnt:TerminationTime><wsnt:CurrentTime>2021-08-10T14:44:46Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>
2021-08-10 21:44:49.468 [TRACE] [amera.internal.onvif.OnvifConnection] - Sending ONVIF request:PullMessages
2021-08-10 21:44:57.521 [TRACE] [amera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="utf-8" standalone="yes" ?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics"><s:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa5:Action></s:Header><s:Body><tev:PullMessagesResponse><tev:CurrentTime>2021-08-10T14:44:55Z</tev:CurrentTime><tev:TerminationTime>2021-08-10T14:45:46Z</tev:TerminationTime></tev:PullMessagesResponse></s:Body></s:Envelope>

When connection is stopped I can’t see Onvif Renew and PullMessages requests, openHAB is cannot receive the motionAlarm also.
Is there anyone get the same issue?

No one has reported that before as the binding checks the ONVIF is still alive every 8 seconds and will automatically re-connect, however it relies on a connection failure to occur. From your logs the camera just stopped replying, so this may need improving in the binding if multiple cameras do this. Does this happen all the time or is it an isolated time? Normally the snapshot is getting fetched and if the camera stops responding it would normally detect the snapshot has failed and launch into re-connecting, since your camera reports no snapshot url (which violates ONVIF standards) this never happens. At some point it may be an idea to upgrade the camera.

1 Like

Hi!
Recently I replaced 2 cameras on my Dahua NVR (8 port XVR5108HS-I2) and something weird has started happening with generation of ipcamera.mjpeg (via ffmpeg) for those two cameras (the rest of them work fine and I didn’t change any settings for the binging - just the cameras were replaced). Basically the “stream” freezes very quickly. On an android tablet in Habpanel I pretty much see the stream for a second or two and it disappears. If I just open the ipcamera.mjpeg in a browser on my computer I will see the stream for a few minutes but it will very quickly freeze as well (strangely enough for one camera it always seems to happen when a car passes by on a road).

The browser console gives me nothing, and the binding trace log is not really any more useful either:

2021-08-22 03:24:53.154 [DEBUG] [pcamera.internal.StreamServerHandler] - Stream Server recieved request     GET:/ipcamera.mjpeg
2021-08-22 03:24:53.156 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:******** ...

2021-08-22 03:24:55.756 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [swscaler @ 0x555e4a0a7680] deprecated pixel format used, make sure you did set range correctly
2021-08-22 03:25:05.302 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - More than 1000 frames duplicated

2021-08-22 03:27:37.054 [DEBUG] [pcamera.internal.StreamServerHandler] - Stream server is going to close an idle channel.
2021-08-22 03:27:37.055 [DEBUG] [era.internal.handler.IpCameraHandler] - All ipcamera.mjpeg streams have stopped.

The parameters that I have set for the ffmpeg output are these:

-b:v 2000 -r 8 -vf scale=640:-2 -update 1

I’ve been struggling with this for a week and I am completely lost. Any ideas on what could be wrong? I find it completely weird since only the cameras changed and nothing else.

You should open your own thread and provide more details.

What cameras do you have? Are they the same brand and model as the ones you replaced?
What is the openhab server, is it a pi2 for example?

Done. If you (or anyone else) has any ideas…

Hi @matt1, sorry for my late response, i was on vacation and have now found the time to take a look. In any case, thank you very much for your fix, looks good now!

Regarding my problem, the settings on the camera and in the binding were all correct, but a bug may have crept in during one of the last firmware updates from Instar. After spending many hours on it, i decided to do a factory reset, after that was done, everything worked fine.

In any case, thank you very much for your support!

Hi,

How is the performance of this binding on rasberry pi 3?

I did the setup but there is huge delay. Are there any settings i can tweak? I m new to ip camera with openhab + rasberry pi

Regards,

Amin

What feature are you getting a delay with? Have you read the bindings documentation? Do a search on delay and there are plenty of tips in there on how to tweak.

So natively though the Hikvision NVR or Camera web interface i can’t add multiple Linecrossing lines but i just found out though testing that i can add multiple lines using the ISAPI configuration:
If i push configuration to: http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/1
and icrement the last number up thats in bold: eg.:
http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/1
http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/2
http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/3

I can have multiple Linecrossing lines that get triggered.

I was viewing the alert stream and each alert depending on the line crossed triggers a unique event based on tag:

<regionID>2</regionID>

The number between the regionID tag reflects the ISAPI lineitem: http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/2

Is it possible to have additional channels added to the binding to be able to trigger rules depending on which line is crossed:

Here is the output from my alertStream:
For http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/1

--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 1263

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>192.168.2.201</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>c0:51:7e:c2:c5:33</macAddress>
<channelID>1</channelID>
<dateTime>2021-09-07T20:08:07-5:00</dateTime>
<activePostCount>7</activePostCount>
<eventType>linedetection</eventType>
<eventState>active</eventState>
<eventDescription>linedetection alarm</eventDescription>
<DetectionRegionList>
<DetectionRegionEntry>
<regionID>1</regionID>
<sensitivityLevel>60</sensitivityLevel>
<RegionCoordinatesList>
<RegionCoordinates>
<positionX>360</positionX>
<positionY>163</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>863</positionX>
<positionY>185</positionY>
</RegionCoordinates>
</RegionCoordinatesList>
</DetectionRegionEntry>
</DetectionRegionList>
<channelName>Front Yard</channelName>
<Extensions version="1.0" xmlns="urn:psialliance-org">
<serialNumber xmlns="urn:selfextension:psiaext-ver10-xsd">DS-2CD2347G1-LU20201103AAWRE96761883</serialNumber>
<eventPush xmlns="urn:selfextension:psiaext-ver10-xsd">IO&amp;&amp;DS-2CD2347G1-LU20201103AAWRE96761883,2021-09-07T20:08:07-5:00,1.0</eventPush>
</Extensions>
</EventNotificationAlert>

For http://x.x.x.x/ISAPI/Smart/LineDetection/1/lineitem/2

--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 1261

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>192.168.x.xx</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>c0:51:7e:c2:c5:33</macAddress>
<channelID>1</channelID>
<dateTime>2021-09-07T20:06:58-5:00</dateTime>
<activePostCount>1</activePostCount>
<eventType>linedetection</eventType>
<eventState>active</eventState>
<eventDescription>linedetection alarm</eventDescription>
<DetectionRegionList>
<DetectionRegionEntry>
<regionID>2</regionID>
<sensitivityLevel>50</sensitivityLevel>
<RegionCoordinatesList>
<RegionCoordinates>
<positionX>530</positionX>
<positionY>1</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>530</positionX>
<positionY>900</positionY>
</RegionCoordinates>
</RegionCoordinatesList>
</DetectionRegionEntry>
</DetectionRegionList>
<channelName>Front Yard</channelName>
<Extensions version="1.0" xmlns="urn:psialliance-org">
<serialNumber xmlns="urn:selfextension:psiaext-ver10-xsd">DS-2CD2347G1-LU20201103AAWRE96761883</serialNumber>
<eventPush xmlns="urn:selfextension:psiaext-ver10-xsd">IO&amp;&amp;DS-2CD2347G1-LU20201103AAWRE96761883,2021-09-07T20:06:58-5:00,1.0</eventPush>
</Extensions>
</EventNotificationAlert>

As you can see the value within the regionID tag match up

Is this the line that determins the line crossed? EDIT: sorry re-read your post and you already answered it.
Thanks for posting this as it would be great if my camera has this ability. Will have a look into it soon.

Yes! I re-read my post a few times and made some edits to clarify. Give it a try… i was trying to figure out the ISAPI URL for controlling the MIN/MAX object sizes that trigger smart events and came across this.

Here’s what i did to alter these values:

/usr/bin/curl -k --silent -H 'Content-Type:application/xml' -X PUT -d "
<LineItem>
<id>2</id>
<enabled>false</enabled>
<sensitivityLevel>50</sensitivityLevel>
<directionSensitivity>any</directionSensitivity>
<CoordinatesList>
<Coordinates>
<positionX>530</positionX>
<positionY>999</positionY>
</Coordinates>
<Coordinates>
<positionX>530</positionX>
<positionY>100</positionY>
</Coordinates>
</CoordinatesList>
</LineItem>" http://$IP/ISAPI/Smart/LineDetection/1/lineitem/2 --digest -u $username:$password

Update $IP, $USERNAME and $PASSWORD to reflect your camera and login information.

You can see the lines added if you enable RULES on your NVR. Here was my test (the verticle line down my driveway) which works. Im pretty excited to have multiple lines now :smiley:

image

1 Like

Did this work for your camera’s ?

Not sure when I will get some time as I want to update the firmware first and then do some testing and setup on the latest firmware. I want to have multiple lines, so should not be too long and I expect it will work as the firmware is now made generic and not compiled for each camera anymore.

Hey guys!
i’m using this binding with my door bell with these cam.things:

Thing ipcamera:generic:Entry
[
    ipAddress="192.168.178.151", password="yes", username="admin", pollTime=1000, serverPort=54323,
    snapshotUrl="http://192.168.178.151:8080/?action=snapshot",
    mjpegUrl="http://192.168.178.151:8080/?action=stream"
]

and there cam.items:

String HttpOnlyMjpegStreamUrl "Mjpeg Stream" (Group_HabPanel_Dashboard)  { channel="ipcamera:generic:Entry:mjpegUrl" }
String HttpOnlyImageUrl "Image Url" { channel="ipcamera:generic:Entry:imageUrl" }

with Habpanel i was able to display the video with a image widget and the HttpOnlyMjpegStreamUrl item.
i have tried the same with the new MainUI and it still works with a Image Card. is that the right way to display the stream or will this cause too much load for my rpi?

Image card works well, but these have more features especially if the camera has PTZ.

OH3 Widget: Building a camera widget - Add-ons / UIs - openHAB Community

1 Like

Have someone a working configuration with an “old” mobotix camera ?

And also. how you are managing to browse through the history of you events and videos ?

Hi all, I am on OH3 on my rasberry pi 4b.

I have 3 or 4 habpanel dashboards on tablets across the house and would like one to display the cameras from my hikvision nvr when the corresponding dashboard is selected

I have installed the binding.
The nvr appears online.
I tried using the string created by the channel to display but nothing coming through.

Q1 - does ffmpeg need to be installed;
Q2 - what is the best scenario cpu wise; I don’t need the cameras when I am not looking at the dash.

Thanks!

I was using this widget on habpanel just have not gotten around to creating something for the new main UI yet.

The reason for this is I use telegram to send an off site copy of the events so they are safe if someone steals the NVR. Very easy to review them in real-time from a phone without opening ports ina firewall.

I also like pushover as it can display a moving gif without needing to unlock or touch your phone. At work it was great as you just have the phone pointed towards you.

No but some features do require it. What URL were you wanting to display? Snapshots and autofps mjpeg streams do not need ffmpeg if your camera can supply a snapshot.

The lowest impact on your system would be the autofps.mjpeg since your cameras have motion detection in them. The ipcamera.mjpeg should also work if you setup the camera as per the docs and won’t need ffmpeg either. Just give them a try to see what U prefer.

hi @matt1 the url that the system is giving me is as

i am also repeating incase i wasnt clear that i am on an NVR (h.264) encoding. For now I want something that only looks at the cameras of the NVR (channel0?) and only when i look at the habpanel dashboard. I am pretty sure the nvr doesnt support mjpeg