Closed dredwater closed 2 years ago
onvif documentation onvif source (message by IssueLinks)
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!
(message by CodeOwnersMention)
The logs you sent show that ONVIF is being loaded from a custom component and not the official integration: /config/custom_components/onvif/config_flow.py
Do you get the same error if you delete the folder out of custom components and restart? From the error, it looks like your camera is not returning a valid URL when we make the XAddrs request so it fails when we try to retrieve its capabilities. This is likely due to the camera not being truly ONVIF compliant.
Thanks for your quick reply @hunterjm
I have several ONVIF cameras. Not sure if the changes you asked will create an issue with the existing one, Would you happen to know?
Also, not sure if this help, but using ONVIF Device Manager, I have no issue with the camera. It shows ONVIF version 20.06. Here are the settings:
Here is an additional log: This error originated from a custom integration.
Logger: homeassistant.config_entries Source: custom_components/onvif/zeeep/wsdl/messages/soap.py:439 Integration: ONVIF First occurred: April 26, 2022, 9:36:57 PM (1 occurrences) Last logged: April 26, 2022, 9:36:57 PM
LMK what else I can provide (Need Step by step) to help.
Furthermore, in using AgentDVR (for testing to discover the URLs associated with the camera IP), when I do a discovery, Connections list comeback with ~100 URLs (Don't know the exact numbers, but it is a couple page down as shown here) only 2 of 'Type' ONVIF, 1 of "MJPEG" and the rest are all "IP Camera"
Not fixed, returned the camera.
The problem
Adding an ONVIF camera complete successfully via the integration, but then reports "failed to setup" in ONVIF integration
What version of Home Assistant Core has the issue?
core-2022.4.5
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response