Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

ONVIF Camera Questions

$
0
0

@94Z28 wrote:

Hello Everyone! I have been reading other topics about ONVIF camera errors, but mine don’t seem identical. I have validated the camera with VLC on windows, then also on FFMPEG via command line on the raspberry. I didn’t get any issues with ffmpeg there, but the error below shows on reboot of HA.

It’s latest version, running on a VENV. Share any ideas you have to fix this, I will also continue to tinker

Sun Jan 19 2020 18:51:16 GMT-0500 (Eastern Standard Time)
Error while setting up platform onvif
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/onvif/camera.py", line 118, in async_setup_platform
    await hass_camera.async_initialize()
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/onvif/camera.py", line 166, in async_initialize
    await self._camera.update_xaddrs()
  File "/srv/homeassistant/lib/python3.7/site-packages/onvif/client.py", line 233, in update_xaddrs
    capabilities = await self.devicemgmt.GetCapabilities({'Category': 'All'})
  File "/srv/homeassistant/lib/python3.7/site-packages/zeep/asyncio/bindings.py", line 20, in send
    return self.process_reply(client, operation_obj, response)
  File "/srv/homeassistant/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", line 170, in process_reply
    doc = parse_xml(content, self.transport, settings=client.settings)
  File "/srv/homeassistant/lib/python3.7/site-packages/zeep/loader.py", line 54, in parse_xml
    forbid_entities=settings.forbid_entities,
  File "/srv/homeassistant/lib/python3.7/site-packages/defusedxml/lxml.py", line 146, in fromstring
    elementtree = rootelement.getroottree()
AttributeError: 'NoneType' object has no attribute 'getroottree'

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles