core: ONVIF integration error: "Could not configure unique ID for ONVIF device"
The problem
I have upgraded to HA 0.110 from latest 0.109.x and removed working onvif camera configration from config file. Then tried to add ONVIF integration:
- no camera were found automatically
- entered new name, IP address and port
- entered login name and password and got error message saying “Could not configure unique ID for ONVIF device”. And no ONVIF integration were created.
Environment
- Home Assistant Core release with the issue: 0.110.0
- Last working Home Assistant Core release (if known): 0.109.latest
- Operating environment (Home Assistant/Supervised/Docker/venv): HA Core on Docker
- Integration causing this issue: ONVIF
- Link to integration documentation on our website:
Problem-relevant configuration.yaml
N/A
Traceback/Error logs
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (6 by maintainers)
Well, inspired by your findings I’ve decoded Hardware id of my camera which is really a scrambled MAC address. Take a look: Hardware id reported by Onvif Device Manager: 78-FFFFFFA5-FFFFFFDD-2A-FFFFFF97-0C MAC address: 78:A5:DD:2A:97:0C
Looks like it added FFFFFF three times: to 2nd, 3rd and 5th MAC address byte. Hope it helps.
My camera uses port 80. Sometimes it detects the camera as IPCAM(<ip_address_here>), then I have to provide login credentials, but finally got the same error as described.
Indeed, have closed mine 😃 In my case, the integration found all 3 cameras (after I clicked add and then ONVIF) so I could select from the list, but after giving in user/pass I got the same error message.
Note, None of these 3 cameras use the default port (8080).