Hi,
After 115 upgrade I have no ONVIF camera. Following the integration procedure I cannot get any camera instance. Looking for errors in the log I’ve found the following:
Logger: homeassistant.config_entries
Source: components/onvif/__init__.py:136
First occurred: 9:51:10 (1 occurrences)
Last logged: 9:51:10
Error setting up entry NVT - 0012414e169e for onvif
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 228, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 86, in async_setup_entry
await async_populate_snapshot_auth(hass, device, entry)
File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 155, in async_populate_snapshot_auth
auth = await _get_snapshot_auth(hass, device, entry)
File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 139, in _get_snapshot_auth
response = await hass.async_add_executor_job(_get)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 136, in _get
return requests.get(snapshot_uri, timeout=1, auth=auth)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 637, in send
adapter = self.get_adapter(url=request.url)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 730, in get_adapter
raise InvalidSchema("No connection adapters were found for {!r}".format(url))
requests.exceptions.InvalidSchema: No connection adapters were found for 'rtsp://192.168.100.99:8888/user=admin_password=qb7m2DZR_channel=0_stream=0.sdp?real_stream'
With 114 the camera was working like a charm
Thanks