core: ONVIF integration failing to setup after update to 2023.4 on Hikvision iDS-7208HQHI-M1

The problem

Since upgrading to 2023.4.0 and all the way to the current 2023.4.4 release, ONVIF integration doesn’t work for my Hikvision iDS-7208HQHI-M1 NVR with the latest firmware V4.71.010.

Screenshot 2023-04-14 at 01-26-18 Settings – Home Assistant

There’s nothing in the logs on default log level, however by changing the level to debug I’ve managed to obtain entries attached in the file below: home-assistant_2023-04-13T22-40-02.928Z.log

I’ve tried reloading integration and setting it up from the scratch on fresh HASS instance, sadly it was still failing to load. In the end, I’ve found out that rolling back onvif-zeep-async requirement in the ONVIF integration’s manifest.json to version 1.2.2 fixes the issue. This allowed me to download diagnostics information that is attached to this issue.

What version of Home Assistant Core has the issue?

core-2023.4.0

What was the last working version of Home Assistant Core?

core-2023.3.6

What type of installation are you running?

Home Assistant Container

Integration causing the issue

onvif

Link to integration documentation on our website

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

Diagnostics information

config_entry-onvif-a766f4742085d42e0c75070a583d84a5.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

Yes, sorry for long wait, gone down rabbit hole of libraries 😃 Updated onvif-zeep-async to 1.2.5 and can confirm that everything works fine now. Thanks for the help, much appreciated. Hopefully it doesn’t cause additional problems.

Thanks for the heads up. I’ll try to apply the PR on my test machine and see if it helps.