Onvif cameras broken for 0.110.0

Just went to 0.110 and my onvif cameras are now broken with the config.yaml below:

camera:
  - platform: onvif
    host: !secret front_camera_ip
    port: !secret camera_port
    name: Front
    username: !secret camera_username
    password: !secret camera_password

  - platform: onvif
    host: !secret side_camera_ip
    port: !secret camera_port
    name: Side
    username: !secret camera_username
    password: !secret camera_password

And this the errors:

2020-05-20 18:04:51 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Side - 00:12:16:9b:63:95 for onvif
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 217, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 73, in async_setup_entry
    if not await device.async_setup():
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 99, in async_setup
    self.capabilities = await self.async_get_capabilities()
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 234, in async_get_capabilities
    pullpoint = event_capabilities.WSPullPointSupport
AttributeError: 'NoneType' object has no attribute 'WSPullPointSupport'

I have tried the onvig integration from the integrations page on my HA but it doesn’t find anything.
What do I need to change in my config file to get them back up?

I have exactly the same issue:

Logger: homeassistant.config_entries
Source: components/onvif/device.py:234
First occurred: 20:40:42 (1 occurrences)
Last logged: 20:40:42
Error setting up entry Sam's Bedroom Camera - MACADDRESS for onvif
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 217, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 73, in async_setup_entry
    if not await device.async_setup():
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 99, in async_setup
    self.capabilities = await self.async_get_capabilities()
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 234, in async_get_capabilities
    pullpoint = event_capabilities.WSPullPointSupport
AttributeError: 'NoneType' object has no attribute 'WSPullPointSupport'

I tried using the ONVIF Integration after removing my camera from config.yaml but I get the message but the camera is no where to be seen. The integration isn’t visible in the overview either so it just isn’t adding it.

Aborted - ONVIF Camera already configured

I actually found them in the integrations page but they are not working at all, no video though.

I started fresh without the camera in config.yaml and eventually it added via the ONVIF Integration but it hasn’t created any entities? I’ve checked my full entity list.

The error below still persists:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 217, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 73, in async_setup_entry
    if not await device.async_setup():
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 99, in async_setup
    self.capabilities = await self.async_get_capabilities()
  File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 234, in async_get_capabilities
    pullpoint = event_capabilities.WSPullPointSupport
AttributeError: 'NoneType' object has no attribute 'WSPullPointSupport'

I have the same exact problem. My D-link ONVIF cameras still work, but my chinese ip cam with ONVIF, which worked before the update, has stopped working. Wont show up in entity list and shows “Cant connect to “Driveway” Trying again in 40 seconds.”

+1

ONVIF is cratering my NUC in the latest version. It just keeps crashing unless I remove all the cameras.

Is the config.yaml configuration still supported even? Doesn’t look like it and also not seeing a way to set the profile 0 or 1 for the different streams

Even myself problem, before the update the Chinese camera working, with this integration does not create the entity. I don’t understand how it works now. They have to create a guide otherwise they can’t.

Has anyone reported this on GitHub yet?

Are you using H264 in the cameras?

Yes I believe H264 is the standard.
Went back to 0.109.6 to test and everything onvif is working fine. Also if I try ffmpeg on 0.110.0 it works but is slower to load the image it seems so is not ideal.
I wonder how much testing was done on this integration before a major change like this was released

The is always a beta version available one week before the main release. Everyone can test. You can blame the dev’s that not many people want to try the beta’s. I do, but since I don’t have any ONVIF camera’s, there was nothing to report about that.

Not saying there isn’t some sort of issue with the ONVIF update… but I also have a cheap camera that was not working after the update… in the course of verifying my settings in the camera I rebooted the cam and since then the new integration has been working fine… maybe worth a shot for some…(and then restarted HA again after restarting the cam)

have you fixed it by doing that?

That is all I have done and it started working for me… (but my first steps in troubleshooting where removing yaml config and setting it up through the UI integration entirely, which didn’t help until the camera and ha reboot)

just tried but nothing happened. that’s what i got: Couldn’t connect to camera ‘Telecamera Terrazza’, but will retry later. Error: [Errno None] Can not write request body for http://192.168.1.##:8080/onvif/events

Connessione persa. Riconnessione…

you may want to jump onto this issue and let them now it’s still not working … seems similar
https://github.com/home-assistant/core/issues/33065

Just tried 0.110.1 and whatever that added it fixed and is now finding both streams and working with the same config.yaml I had in 0.109 so give that a shot
I am still seeing 2020-05-22 08:59:20 ERROR (MainThread) [homeassistant.components.camera] The onvif platform for the camera integration does not support platform setup. Please remove it from your config. but it does work

you need to remove it from your configuration.yaml file

Yup that was it