-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
Comments
Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) onvif documentation |
same problem |
Same |
Just updated to 2024.9.2 and now it's broken for me as well. |
Same
|
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:
|
Same issue here with a IeGeek Baby Cam. Cam tilts till reaches limit of the camera, then no further moves possible until refresh. |
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:
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
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: