Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONVIF error when panning camera: "Failed to perform the action onvif/ptz. Action Not Implemented" #125680

Open
T-Lancer opened this issue Sep 10, 2024 · 7 comments
Assignees

Comments

@T-Lancer
Copy link

The problem

I have been using the ONVIF integration with a number of identical cameras. Arenti AInanny. They all worked out of the box with HA, once ONVIF was enabled. However since a firmware update of the cameras ONVIF no longer works properly with HA.

the manufacturer cannot/does not want help. Other ONVIF tools, such as ODM still work fine, as before.

When attempting to move any direction I receive the following error message on the dashboard:

Failed to perform the action onvif/ptz. Action Not Implemented

the camera then pans in the requested direction until it hits the camera's limit and stops. reloading the page allows the camera to pan again, but with the same error and result. The issue has persisted in all HA core updates for the last 6 months at least. I assume there is some kind of ONVIF implementation issue, as it still works unchanged with other ONVIF tools.

What version of Home Assistant Core has the issue?

core-2024.9.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ONVIF

Link to integration documentation on our website

https://www.home-assistant.io/integrations/onvif

Diagnostics information

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.9.1",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.4",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "6.6.46-haos",
"supervisor": "2024.08.0",
"host_os": "Home Assistant OS 13.1",
"docker_version": "26.1.4",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"webrtc": {
"documentation": "https://github.com/AlexxIT/WebRTC",
"version": "v3.5.2",
"requirements": []
},
"homematicip_local": {
"documentation": "https://github.com/danielperna84/custom_homematic",
"version": "1.64.0",
"requirements": [
"hahomematic==2024.8.1"
]
},
"sleep_as_android": {
"documentation": "https://github.com/IATkachenko/HA-SleepAsAndroid/wiki",
"version": "2.3.0",
"requirements": [
"pyhaversion"
]
},
"yamaha_ynca": {
"documentation": "https://github.com/mvdwetering/yamaha_ynca",
"version": "7.10.1",
"requirements": [
"ynca==5.16.1"
]
},
"browser_mod": {
"documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md",
"version": "2.3.1",
"requirements": []
},
"grocy": {
"documentation": "https://github.com/custom-components/grocy",
"version": "v4.11.1",
"requirements": [
"pygrocy==2.0.0"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"unified_remote": {
"documentation": "",
"version": "6",
"requirements": []
},
"frigate": {
"documentation": "https://github.com/blakeblackshear/frigate",
"version": "5.3.0",
"requirements": [
"pytz"
]
}
},
"integration_manifest": {
"domain": "onvif",
"name": "ONVIF",
"codeowners": [
"hunterjm"
],
"config_flow": true,
"dependencies": [
"ffmpeg"
],
"dhcp": [
{
"registered_devices": true
}
],
"documentation": "https://www.home-assistant.io/integrations/onvif",
"iot_class": "local_push",
"loggers": [
"onvif",
"wsdiscovery",
"zeep"
],
"requirements": [
"onvif-zeep-async==3.1.12",
"WSDiscovery==2.0.0"
],
"is_built_in": true
},
"setup_times": {
"null": {
"setup": 2.6303983759135008e-05
},
"01J6EWNJ62G2C2398E8EDJ6EJA": {
"config_entry_setup": 4.169527783989906
},
"01J5QQ5YJEQY2M1YXS4WWJ4JHR": {
"wait_import_platforms": -1.8678088340093382,
"wait_base_component": -0.6080982399871573,
"config_entry_setup": 6.804878945986275
},
"01J5QQ31YMXBSDWWN8H6TQD9BZ": {
"wait_import_platforms": -1.2517514349892735,
"wait_base_component": -0.5264516609895509,
"config_entry_setup": 6.814832320989808
},
"01J6EW8FNF1Y61XX62WW1SKM1S": {
"config_entry_setup": 11.237515771004837
}
},
"data": {
"config": {
"created_at": "1970-01-01T00:00:00+00:00",
"data": {
"name": "Babycam4",
"host": "REDACTED",
"port": 8000,
"username": "REDACTED",
"password": "REDACTED"
},
"disabled_by": null,
"domain": "onvif",
"entry_id": "01J5QQ5YJEQY2M1YXS4WWJ4JHR",
"minor_version": 1,
"modified_at": "1970-01-01T00:00:00+00:00",
"options": {
"extra_arguments": "-pred 1",
"rtsp_transport": "tcp",
"enable_webhooks": true,
"use_wallclock_as_timestamps": false
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"title": "Babycam4 - 9C:1C:37:E0:50:03",
"unique_id": "9C:1C:37:E0:50:03",
"version": 1
},
"device": {
"info": {
"manufacturer": "Meari",
"model": "Baby 3T",
"fw_version": "5.5.12",
"serial_number": "106531308",
"mac": "9C:1C:37:E0:50:03"
},
"capabilities": {
"snapshot": true,
"events": true,
"ptz": true,
"imaging": true
},
"profiles": [
{
"index": 0,
"token": "PROFILE_000",
"name": "PROFILE_000",
"video": {
"encoding": "H264",
"resolution": {
"width": 2304,
"height": 1296
}
},
"ptz": {
"continuous": true,
"relative": true,
"absolute": true,
"presets": []
},
"video_source_token": "V_SRC_000"
},
{
"index": 1,
"token": "PROFILE_001",
"name": "PROFILE_001",
"video": {
"encoding": "H264",
"resolution": {
"width": 1280,
"height": 720
}
},
"ptz": {
"continuous": true,
"relative": true,
"absolute": true,
"presets": []
},
"video_source_token": "V_SRC_000"
}
],
"services": {
"('devicemgmt', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/devicemgmt.wsdl",
"('media', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/media.wsdl",
"('imaging', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/imaging.wsdl",
"('ptz', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/ptz.wsdl",
"('events', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl",
"('subscription', 'PullPointSubscription')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl",
"('pullpoint', 'PullPointSubscription')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl",
"('notification', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl",
"('pullpoint', 'NotificationConsumer')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl",
"('subscription', 'NotificationConsumer')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl"
},
"xaddrs": {
"http://www.onvif.org/ver10/events/wsdl": "http://192.168.0.84:8000/onvif/event_services",
"http://www.onvif.org/ver20/imaging/wsdl": "http://192.168.0.84:8000/onvif/image_services",
"http://www.onvif.org/ver10/media/wsdl": "http://192.168.0.84:8000/onvif/media_service",
"http://www.onvif.org/ver20/ptz/wsdl": "http://192.168.0.84:8000/onvif/ptz_services",
"http://www.onvif.org/ver10/events/wsdl/PullPointSubscription": "http://192.168.0.84:8000/event_service/Subscriber3",
"http://www.onvif.org/ver10/events/wsdl/NotificationConsumer": "http://192.168.0.84:8000/event_service/Subscriber2"
}
},
"events": {
"webhook_manager_state": {
"__type": "<enum 'WebHookManagerState'>",
"repr": "<WebHookManagerState.STARTED: 1>"
},
"pullpoint_manager_state": {
"__type": "<enum 'PullPointManagerState'>",
"repr": "<PullPointManagerState.STARTED: 1>"
}
}
}
}

Example YAML snippet

ptz:
  service: onvif.ptz
  data_left:
    entity_id: camera.babycam4_profile_000
    speed: 0.5
    continuous_duration: 0.5
    move_mode: ContinuousMove
    pan: LEFT
  data_right:
    entity_id: camera.babycam4_profile_000
    speed: 0.5
    continuous_duration: 0.5
    move_mode: ContinuousMove
    pan: RIGHT
  data_up:
    entity_id: camera.babycam4_profile_000
    speed: 0.5
    continuous_duration: 0.5
    move_mode: ContinuousMove
    tilt: UP
  data_down:
    entity_id: camera.babycam4_profile_000
    speed: 0.5
    continuous_duration: 0.5
    move_mode: ContinuousMove
    tilt: DOWN

Anything in the logs that might be useful for us?

Debug log output

2024-09-10 16:37:25.021 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139774139026160] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 225, in async_perform_ptz
    await self.device.async_perform_ptz(
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 542, in async_perform_ptz
    await ptz_service.Stop(
  File "/usr/local/lib/python3.12/site-packages/zeep/proxy.py", line 64, in __call__
    return await self._proxy._binding.send_async(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
    return self.process_reply(client, operation_obj, response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
    return self.process_error(doc, operation)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
    raise Fault(
zeep.exceptions.Fault: Action Not Implemented
2024-09-10 16:37:41.307 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139774139026160] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 225, in async_perform_ptz
    await self.device.async_perform_ptz(
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 542, in async_perform_ptz
    await ptz_service.Stop(
  File "/usr/local/lib/python3.12/site-packages/zeep/proxy.py", line 64, in __call__
    return await self._proxy._binding.send_async(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
    return self.process_reply(client, operation_obj, response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
    return self.process_error(doc, operation)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
    raise Fault(
zeep.exceptions.Fault: Action Not Implemented
2024-09-10 16:38:27.361 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:27.365 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/event_service/Subscriber3:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:dcb94b0b-04cd-46cc-95f0-6160617f67fe</wsa:MessageID><wsa:To>http://192.168.0.84:8000/event_service/Subscriber3</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">ORjy+GyWHazZQ4xaWKVTNUQMMJY=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">It6ddt/p7LCU5PUuSHVqkg==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:27+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:27.391 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/event_service/Subscriber3 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:27.394 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: continuous PullMessages: no events
2024-09-10 16:38:27.758 DEBUG (MainThread) [homeassistant.components.onvif] Babycam3: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:27.762 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.83:8000/event_service/Subscriber0:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:99b4bf04-b940-417c-b9e4-573ba3857a67</wsa:MessageID><wsa:To>http://192.168.0.83:8000/event_service/Subscriber0</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">/F+NhQrXXbXClu/awt2PgagZjP8=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">K3olagg8ZWTiJwVK5yHr7g==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:27+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:27.787 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.83:8000/event_service/Subscriber0 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:27.790 DEBUG (MainThread) [homeassistant.components.onvif] Babycam3: continuous PullMessages: no events
2024-09-10 16:38:28.017 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.82:8000/event_service/Subscriber7 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:28.026 DEBUG (MainThread) [homeassistant.components.onvif] Babycam2: continuous PullMessages: no events
2024-09-10 16:38:28.118 DEBUG (MainThread) [onvif] 192.168.0.83: Renew the notification manager
2024-09-10 16:38:28.122 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.83:8000/event_service/Subscriber0:
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:4ba57afb-70d8-469d-a134-f4e66477e117</wsa:MessageID><wsa:To>http://192.168.0.83:8000/event_service/Subscriber0</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">Sr9xM6eS/9sHw76+u6Nw/FyFzKc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">Pw4Svg+SLcKZreCoscrnRA==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:28+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>PT600S</ns0:TerminationTime></ns0:Renew></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:28.145 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:28.151 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/event_service/Subscriber3:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:97cb153b-1abb-45d6-a599-fb22ba4662c8</wsa:MessageID><wsa:To>http://192.168.0.84:8000/event_service/Subscriber3</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">NIAIZEHbzeLBEU0Gq5Dkas+b6Xk=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">5B3NlmKZxjfaPXuzyuJ+Dg==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:28+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:28.172 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/event_service/Subscriber3 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:28.178 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: continuous PullMessages: no events
2024-09-10 16:38:28.542 DEBUG (MainThread) [homeassistant.components.onvif] Babycam3: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:28.548 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.83:8000/event_service/Subscriber0:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:616c05f7-309e-4b2e-9f72-5a84e794a6ec</wsa:MessageID><wsa:To>http://192.168.0.83:8000/event_service/Subscriber0</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">ymPI9DwElNGz9efwbHsOjGZFDUk=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">emZ76rmPU7xRII6rsL/L0w==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:28+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:28.653 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.83:8000/event_service/Subscriber0 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse</wsa:Action></s:Header><s:Body><wsnt:RenewResponse><wsnt:TerminationTime>2024-09-10T14:39:28Z</wsnt:TerminationTime><wsnt:CurrentTime>2024-09-10T14:38:28Z</wsnt:CurrentTime></wsnt:RenewResponse></s:Body></s:Envelope>'
2024-09-10 16:38:28.654 DEBUG (MainThread) [onvif] 192.168.0.83: Renew notification subscription in 48.0 seconds
2024-09-10 16:38:28.663 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.83:8000/event_service/Subscriber0 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:28.664 DEBUG (MainThread) [homeassistant.components.onvif] Babycam3: continuous PullMessages: no events
2024-09-10 16:38:28.780 DEBUG (MainThread) [homeassistant.components.onvif] Babycam2: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:28.786 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.82:8000/event_service/Subscriber7:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:a38ba375-688c-44c6-baa5-495f168afa23</wsa:MessageID><wsa:To>http://192.168.0.82:8000/event_service/Subscriber7</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">Ev7YwaS8e/a/dcSTSZGyu15A884=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">zr2uyJPMcQGkhMGjXJdnHw==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:28+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:28.889 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.82:8000/event_service/Subscriber7 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:28.896 DEBUG (MainThread) [homeassistant.components.onvif] Babycam2: continuous PullMessages: no events
2024-09-10 16:38:28.928 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:28.932 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/event_service/Subscriber3:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:9b0e94e0-2685-4149-85f5-1b242f9ee55e</wsa:MessageID><wsa:To>http://192.168.0.84:8000/event_service/Subscriber3</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">B4a2k4yM/RzcoiKoU5udNDPPGno=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">h+EdVL7k0igSGQo9xWnIZQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:28+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:28.948 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/event_service/Subscriber3 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:28.950 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: continuous PullMessages: no events
2024-09-10 16:38:29.383 DEBUG (MainThread) [homeassistant.components.onvif] Calling ContinuousMove PTZ | Pan = 0.00 | Tilt = -0.10 | Zoom = 0.00 | Speed = 0.50 | Preset = 0
2024-09-10 16:38:29.388 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/onvif/ptz_services:
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/ver20/ptz/wsdl/ContinuousMove</wsa:Action><wsa:MessageID>urn:uuid:8e93f30e-c65b-4ffb-8638-ae25899a8285</wsa:MessageID><wsa:To>http://192.168.0.84:8000/onvif/ptz_services</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">kRocecZ0xUfRa785KXeuGCOHRmU=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">D8G8Ah53DQUAxh+bhxKtGw==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:29+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:ContinuousMove xmlns:ns0="http://www.onvif.org/ver20/ptz/wsdl"><ns0:ProfileToken>PROFILE_000</ns0:ProfileToken><ns0:Velocity><ns1:PanTilt xmlns:ns1="http://www.onvif.org/ver10/schema" x="0.0" y="-0.1"/></ns0:Velocity></ns0:ContinuousMove></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:29.422 DEBUG (MainThread) [homeassistant.components.onvif] Babycam3: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:29.424 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.83:8000/event_service/Subscriber0:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:9ca0164f-68a6-4f6a-a121-23b55795dc95</wsa:MessageID><wsa:To>http://192.168.0.83:8000/event_service/Subscriber0</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">bIGhIDh+ZM2xXd75zAFTVCypWOc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">ycyyh9PN8wudXzKmlCnoVg==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:29+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:29.431 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/onvif/ptz_services (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Body><tptz:ContinuousMoveResponse></tptz:ContinuousMoveResponse></s:Body></s:Envelope>'
2024-09-10 16:38:29.648 DEBUG (MainThread) [homeassistant.components.onvif] Babycam2: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:29.650 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.82:8000/event_service/Subscriber7:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:e5fea1b8-a38f-4670-be89-63a728f7f2ea</wsa:MessageID><wsa:To>http://192.168.0.82:8000/event_service/Subscriber7</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">lq2+LD5f5xStJeDFjC7sYDX5ig0=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">NfCEbUNt9Jd9/yPUBIuHyQ==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:29+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:29.701 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:29.707 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/event_service/Subscriber3:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:2d81b46c-429e-4842-bea0-aaf7bcb6c422</wsa:MessageID><wsa:To>http://192.168.0.84:8000/event_service/Subscriber3</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">hTfQfox5nfrWabyO+76yG1OMvTg=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">m/xgsuKpvDQFtMBFouFjCA==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:29+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:29.727 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/event_service/Subscriber3 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:29.732 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: continuous PullMessages: no events
2024-09-10 16:38:29.938 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/onvif/ptz_services:
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/ver20/ptz/wsdl/Stop</wsa:Action><wsa:MessageID>urn:uuid:eed4ad6c-fd89-4c66-b480-72fa05c84153</wsa:MessageID><wsa:To>http://192.168.0.84:8000/onvif/ptz_services</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">oHOi2oFKtkNh/uZys0YrWMrwRkY=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">XvbDhtwWwStbZWXWPBhq9g==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:29+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:Stop xmlns:ns0="http://www.onvif.org/ver20/ptz/wsdl"><ns0:ProfileToken>PROFILE_000</ns0:ProfileToken><ns0:PanTilt>true</ns0:PanTilt><ns0:Zoom>false</ns0:Zoom></ns0:Stop></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:29.952 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/onvif/ptz_services (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><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>'
2024-09-10 16:38:29.954 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139774139026160] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 225, in async_perform_ptz
    await self.device.async_perform_ptz(
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 542, in async_perform_ptz
    await ptz_service.Stop(
  File "/usr/local/lib/python3.12/site-packages/zeep/proxy.py", line 64, in __call__
    return await self._proxy._binding.send_async(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
    return self.process_reply(client, operation_obj, response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
    return self.process_error(doc, operation)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
    raise Fault(
zeep.exceptions.Fault: Action Not Implemented
2024-09-10 16:38:30.488 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:30.493 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/event_service/Subscriber3:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:4a27d083-1b1f-412d-962e-c624afa56cfa</wsa:MessageID><wsa:To>http://192.168.0.84:8000/event_service/Subscriber3</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">6bquQ8BmsOubdu0UeF58QiJc5vU=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">pODWP4m9HNsyQuPmrtQWMA==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:30+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:30.512 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/event_service/Subscriber3 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:30.514 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: continuous PullMessages: no events
2024-09-10 16:38:30.979 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.83:8000/event_service/Subscriber0 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:30.986 DEBUG (MainThread) [homeassistant.components.onvif] Babycam3: continuous PullMessages: no events
2024-09-10 16:38:31.188 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.82:8000/event_service/Subscriber7 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:31.195 DEBUG (MainThread) [homeassistant.components.onvif] Babycam2: continuous PullMessages: no events
2024-09-10 16:38:31.264 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: Pulling PullPoint messages timeout=0:01:00 limit=100
2024-09-10 16:38:31.265 DEBUG (MainThread) [zeep.transports] HTTP Post to http://192.168.0.84:8000/event_service/Subscriber3:
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/PullPointSubscription/PullMessagesRequest</wsa:Action><wsa:MessageID>urn:uuid:fccf229a-d431-450d-9fa2-48d9dbfd79ba</wsa:MessageID><wsa:To>http://192.168.0.84:8000/event_service/Subscriber3</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">4wnpZriQuByQGk7fQY1dLfonUT0=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">fujTSKW8gBDeV/3A/iFGNg==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2024-09-10T14:38:31+00:00</wsu:Created></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:PullMessages xmlns:ns0="http://www.onvif.org/ver10/events/wsdl"><ns0:Timeout>PT1M</ns0:Timeout><ns0:MessageLimit>100</ns0:MessageLimit></ns0:PullMessages></soap-env:Body></soap-env:Envelope>'
2024-09-10 16:38:31.273 DEBUG (MainThread) [zeep.transports] HTTP Response from http://192.168.0.84:8000/event_service/Subscriber3 (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: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:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" ><s:Header><wsa:Action>http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse</wsa:Action></s:Header><s:Body><tev:PullMessagesResponse><s:Fault>MaxTimeout</s:Fault></tev:PullMessagesResponse></s:Body></s:Envelope>'
2024-09-10 16:38:31.275 DEBUG (MainThread) [homeassistant.components.onvif] Babycam4: continuous PullMessages: no events

Additional information

No response

@home-assistant
Copy link

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.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


onvif documentation
onvif source
(message by IssueLinks)

@Jaguaza
Copy link

Jaguaza commented Sep 15, 2024

same problem

@leonardpitzu
Copy link

Same

@umrath
Copy link

umrath commented Sep 17, 2024

Just updated to 2024.9.2 and now it's broken for me as well.

@totalitarian
Copy link

totalitarian commented Sep 28, 2024

Same

File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 225, in async_perform_ptz
await self.device.async_perform_ptz(
File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 542, in async_perform_ptz
await ptz_service.Stop(

@T-Lancer
Copy link
Author

T-Lancer commented Oct 29, 2024

I have done some more testing and run this python script to interview the camera: https://gist.github.com/hawkeye217/152a1d4ba80760dac95d46e143d37112

this was the result:

Connected to ONVIF camera
Created media service object
Media profiles
```
[{
    'Name': 'PROFILE_000',
    'VideoSourceConfiguration': {
        'Name': 'V_SRC_000',
        'UseCount': 3,
        'SourceToken': 'V_SRC_000',
        'Bounds': {
            'x': 0,
            'y': 0,
            'width': 2304,
            'height': 1296
        },
        '_value_1': None,
        'Extension': None,
        'token': 'V_SRC_000',
        '_attr_1': {
    }
    },
    'AudioSourceConfiguration': {
        'Name': 'A_SRC_000',
        'UseCount': 2,
        'SourceToken': 'A_SRC_000',
        '_value_1': None,
        'token': 'A_SRC_000',
        '_attr_1': {
    }
    },
    'VideoEncoderConfiguration': {
        'Name': 'V_ENC_000',
        'UseCount': 1,
        'Encoding': 'H264',
        'Resolution': {
            'Width': 2304,
            'Height': 1296
        },
        'Quality': 4.0,
        'RateControl': {
            'FrameRateLimit': 15,
            'EncodingInterval': 50,
            'BitrateLimit': 1536
        },
        'MPEG4': None,
        'H264': {
            'GovLength': 80,
            'H264Profile': 'Baseline'
        },
        'Multicast': {
            'Address': {
                'Type': 'IPv4',
                'IPv4Address': '239.0.1.0',
                'IPv6Address': None
            },
            'Port': 4000,
            'TTL': 64,
            'AutoStart': False,
            '_value_1': None,
            '_attr_1': None
        },
        'SessionTimeout': datetime.timedelta(seconds=10),
        '_value_1': None,
        'token': 'V_ENC_000',
        '_attr_1': {
    }
    },
    'AudioEncoderConfiguration': {
        'Name': 'A_ENC_000',
        'UseCount': 2,
        'Encoding': 'G711',
        'Bitrate': 64,
        'SampleRate': 8,
        'Multicast': {
            'Address': {
                'Type': 'IPv4',
                'IPv4Address': '239.0.1.0',
                'IPv6Address': None
            },
            'Port': 4000,
            'TTL': 64,
            'AutoStart': False,
            '_value_1': None,
            '_attr_1': None
        },
        'SessionTimeout': datetime.timedelta(seconds=10),
        '_value_1': None,
        'token': 'A_ENC_000',
        '_attr_1': {
    }
    },
    'VideoAnalyticsConfiguration': None,
    'PTZConfiguration': {
        'Name': 'PTZ_000',
        'UseCount': 1,
        'NodeToken': 'NODE_000',
        'DefaultAbsolutePantTiltPositionSpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
        'DefaultAbsoluteZoomPositionSpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
        'DefaultRelativePanTiltTranslationSpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
        'DefaultRelativeZoomTranslationSpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
        'DefaultContinuousPanTiltVelocitySpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
        'DefaultContinuousZoomVelocitySpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
        'DefaultPTZSpeed': {
            'PanTilt': {
                'x': 0.5,
                'y': 0.5,
                'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace'
            },
            'Zoom': {
                'x': 0.5,
                'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace'
            }
        },
        'DefaultPTZTimeout': datetime.timedelta(seconds=5),
        'PanTiltLimits': {
            'Range': {
                'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
                'XRange': {
                    'Min': 1.0,
                    'Max': 1.0
                },
                'YRange': {
                    'Min': 1.0,
                    'Max': 1.0
                }
            }
        },
        'ZoomLimits': {
            'Range': {
                'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
                'XRange': {
                    'Min': 0.0,
                    'Max': 1.0
                }
            }
        },
        'Extension': None,
        'token': 'PTZ_000',
        '_attr_1': {
    }
    },
    'MetadataConfiguration': None,
    'Extension': None,
    'token': 'PROFILE_000',
    'fixed': True,
    '_attr_1': {
}
}, {
    'Name': 'PROFILE_001',
    'VideoSourceConfiguration': {
        'Name': 'V_SRC_000',
        'UseCount': 3,
        'SourceToken': 'V_SRC_000',
        'Bounds': {
            'x': 0,
            'y': 0,
            'width': 2304,
            'height': 1296
        },
        '_value_1': None,
        'Extension': None,
        'token': 'V_SRC_000',
        '_attr_1': {
    }
    },
    'AudioSourceConfiguration': {
        'Name': 'A_SRC_000',
        'UseCount': 2,
        'SourceToken': 'A_SRC_000',
        '_value_1': None,
        'token': 'A_SRC_000',
        '_attr_1': {
    }
    },
    'VideoEncoderConfiguration': {
        'Name': 'V_ENC_001',
        'UseCount': 1,
        'Encoding': 'H264',
        'Resolution': {
            'Width': 1280,
            'Height': 720
        },
        'Quality': 3.0,
        'RateControl': {
            'FrameRateLimit': 15,
            'EncodingInterval': 50,
            'BitrateLimit': 512
        },
        'MPEG4': None,
        'H264': {
            'GovLength': 80,
            'H264Profile': 'Baseline'
        },
        'Multicast': {
            'Address': {
                'Type': 'IPv4',
                'IPv4Address': '239.0.1.0',
                'IPv6Address': None
            },
            'Port': 4000,
            'TTL': 64,
            'AutoStart': False,
            '_value_1': None,
            '_attr_1': None
        },
        'SessionTimeout': datetime.timedelta(seconds=10),
        '_value_1': None,
        'token': 'V_ENC_001',
        '_attr_1': {
    }
    },
    'AudioEncoderConfiguration': {
        'Name': 'A_ENC_000',
        'UseCount': 2,
        'Encoding': 'G711',
        'Bitrate': 64,
        'SampleRate': 8,
        'Multicast': {
            'Address': {
                'Type': 'IPv4',
                'IPv4Address': '239.0.1.0',
                'IPv6Address': None
            },
            'Port': 4000,
            'TTL': 64,
            'AutoStart': False,
            '_value_1': None,
            '_attr_1': None
        },
        'SessionTimeout': datetime.timedelta(seconds=10),
        '_value_1': None,
        'token': 'A_ENC_000',
        '_attr_1': {
    }
    },
    'VideoAnalyticsConfiguration': None,
    'PTZConfiguration': {
        'Name': 'PTZ_001',
        'UseCount': 1,
        'NodeToken': 'NODE_001',
        'DefaultAbsolutePantTiltPositionSpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
        'DefaultAbsoluteZoomPositionSpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
        'DefaultRelativePanTiltTranslationSpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
        'DefaultRelativeZoomTranslationSpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
        'DefaultContinuousPanTiltVelocitySpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
        'DefaultContinuousZoomVelocitySpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
        'DefaultPTZSpeed': {
            'PanTilt': {
                'x': 0.5,
                'y': 0.5,
                'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace'
            },
            'Zoom': {
                'x': 0.5,
                'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace'
            }
        },
        'DefaultPTZTimeout': datetime.timedelta(seconds=5),
        'PanTiltLimits': {
            'Range': {
                'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
                'XRange': {
                    'Min': 1.0,
                    'Max': 1.0
                },
                'YRange': {
                    'Min': 1.0,
                    'Max': 1.0
                }
            }
        },
        'ZoomLimits': {
            'Range': {
                'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
                'XRange': {
                    'Min': 0.0,
                    'Max': 1.0
                }
            }
        },
        'Extension': None,
        'token': 'PTZ_001',
        '_attr_1': {
    }
    },
    'MetadataConfiguration': None,
    'Extension': None,
    'token': 'PROFILE_001',
    'fixed': True,
    '_attr_1': {
}
}]
Chosen token
PROFILE_001
Creating PTZ object
Created PTZ service object
PTZ configurations:
{
    'Name': 'PTZ_000',
    'UseCount': 1,
    'NodeToken': 'NODE_000',
    'DefaultAbsolutePantTiltPositionSpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
    'DefaultAbsoluteZoomPositionSpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
    'DefaultRelativePanTiltTranslationSpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
    'DefaultRelativeZoomTranslationSpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
    'DefaultContinuousPanTiltVelocitySpace': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
    'DefaultContinuousZoomVelocitySpace': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
    'DefaultPTZSpeed': {
        'PanTilt': {
            'x': 0.5,
            'y': 0.5,
            'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace'
        },
        'Zoom': {
            'x': 0.5,
            'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace'
        }
    },
    'DefaultPTZTimeout': datetime.timedelta(seconds=5),
    'PanTiltLimits': {
        'Range': {
            'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
            'XRange': {
                'Min': 1.0,
                'Max': 1.0
            },
            'YRange': {
                'Min': 1.0,
                'Max': 1.0
            }
        }
    },
    'ZoomLimits': {
        'Range': {
            'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
            'XRange': {
                'Min': 0.0,
                'Max': 1.0
            }
        }
    },
    'Extension': None,
    'token': 'PTZ_000',
    '_attr_1': {
}
}

PTZ configuration options:
{
    'Spaces': {
        'AbsolutePanTiltPositionSpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
                'XRange': {
                    'Min': -1.0,
                    'Max': 1.0
                },
                'YRange': {
                    'Min': -1.0,
                    'Max': 1.0
                }
            }
        ],
        'AbsoluteZoomPositionSpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
                'XRange': {
                    'Min': 0.0,
                    'Max': 1.0
                }
            }
        ],
        'RelativePanTiltTranslationSpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
                'XRange': {
                    'Min': -1.0,
                    'Max': 1.0
                },
                'YRange': {
                    'Min': -1.0,
                    'Max': 1.0
                }
            }
        ],
        'RelativeZoomTranslationSpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
                'XRange': {
                    'Min': -1.0,
                    'Max': 1.0
                }
            }
        ],
        'ContinuousPanTiltVelocitySpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
                'XRange': {
                    'Min': -1.0,
                    'Max': 1.0
                },
                'YRange': {
                    'Min': -1.0,
                    'Max': 1.0
                }
            }
        ],
        'ContinuousZoomVelocitySpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
                'XRange': {
                    'Min': -1.0,
                    'Max': 1.0
                }
            }
        ],
        'PanTiltSpeedSpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace',
                'XRange': {
                    'Min': 0.0,
                    'Max': 1.0
                }
            }
        ],
        'ZoomSpeedSpace': [
            {
                'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace',
                'XRange': {
                    'Min': 0.0,
                    'Max': 1.0
                }
            }
        ],
        'Extension': None,
        '_attr_1': None
    },
    'PTZTimeout': {
        'Min': datetime.timedelta(seconds=1),
        'Max': datetime.timedelta(seconds=60)
    },
    '_value_1': None,
    'PTControlDirection': None,
    'Extension': None,
    '_attr_1': None
}

PTZ service capabilities:
{
    '_value_1': None,
    'EFlip': False,
    'Reverse': False,
    'GetCompatibleConfigurations': True,
    '_attr_1': {
}
}

PTZ status:
Traceback (most recent call last):
  File "/home/$user/myenv/lib/python3.12/site-packages/onvif/client.py", line 23, in wrapped
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/onvif/client.py", line 153, in wrapped
    return call(params, callback)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/onvif/client.py", line 140, in call
    ret = func(**params)
          ^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/zeep/proxy.py", line 46, in __call__
    return self._proxy._binding.send(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 135, in send
    return self.process_reply(client, operation_obj, response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
    return self.process_error(doc, operation)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
    raise Fault(
zeep.exceptions.Fault: Action Not Implemented

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/$user/Downloads/./fovtest.py", line 71, in <module>
    status = ptz.GetStatus(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/$user/myenv/lib/python3.12/site-packages/onvif/client.py", line 26, in wrapped
    raise ONVIFError(err)
onvif.exceptions.ONVIFError: Unknown error: Action Not Implemented
`

@TomkaiAusF
Copy link

Same issue here with a IeGeek Baby Cam. Cam tilts till reaches limit of the camera, then no further moves possible until refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants