I had ONVIF working perfectly, till 0.94. Upgrading to 0.95 started giving an error. I assumed I had messed something up, since I was fiddling with too many things at the same time.
I had an older installation on another laptop. I tested my onvif cameras on it, and everything worked fine. Then I upgraded this to 0.95 as well, and ONVIF started giving the following error. So now it’s confirmed, that it wasn’t something I did.
I haven’t seen anyone else complaining, so it may still just be me.
Help or guidance would be appreciated.
I am getting the following error:
ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform onvif
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/onvif/camera.py", line 101, in async_setup_platform
await hass_camera.async_initialize()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/onvif/camera.py", line 166, in async_initialize
device_time = await devicemgmt.GetSystemDateAndTime()
File "/Users/faisalqureshi/.homeassistant/deps/lib/python/site-packages/zeep/asyncio/bindings.py", line 13, in send
options["address"], envelope, http_headers
File "/Users/faisalqureshi/.homeassistant/deps/lib/python/site-packages/zeep/asyncio/transport.py", line 107, in post_xml
response = await self.post(address, message, headers)
File "/Users/faisalqureshi/.homeassistant/deps/lib/python/site-packages/zeep/asyncio/transport.py", line 95, in post
proxy=self.proxy,
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 497, in _request
await resp.start(conn)
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 844, in start
message, payload = await self._protocol.read() # type: ignore # noqa
File "/usr/local/lib/python3.7/site-packages/aiohttp/streams.py", line 588, in read
await self._waiter