Yeah, installed the custom component and enabled logging. It looks like my camera’s rtsp port is 554 if that’s any use. It looks like it’s not even getting to the point where it receives the stream url
2017-07-29 11:09:47 INFO (MainThread) [homeassistant.components.camera] Setting up camera.onvif
2017-07-29 11:09:53 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform onvif
Traceback (most recent call last):
File "/config/deps/suds/transport/http.py", line 78, in send
fp = self.u2open(u2request)
File "/config/deps/suds/transport/http.py", line 119, in u2open
return url.open(u2request, timeout=tm)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/deps/suds/client.py", line 652, in send
reply = transport.send(request)
File "/config/deps/suds/transport/http.py", line 178, in send
return HttpTransport.send(self, request)
File "/config/deps/suds/transport/http.py", line 86, in send
raise TransportError(e.msg, e.code, e.fp)
suds.transport.TransportError: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/onvif/client.py", line 34, in wrapped
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/onvif/client.py", line 201, in wrapped
return call(params, callback)
File "/usr/lib/python3.6/site-packages/onvif/client.py", line 191, in call
ret = func(**params)
File "/config/deps/suds/client.py", line 559, in __call__
return client.invoke(args, kwargs)
File "/config/deps/suds/client.py", line 618, in invoke
result = self.send(soapenv)
File "/config/deps/suds/client.py", line 664, in send
result = self.failed(binding, e)
File "/config/deps/suds/client.py", line 726, in failed
raise Exception((status, reason))
Exception: (400, 'Bad Request')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/asyncio/tasks.py", line 179, in _step
result = coro.send(None)
File "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/config/custom_components/camera/onvif.py", line 51, in async_setup_platform
async_add_devices([ONVIFCamera(hass, config)])
File "/config/custom_components/camera/onvif.py", line 72, in __init__
self._input = media.GetStreamUri().Uri
File "/usr/lib/python3.6/site-packages/onvif/client.py", line 36, in wrapped
raise ONVIFError(err)
onvif.exceptions.ONVIFError: Unknown error: (400, 'Bad Request')