core icon indicating copy to clipboard operation
core copied to clipboard

ONVIF raises CancelledError during setup from anyio with CamHipro Wireless WiFi 5MP 240X ZOOM Humanoid SONY IMX 335 IP Camera DV Recorder Support SD MIC Speaker

Open criticallimit opened this issue 1 year ago • 36 comments

The problem

next onvif problem here

What version of Home Assistant Core has the issue?

2023.5.0b5

What was the last working version of Home Assistant Core?

2023.4.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

onvif

Link to integration documentation on our website

No response

Diagnostics information

Logger: homeassistant.config_entries Source: components/onvif/device.py:309 First occurred: 22:12:07 (1 occurrences) Last logged: 22:12:07

Error setting up entry Cam Zoom 3 - C4:3C:B0:EA:72:5A for onvif
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 38, in async_setup_entry
    await device.async_setup()
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 112, in async_setup
    self.profiles = await self.async_get_profiles()
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 309, in async_get_profiles
    result = await media_service.GetProfiles()
  File "/usr/local/lib/python3.10/site-packages/zeep/proxy.py", line 64, in __call__
    return await self._proxy._binding.send_async(
  File "/usr/local/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 156, in send_async
    response = await client.transport.post_xml(
  File "/usr/local/lib/python3.10/site-packages/zeep/transports.py", line 235, in post_xml
    response = await self.post(address, message, headers)
  File "/usr/local/lib/python3.10/site-packages/zeep/transports.py", line 220, in post
    response = await self.client.post(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1845, in post
    return await self.request(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1617, in send
    response = await self._send_handling_auth(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1719, in _send_single_request
    response = await transport.handle_async_request(request)
  File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
    raise exc
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
    response = await connection.handle_async_request(request)
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection.py", line 90, in handle_async_request
    return await self._connection.handle_async_request(request)
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 116, in handle_async_request
    raise exc
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 95, in handle_async_request
    ) = await self._receive_response_headers(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 159, in _receive_response_headers
    event = await self._receive_event(timeout=timeout)
  File "/usr/local/lib/python3.10/site-packages/httpcore/_async/http11.py", line 195, in _receive_event
    data = await self._network_stream.read(
  File "/usr/local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 34, in read
    return await self._stream.receive(max_bytes=max_bytes)
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1265, in receive
    await self._protocol.read_event.wait()
  File "/usr/local/lib/python3.10/asyncio/locks.py", line 214, in wait
    await fut
asyncio.exceptions.CancelledError

criticallimit avatar Apr 30 '23 20:04 criticallimit

Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration (onvif) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of onvif can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign onvif Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


onvif documentation onvif source (message by IssueLinks)

home-assistant[bot] avatar Apr 30 '23 20:04 home-assistant[bot]

Looks like the anyio bug that I had been biting us in other issues.

https://github.com/agronholm/anyio/issues/374

There are no workarounds at this time

bdraco avatar Apr 30 '23 21:04 bdraco

If you reload the config entry a few times in the UI, can you eventually get it to setup?

bdraco avatar Apr 30 '23 21:04 bdraco

We can't resume on cancel as we have to raise to avoid blocking cancelation but we could retry the whole setup process by rasing ConfigEntryNotReady instead

bdraco avatar Apr 30 '23 21:04 bdraco

If you reload the config entry a few times in the UI, can you eventually get it to setup?

nope

criticallimit avatar Apr 30 '23 21:04 criticallimit

Can you post a link to the camera and where to purchase it ?

bdraco avatar Apr 30 '23 21:04 bdraco

Can you post a link to the camera and where to purchase it ?

https://de.aliexpress.com/item/1005005235188578.html?spm=a2g0o.productlist.main.1.23cd6e0dk1D0Gx&algo_pvid=cd48c28f-5a26-4178-bf4f-efbd8eb32069&algo_exp_id=cd48c28f-5a26-4178-bf4f-efbd8eb32069-0&pdp_npi=3%40dis%21EUR%2166.78%2166.78%21%21%21%21%21%40211bf4c516828912728448794d07ad%2112000032310567857%21sea%21DE%214002977691&curPageLogUid=JWE30BzSq63t

It´s a cheap chinese, but working till 2023.4.4

criticallimit avatar Apr 30 '23 21:04 criticallimit

Great. I ordered that one.

I added retries for now. I'll see if I can improve compatibility when it shows up.

bdraco avatar Apr 30 '23 22:04 bdraco

I'm assuming it uses https://play.google.com/store/apps/details?id=com.hichip.campro&hl=en_US&gl=US as those firmwares have been particularly difficult to keep working as they are pretty finicky

bdraco avatar Apr 30 '23 22:04 bdraco

thanx a lot!

criticallimit avatar Apr 30 '23 22:04 criticallimit

CAMHI Camera http CGI manual (2022-04-15).pdf

maybe this cgi doc helps?

criticallimit avatar Apr 30 '23 22:04 criticallimit

Its usually something subtle with the camera's onvif implementation. I've seen one where it only failed when it it received more than 10 requests per minute but worked fine until the 9th request. Any small change can have unintended consequences with these brittle onvif implementations so its always a bit a trial and error to figure out how to get it to work which is why I just order the camera now.

bdraco avatar Apr 30 '23 22:04 bdraco

I have this one that I just got that I'm working through now https://www.amazon.com/dp/B092V7BW7C?psc=1&ref=ppx_yo2ov_dt_b_product_details. I'm pretty sure it uses similar firmware. It works fine with ethernet but fails on wifi. Unfortunately it doesn't look like the same issue

bdraco avatar Apr 30 '23 22:04 bdraco

Thats a thought. Do you have it connected via ethernet or wifi?

bdraco avatar Apr 30 '23 22:04 bdraco

Thats a thought. Do you have it connected via ethernet or wifi?

On wifi And it worked before on 2023.4.4

No matter if on Wi-Fi or Ethernet. Same behavior since 2023.5.betas

criticallimit avatar Apr 30 '23 23:04 criticallimit

I'll be sure to setup the test unit on wifi when it arrives. If you can test with ethernet in the mean that that would be a helpful datapoint

bdraco avatar Apr 30 '23 23:04 bdraco

I'll be sure to setup the test unit on wifi when it arrives. If you can test with ethernet in the mean that that would be a helpful datapoint

Will check tomorrow with 5.0b5 again on ethernet

criticallimit avatar Apr 30 '23 23:04 criticallimit

ok. Checked with cam connected via ethernet. Same Faults in the log.

criticallimit avatar May 01 '23 07:05 criticallimit

Thanks for checking. I’ll report back when the test unit arrives

bdraco avatar May 01 '23 13:05 bdraco

here a debug (where 192.168.178.39 is the faulty cam, all other cams are working good): Maybe it will help you to identify the problem

2023-05-01 15:48:06.396 DEBUG (MainThread) [onvif] Creating service ('devicemgmt', None) with http://192.168.178.39:8080/onvif/device_service
2023-05-01 15:48:06.405 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/device_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/device/wsdl/GetCapabilities</wsa:Action><wsa:MessageID>urn:uuid:c532e103-51f6-40ff-9482-248711e4ff9f</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/device_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">2RWHAPiLw/o8BbAeNK5pDKILAJ0=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">N3f3XZEw51JmFa1X3x4KSw==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetCapabilities xmlns:ns0="http://www.onvif.org/ver10/device/wsdl"><ns0:Category>All</ns0:Category></ns0:GetCapabilities></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.425 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/device_service (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><tds:GetCapabilitiesResponse><tds:Capabilities><tt:Analytics><tt:XAddr>http://192.168.178.39:8080/onvif/Analytics</tt:XAddr><tt:RuleSupport>true</tt:RuleSupport><tt:AnalyticsModuleSupport>true</tt:AnalyticsModuleSupport></tt:Analytics><tt:Device><tt:XAddr>http://192.168.178.39:8080/onvif/device_service</tt:XAddr><tt:Network><tt:IPFilter>false</tt:IPFilter><tt:ZeroConfiguration>false</tt:ZeroConfiguration><tt:IPVersion6>false</tt:IPVersion6><tt:DynDNS>false</tt:DynDNS></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>4</tt:Minor></tt:SupportedVersions></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:Security></tt:Device><tt:Events><tt:XAddr>http://192.168.178.39:8080/onvif/event_service</tt:XAddr><tt:WSSubscriptionPolicySupport>false</tt:WSSubscriptionPolicySupport><tt:WSPullPointSupport>false</tt:WSPullPointSupport><tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport></tt:Events><tt:Imaging><tt:XAddr>http://192.168.178.39:8080/onvif/image_service</tt:XAddr></tt:Imaging><tt:Media><tt:XAddr>http://192.168.178.39:8080/onvif/media_service</tt:XAddr><tt:StreamingCapabilities><tt:RTPMulticast>false</tt:RTPMulticast><tt:RTP_TCP>false</tt:RTP_TCP><tt:RTP_RTSP_TCP>false</tt:RTP_RTSP_TCP></tt:StreamingCapabilities><tt:Extension><tt:ProfileCapabilities><tt:MaximumNumberOfProfiles>4</tt:MaximumNumberOfProfiles></tt:ProfileCapabilities></tt:Extension></tt:Media><tt:PTZ><tt:XAddr>http://192.168.178.39:8080/onvif/ptz_service</tt:XAddr></tt:PTZ><tt:Extension></tt:Extension></tds:Capabilities></tds:GetCapabilitiesResponse></s:Body></s:Envelope>'
2023-05-01 15:48:06.435 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Setting up the ONVIF device management service
2023-05-01 15:48:06.435 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Retrieving current device date/time
2023-05-01 15:48:06.437 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/device_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/device/wsdl/GetSystemDateAndTime</wsa:Action><wsa:MessageID>urn:uuid:83260306-3465-4cca-973e-ec4777bdf2ac</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/device_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">IVt/ZQEdJ6BQSoeKmki3pN6i1P8=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">guHwQZBULb/qozHgWqks4g==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetSystemDateAndTime xmlns:ns0="http://www.onvif.org/ver10/device/wsdl"/></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.463 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/device_service (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><tds:GetSystemDateAndTimeResponse><tds:SystemDateAndTime><tt:DateTimeType>Manual</tt:DateTimeType><tt:DaylightSavings>true</tt:DaylightSavings><tt:TimeZone><tt:TZ>CEST</tt:TZ></tt:TimeZone><tt:UTCDateTime><tt:Time><tt:Hour>13</tt:Hour><tt:Minute>48</tt:Minute><tt:Second>6</tt:Second></tt:Time><tt:Date><tt:Year>2023</tt:Year><tt:Month>5</tt:Month><tt:Day>1</tt:Day></tt:Date></tt:UTCDateTime></tds:SystemDateAndTime></tds:GetSystemDateAndTimeResponse></s:Body></s:Envelope>'
2023-05-01 15:48:06.469 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Device time: {
    'DateTimeType': 'Manual',
    'DaylightSavings': True,
    'TimeZone': {
        'TZ': 'CEST'
    },
    'UTCDateTime': {
        'Time': {
            'Hour': 13,
            'Minute': 48,
            'Second': 6
        },
        'Date': {
            'Year': 2023,
            'Month': 5,
            'Day': 1
        }
    },
    'LocalDateTime': None,
    'Extension': None,
    '_attr_1': None
}
2023-05-01 15:48:06.470 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Device date/time: 2023-05-01 13:48:06+00:00 | System date/time: 2023-05-01 13:48:06.435454+00:00
2023-05-01 15:48:06.475 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/device_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/device/wsdl/GetDeviceInformation</wsa:Action><wsa:MessageID>urn:uuid:4b4f1559-dfd8-41e5-a0c7-634ce5fcbdc1</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/device_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">wa51IZ8s2XqfQ6oO9E9al6k0BkA=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">ekdyVV77nz2CSiFriJpWlA==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetDeviceInformation xmlns:ns0="http://www.onvif.org/ver10/device/wsdl"/></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.517 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/device_service (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><tds:GetDeviceInformationResponse><tds:Manufacturer>IPCAM</tds:Manufacturer><tds:Model>C6F0SoZ3N0PnL2</tds:Model><tds:FirmwareVersion>V24.1.45.16.65-20230217</tds:FirmwareVersion><tds:SerialNumber>C43CB0EA725A</tds:SerialNumber><tds:HardwareId>V24.1.45.16.65-20230217</tds:HardwareId></tds:GetDeviceInformationResponse></s:Body></s:Envelope>'
2023-05-01 15:48:06.525 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/device_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/device/wsdl/GetNetworkInterfaces</wsa:Action><wsa:MessageID>urn:uuid:e0d919b5-5d08-48a9-9793-7e878a1f0d48</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/device_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">Aio0Zoa9AKGqNTc4HYRaRleQzQw=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">1tK5tOJAUGG1hx4Rk8ViCQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetNetworkInterfaces xmlns:ns0="http://www.onvif.org/ver10/device/wsdl"/></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.552 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/device_service (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><tds:GetNetworkInterfacesResponse><tds:NetworkInterfaces token="eth0"><tt:Enabled>true</tt:Enabled><tt:Info><tt:Name>eth0</tt:Name><tt:HwAddress>C4:3C:B0:EA:72:5A</tt:HwAddress><tt:MTU>1500</tt:MTU></tt:Info><tt:IPv4><tt:Enabled>true</tt:Enabled><tt:Config><tt:FromDHCP><tt:Address>192.168.178.39</tt:Address><tt:PrefixLength>24</tt:PrefixLength></tt:FromDHCP><tt:DHCP>true</tt:DHCP></tt:Config></tt:IPv4></tds:NetworkInterfaces></tds:GetNetworkInterfacesResponse></s:Body></s:Envelope>'
2023-05-01 15:48:06.558 DEBUG (MainThread) [homeassistant.components.onvif] Camera Cam Zoom 3 info = DeviceInfo(manufacturer='IPCAM', model='C6F0SoZ3N0PnL2', fw_version='V24.1.45.16.65-20230217', serial_number='C43CB0EA725A', mac='C4:3C:B0:EA:72:5A')
2023-05-01 15:48:06.559 DEBUG (MainThread) [onvif] Creating service ('media', None) with http://192.168.178.39:8080/onvif/media_service
2023-05-01 15:48:06.563 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/media_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/media/wsdl/GetServiceCapabilities</wsa:Action><wsa:MessageID>urn:uuid:ea22d183-74fe-488c-a136-cec27a0e8ac5</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/media_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">F2FBKj+RgaxRYE6JR4qi3eTCQtM=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kIZjhLT8WTGG/0lZNEFvaQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetServiceCapabilities xmlns:ns0="http://www.onvif.org/ver10/media/wsdl"/></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.589 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/media_service (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><trt:GetServiceCapabilitiesResponse><trt:Capabilities SnapshotUri="true" Rotation="false" VideoSourceMode="false" OSD="true"><trt:ProfileCapabilities MaximumNumberOfProfiles="4" /><trt:StreamingCapabilities RTPMulticast="true" RTP_TCP="true" RTP_RTSP_TCP="true" NonAggregateControl="false" NoRTSPStreaming="false" /></trt:Capabilities></trt:GetServiceCapabilitiesResponse></s:Body></s:Envelope>'
2023-05-01 15:48:06.594 DEBUG (MainThread) [onvif] Creating service ('imaging', None) with http://192.168.178.39:8080/onvif/image_service
2023-05-01 15:48:06.596 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Starting PullPoint manager
2023-05-01 15:48:06.596 DEBUG (MainThread) [onvif] Creating service ('events', None) with http://192.168.178.39:8080/onvif/event_service
2023-05-01 15:48:06.600 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/event_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionRequest</wsa:Action><wsa:MessageID>urn:uuid:b3d99d66-913b-406e-ad3d-db809e997473</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsa:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionRequest</wsa:Action><wsa:MessageID>urn:uuid:45364aa7-701a-49a4-a4f0-4c6d786eff66</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">WOGX7nCXurGttGNs9pWLe0poGsg=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">D1xbtemDAqkHYSu/pD1eEQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:CreatePullPointSubscription xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:InitialTerminationTime>PT3M</ns0:InitialTerminationTime></ns0:CreatePullPointSubscription></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.621 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/event_service (status: 400):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><s:Fault><s:Code><s:Value>s:Receiver</s:Value><s:Subcode><s:Value>ter:ActionNotSupported</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en">Action Not Implemented</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>'
2023-05-01 15:48:06.625 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Failed to create PullPoint subscription
2023-05-01 15:48:06.625 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Starting webhook manager
2023-05-01 15:48:06.626 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Registering webhook: onvif_9d5a24995a3debc60b34f74884990c57
2023-05-01 15:48:06.626 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Unregistering webhook onvif_9d5a24995a3debc60b34f74884990c57
2023-05-01 15:48:06.627 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Registered webhook: onvif_9d5a24995a3debc60b34f74884990c57
2023-05-01 15:48:06.627 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Creating webhook subscription
2023-05-01 15:48:06.627 DEBUG (MainThread) [onvif] Creating service ('notification', None) with http://192.168.178.39:8080/onvif/event_service
2023-05-01 15:48:06.632 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/event_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action><wsa:MessageID>urn:uuid:546b0f38-b84d-4345-b73b-f86d276a42ad</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">2Ka/fHgnqaxAKyvZrhl4oMfo2iU=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">rzppmPlhdOlP9WsLTZd9CQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Subscribe xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:ConsumerReference><ns1:Address xmlns:ns1="http://www.w3.org/2005/08/addressing">http://192.168.178.10:8123/api/webhook/onvif_9d5a24995a3debc60b34f74884990c57</ns1:Address></ns0:ConsumerReference><ns0:InitialTerminationTime>PT3M</ns0:InitialTerminationTime></ns0:Subscribe></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:08.720 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:08.851 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:10.909 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:10.931 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:11.985 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:11.999 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:14.062 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:14.086 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Processed webhook onvif_b628ea78de3f2de5be492da08c412518 with 4 event(s)
2023-05-01 15:48:54.586 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.29:8899/event_service/1:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest</wsa:Action><wsa:MessageID>urn:uuid:8fcc1a3c-c679-4141-ae52-88ee39e5010d</wsa:MessageID><wsa:To>http://192.168.178.29:8899/event_service/1</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">mg+aGrin5bNjAw4SoCePNQHAcbg=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">IrVvsk8v5BVF5ACQHOvI3Q==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:54+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Renew xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:TerminationTime>PT3M</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:54.662 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.29:8899/event_service/1 (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2" xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12" xmlns:http="http://schemas.xmlsoap.org/wsdl/http" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsadis="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tst="http://www.onvif.org/ver10/storage/wsdl" xmlns:dn="http://www.onvif.org/ver10/network/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:axt="http://www.onvif.org/ver20/analytics" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"><s:Header><wsa:MessageID>urn:uuid:8fcc1a3c-c679-4141-ae52-88ee39e5010d</wsa:MessageID><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2023-05-01T13:49:54Z</wsnt:TerminationTime><wsnt:CurrentTime>2023-05-01T13:48:54Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>'
2023-05-01 15:48:54.671 DEBUG (MainThread) [homeassistant.components.onvif] Cam rechts: Renewed Webhook subscription
2023-05-01 15:49:33.785 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.37:8080/onvif/Notification?Idx=672502341:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest</wsa:Action><wsa:MessageID>urn:uuid:0ad03e59-7789-4cb0-bf38-ce27a32a7bd3</wsa:MessageID><wsa:To>http://192.168.178.37:8080/onvif/Notification?Idx=672502341</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">3EwrdJ8PBDDK+W9ddwbJNqj+kKc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">57IPBfPDmWm9XY01VyCv2w==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:49:33+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Renew xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:TerminationTime>PT3M</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:49:33.991 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.32:8080/onvif/Notification?Idx=2502184472:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest</wsa:Action><wsa:MessageID>urn:uuid:b260163b-eb8a-472e-957a-e3d6b4ffa377</wsa:MessageID><wsa:To>http://192.168.178.32:8080/onvif/Notification?Idx=2502184472</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">JVIkxUOb/tt818SYHsfqaORD0+A=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MAIlMSJ5JcH/bKnl/CFsMg==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:49:33+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Renew xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:TerminationTime>PT3M</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:49:34.067 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.32:8080/onvif/Notification?Idx=2502184472 (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver20/media/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tad="http://www.onvif.org/ver20/analytics/wsdl"><SOAP-ENV:Header><wsa5:MessageID>urn:uuid:b260163b-eb8a-472e-957a-e3d6b4ffa377</wsa5:MessageID><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.178.32:8080/onvif/Notification?Idx=2502184472</wsa5:To><wsa5:Action SOAP-ENV:mustUnderstand="1">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action><wsse:Security><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">JVIkxUOb/tt818SYHsfqaORD0+A=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MAIlMSJ5JcH/bKnl/CFsMg==</wsse:Nonce><wsu:Created>2023-05-01T13:49:33+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:RenewResponse><wsnt:TerminationTime>2023-05-01T13:52:34Z</wsnt:TerminationTime><wsnt:CurrentTime>2023-05-01T13:49:34Z</wsnt:CurrentTime></wsnt:RenewResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n'
2023-05-01 15:49:34.073 DEBUG (MainThread) [homeassistant.components.onvif] Cam Esszimmer: Renewed Webhook subscription
2023-05-01 15:49:34.096 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.37:8080/onvif/Notification?Idx=672502341 (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver20/media/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tad="http://www.onvif.org/ver20/analytics/wsdl"><SOAP-ENV:Header><wsa5:MessageID>urn:uuid:0ad03e59-7789-4cb0-bf38-ce27a32a7bd3</wsa5:MessageID><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.178.37:8080/onvif/Notification?Idx=672502341</wsa5:To><wsa5:Action SOAP-ENV:mustUnderstand="1">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action><wsse:Security><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">3EwrdJ8PBDDK+W9ddwbJNqj+kKc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">57IPBfPDmWm9XY01VyCv2w==</wsse:Nonce><wsu:Created>2023-05-01T13:49:33+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:RenewResponse><wsnt:TerminationTime>2023-05-01T13:52:34Z</wsnt:TerminationTime><wsnt:CurrentTime>2023-05-01T13:49:34Z</wsnt:CurrentTime></wsnt:RenewResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n'
2023-05-01 15:49:34.101 DEBUG (MainThread) [homeassistant.components.onvif] Cam Wohnen: Renewed Webhook subscription
2023-05-01 15:49:34.238 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.33:8080/onvif/Notification?Idx=1718900662:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest</wsa:Action><wsa:MessageID>urn:uuid:a3f310d6-f2d6-4522-bc14-26745e01b071</wsa:MessageID><wsa:To>http://192.168.178.33:8080/onvif/Notification?Idx=1718900662</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">D2AhfeLv/esklGtkSqhx9O02wTc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">RY9Hge0heHpzuckUgtO7Bg==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:49:34+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Renew xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:TerminationTime>PT3M</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:49:34.409 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.33:8080/onvif/Notification?Idx=1718900662 (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver20/media/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tad="http://www.onvif.org/ver20/analytics/wsdl"><SOAP-ENV:Header><wsa5:MessageID>urn:uuid:a3f310d6-f2d6-4522-bc14-26745e01b071</wsa5:MessageID><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.178.33:8080/onvif/Notification?Idx=1718900662</wsa5:To><wsa5:Action SOAP-ENV:mustUnderstand="1">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action><wsse:Security><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">D2AhfeLv/esklGtkSqhx9O02wTc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">RY9Hge0heHpzuckUgtO7Bg==</wsse:Nonce><wsu:Created>2023-05-01T13:49:34+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:RenewResponse><wsnt:TerminationTime>2023-05-01T13:52:34Z</wsnt:TerminationTime><wsnt:CurrentTime>2023-05-01T13:49:34Z</wsnt:CurrentTime></wsnt:RenewResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n'
2023-05-01 15:49:34.415 DEBUG (MainThread) [homeassistant.components.onvif] Cam Mo: Renewed Webhook subscription
2023-05-01 15:49:35.222 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.36:8080/onvif/Notification?Idx=1745932102:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest</wsa:Action><wsa:MessageID>urn:uuid:0634b944-67ef-4e3b-a3aa-9cd1e7526c74</wsa:MessageID><wsa:To>http://192.168.178.36:8080/onvif/Notification?Idx=1745932102</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">dEJ7MRdfQVXkzgk6QGH/fpmyusE=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">L6coeuvAD7iNMgTDm9urcQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:49:35+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Renew xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:TerminationTime>PT3M</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:49:35.300 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.36:8080/onvif/Notification?Idx=1745932102 (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver20/media/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tad="http://www.onvif.org/ver20/analytics/wsdl"><SOAP-ENV:Header><wsa5:MessageID>urn:uuid:0634b944-67ef-4e3b-a3aa-9cd1e7526c74</wsa5:MessageID><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.178.36:8080/onvif/Notification?Idx=1745932102</wsa5:To><wsa5:Action SOAP-ENV:mustUnderstand="1">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa5:Action><wsse:Security><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">dEJ7MRdfQVXkzgk6QGH/fpmyusE=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">L6coeuvAD7iNMgTDm9urcQ==</wsse:Nonce><wsu:Created>2023-05-01T13:49:35+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:RenewResponse><wsnt:TerminationTime>2023-05-01T13:52:35Z</wsnt:TerminationTime><wsnt:CurrentTime>2023-05-01T13:49:35Z</wsnt:CurrentTime></wsnt:RenewResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n'
2023-05-01 15:49:35.306 DEBUG (MainThread) [homeassistant.components.onvif] Cam Küche: Renewed Webhook subscription
2023-05-01 15:49:36.650 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Creating webhook subscription
2023-05-01 15:49:36.657 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/event_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action><wsa:MessageID>urn:uuid:147051e7-b34a-4c04-89df-9468d7621670</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">fsvghb7i0pqBJYXWrG6DqZy2cLI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">GR05SMHWGNxxuB+xznzFEA==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:49:36+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Subscribe xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:ConsumerReference><ns1:Address xmlns:ns1="http://www.w3.org/2005/08/addressing">http://192.168.178.10:8123/api/webhook/onvif_9d5a24995a3debc60b34f74884990c57</ns1:Address></ns0:ConsumerReference><ns0:InitialTerminationTime>PT3M</ns0:InitialTerminationTime></ns0:Subscribe></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:50:24.676 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.29:8899/event_service/1:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest</wsa:Action><wsa:MessageID>urn:uuid:8e5159b5-fe3e-488b-99d9-28e1acca9800</wsa:MessageID><wsa:To>http://192.168.178.29:8899/event_service/1</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">Z2TyLMjWrmOqXvqAoy8Xdgp2ceg=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">t3arOcEibNwR03zk8sareQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:50:24+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Renew xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:TerminationTime>PT3M</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:50:24.721 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.29:8899/event_service/1 (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2" xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12" xmlns:http="http://schemas.xmlsoap.org/wsdl/http" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsadis="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tst="http://www.onvif.org/ver10/storage/wsdl" xmlns:dn="http://www.onvif.org/ver10/network/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:axt="http://www.onvif.org/ver20/analytics" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"><s:Header><wsa:MessageID>urn:uuid:8e5159b5-fe3e-488b-99d9-28e1acca9800</wsa:MessageID><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2023-05-01T13:51:24Z</wsnt:TerminationTime><wsnt:CurrentTime>2023-05-01T13:50:24Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>'
2023-05-01 15:50:24.728 DEBUG (MainThread) [homeassistant.components.onvif] Cam rechts: Renewed Webhook subscription

criticallimit avatar May 01 '23 14:05 criticallimit

2023-05-01 15:48:06.600 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/event_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionRequest</wsa:Action><wsa:MessageID>urn:uuid:b3d99d66-913b-406e-ad3d-db809e997473</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsa:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionRequest</wsa:Action><wsa:MessageID>urn:uuid:45364aa7-701a-49a4-a4f0-4c6d786eff66</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">WOGX7nCXurGttGNs9pWLe0poGsg=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">D1xbtemDAqkHYSu/pD1eEQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:CreatePullPointSubscription xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:InitialTerminationTime>PT3M</ns0:InitialTerminationTime></ns0:CreatePullPointSubscription></soap-env:Body></soap-env:Envelope>'
2023-05-01 15:48:06.621 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.178.39:8080/onvif/event_service (status: 400):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><s:Fault><s:Code><s:Value>s:Receiver</s:Value><s:Subcode><s:Value>ter:ActionNotSupported</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en">Action Not Implemented</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>'

It looks like the camera doesn't support PullPoint Action Not Implemented

So it tries to create a webhook subscription

2023-05-01 15:48:06.627 DEBUG (MainThread) [homeassistant.components.onvif] Cam Zoom 3: Creating webhook subscription
2023-05-01 15:48:06.627 DEBUG (MainThread) [onvif] Creating service ('notification', None) with http://192.168.178.39:8080/onvif/event_service
2023-05-01 15:48:06.632 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.178.39:8080/onvif/event_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action><wsa:MessageID>urn:uuid:546b0f38-b84d-4345-b73b-f86d276a42ad</wsa:MessageID><wsa:To>http://192.168.178.39:8080/onvif/event_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">2Ka/fHgnqaxAKyvZrhl4oMfo2iU=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">rzppmPlhdOlP9WsLTZd9CQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-01T13:48:06+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Subscribe xmlns:ns0="http://docs.oasis-open.org/wsn/b-2"><ns0:ConsumerReference><ns1:Address xmlns:ns1="http://www.w3.org/2005/08/addressing">http://192.168.178.10:8123/api/webhook/onvif_9d5a24995a3debc60b34f74884990c57</ns1:Address></ns0:ConsumerReference><ns0:InitialTerminationTime>PT3M</ns0:InitialTerminationTime></ns0:Subscribe></soap-env:Body></soap-env:Envelope>'

And thats where the logs end

bdraco avatar May 01 '23 14:05 bdraco

so I have to stay at 2023.4.4 ?

criticallimit avatar May 01 '23 14:05 criticallimit

I opened https://github.com/home-assistant/core/pull/92333 to avoid starting PullPoint if the camera reports its unsupported.

I have no idea if it will improve the situation but at least we won't have to wait for it to fail at startup

bdraco avatar May 01 '23 14:05 bdraco

2023.5.0b6 is cooking now with that change

bdraco avatar May 01 '23 20:05 bdraco

2023.5.0b6:

Now all other cams stopped working (Reolink and 2 other chinese).

Continous move is no longer working and moving to presets. Starting ONVIF at startup is taking ages like before in 2303.5.0b5

Logger: homeassistant.components.onvif
Source: components/onvif/device.py:436 
Integration: ONVIF (documentation, issues) 
First occurred: 07:49:52 (32 occurrences) 
Last logged: 07:51:19

ContinuousMove not supported on device 'Cam rechts'
ContinuousMove not supported on device 'Cam Küche'
ContinuousMove not supported on device 'Cam Esszimmer'
ContinuousMove not supported on device 'Cam Mo'
Logger: homeassistant.components.camera
Source: components/camera/__init__.py:817 
Integration: Kamera (documentation, issues) 
First occurred: 07:50:28 (2 occurrences) 
Last logged: 07:50:38

Timeout getting stream source
Logger: homeassistant
Source: runner.py:179 
First occurred: 07:31:00 (1 occurrences) 
Last logged: 07:31:00

Error doing job: Unclosed client session

criticallimit avatar May 02 '23 05:05 criticallimit

Can you post full debug logs? Is it possible you have a custom component installed that is pinning the onvif library to the wrong version?

bdraco avatar May 02 '23 07:05 bdraco

Too late, sorry. Back to 2023.4.4 because it´s my working horse for the house. Have no system where I can play with, but will buy another RasPi for testing and playing with.

But I have webRTC installed ( https://github.com/AlexxIT/WebRTC) for the custom Cam cards. RTSP Stream is very quick and fluently with that

criticallimit avatar May 02 '23 07:05 criticallimit

I have a good idea what went wrong with the last change. I reverted it in https://github.com/home-assistant/core/pull/92354 and pulled out the event start which should hopefully still have the intended effect without the collateral breakage

bdraco avatar May 02 '23 07:05 bdraco

I managed to get the camera I mentioned before with the same firmware to fail.

Its sending back the wrong xaddr so it flips from http://192.168.210.220:8080 to http://192.168.1.88:8080/onvif/media_service so when I changed the order in the last PR we get the bad xaddr sooner whcih makes everything fail

2023-05-02 03:17:03.106 DEBUG (MainThread) [httpx] HTTP Request: POST http://192.168.210.220:8080/onvif/device_service "HTTP/1.1 200 OK"
2023-05-02 03:17:03.107 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.210.220:8080/onvif/device_service (status: 200):
b'<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:e="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"  xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl" xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema" ><s:Body><tds:GetNetworkInterfacesResponse><tds:NetworkInterfaces token="eth0"><tt:Enabled>true</tt:Enabled><tt:Info><tt:Name>eth0</tt:Name><tt:HwAddress>00:FE:0C:A4:DB:43</tt:HwAddress><tt:MTU>1500</tt:MTU></tt:Info><tt:IPv4><tt:Enabled>true</tt:Enabled><tt:Config><tt:FromDHCP><tt:Address>192.168.210.220</tt:Address><tt:PrefixLength>24</tt:PrefixLength></tt:FromDHCP><tt:DHCP>true</tt:DHCP></tt:Config></tt:IPv4></tds:NetworkInterfaces></tds:GetNetworkInterfacesResponse></s:Body></s:Envelope>'
2023-05-02 03:17:03.108 DEBUG (MainThread) [homeassistant.components.onvif] Camera luowice info = DeviceInfo(manufacturer='IPCAM', model='C6F0SoZ3N0PgL2', fw_version='V21.1.11.16.3-20220516', serial_number='00FE0CA4DB43', mac='00:FE:0C:A4:DB:43')
2023-05-02 03:17:03.108 DEBUG (MainThread) [homeassistant.components.onvif] luowice: fetching initial capabilities
2023-05-02 03:17:03.108 DEBUG (MainThread) [onvif] Creating service ('media', None) with http://192.168.1.88:8080/onvif/media_service
2023-05-02 03:17:03.108 DEBUG (MainThread) [httpx] load_ssl_context verify=<ssl.SSLContext object at 0x2a4e40e40> cert=None trust_env=True http2=False
2023-05-02 03:17:03.108 DEBUG (MainThread) [httpx] load_ssl_context verify=<ssl.SSLContext object at 0x2a4e40e40> cert=None trust_env=True http2=False
2023-05-02 03:17:03.109 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.1.88:8080/onvif/media_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/media/wsdl/GetServiceCapabilities</wsa:Action><wsa:MessageID>urn:uuid:b659f64d-8a78-4d94-abea-9a1dfe4f418e</wsa:MessageID><wsa:To>http://192.168.1.88:8080/onvif/media_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">2zJkCwbQIaAN7vhz3LjX2s/mdzw=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">9zmLsMDinSQKBNM1PNVBzQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-02T08:17:03+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetServiceCapabilities xmlns:ns0="http://www.onvif.org/ver10/media/wsdl"/></soap-env:Body></soap-env:Envelope>'
2023-05-02 03:17:10.175 DEBUG (MainThread) [onvif] Creating service ('imaging', None) with http://192.168.1.88:8080/onvif/image_service
2023-05-02 03:17:10.176 DEBUG (MainThread) [httpx] load_ssl_context verify=<ssl.SSLContext object at 0x2a4e40e40> cert=None trust_env=True http2=False
2023-05-02 03:17:10.177 DEBUG (MainThread) [httpx] load_ssl_context verify=<ssl.SSLContext object at 0x2a4e40e40> cert=None trust_env=True http2=False
2023-05-02 03:17:10.178 DEBUG (MainThread) [homeassistant.components.onvif] luowice: fetching profiles
2023-05-02 03:17:10.179 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.1.88:8080/onvif/media_service:
b'<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"><soap-env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.onvif.org/ver10/media/wsdl/GetProfiles</wsa:Action><wsa:MessageID>urn:uuid:493bc671-17ec-4ac2-b3de-beecf7fefba4</wsa:MessageID><wsa:To>http://192.168.1.88:8080/onvif/media_service</wsa:To><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>admin</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">5sHIWzYiepEVgnSaZHQYctXuCqw=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">88TvmOHaY1XZWY0cUJlt0g==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2023-05-02T08:17:10+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:GetProfiles xmlns:ns0="http://www.onvif.org/ver10/media/wsdl"/></soap-env:Body></soap-env:Envelope>'

bdraco avatar May 02 '23 08:05 bdraco

2023-05-02 03:21:20.645 DEBUG (MainThread) [homeassistant.components.onvif] luowice: xaddrs = {'http://www.onvif.org/ver20/analytics/wsdl': 'http://192.168.1.88:8080/onvif/Analytics', 'http://www.onvif.org/ver10/events/wsdl': 'http://192.168.1.88:8080/onvif/event_service', 'http://www.onvif.org/ver20/imaging/wsdl': 'http://192.168.1.88:8080/onvif/image_service', 'http://www.onvif.org/ver10/media/wsdl': 'http://192.168.1.88:8080/onvif/media_service', 'http://www.onvif.org/ver20/ptz/wsdl': 'http://192.168.1.88:8080/onvif/ptz_service'}

bdraco avatar May 02 '23 08:05 bdraco