Closed rmoschetti 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 problem
I am trying to add a "protecthome" camera through the integration ONVIF. The integration recognize the correct IP automatically. I fill in the details with port=554, the correct username and password. When I submit the interface I get the loading animatino for about 60 seconds, after that the procedure fails with "Unknown error occurred".
Expected behaviour: the camera is succesfully added via the automatic procedure (or a more specific description of the error is showed).
What version of Home Assistant Core has the issue?
core-2021.12.8
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
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Here are some observation after some trials I run: 1) The camera is successfully working with other software (iSpy), so I have the correct username/password/port (as working network address, it reports "http://192.168.50.77/onvif/device_service" on port 554) 2) The error occurs also with a non-correct username - password, still waiting about 60 seconds before showing 3) The error "Unknown error occurred" shows also when I choose a random port, which is closed on the device. This time, however, it shows up almost immediately, without the 60-seconds waiting time.