hey there , I just bought the reolink duo camera (ethernet version ) and I’ve been trying to add it into HA, but I always Get the message " unexpected error " , I don’t know how to add it.
here’s the logs
This error originated from a custom integration.
``Logger: custom_components.reolink_dev.config_flow
Source: custom_components/reolink_dev/base.py:220
Integration: Reolink IP camera (documentation, issues)
First occurred: 2:09:17 AM (14 occurrences)
Last logged: 2:36:47 PM
Unexpected exception
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 1064, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 1049, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 960, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.10/asyncio/selector_events.py”, line 500, in sock_connect
return await fut
File “/usr/local/lib/python3.10/asyncio/selector_events.py”, line 535, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
ConnectionRefusedError: [Errno 111] Connect call failed (‘192.168.68.141’, 80)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/config/custom_components/reolink_dev/config_flow.py”, line 70, in async_step_user
self.info = await self.async_validate_input(self.hass, user_input)
File “/config/custom_components/reolink_dev/config_flow.py”, line 138, in async_validate_input
if not await self.base.connect_api():
File “/config/custom_components/reolink_dev/base.py”, line 220, in connect_api
if not await self._api.get_settings():
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 496, in get_settings
response = await self.send(body)
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 1661, in send
if not await self.login():
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 854, in login
response = await self.send(body, param)
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 1705, in send
async with session.post(
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 1138, in aenter
self._resp = await self._coro
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 535, in _request
conn = await self._connector.connect(
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1206, in _create_direct_connection
raise last_exc
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.68.141:80 ssl:default [Connect call failed (‘192.168.68.141’, 80)] ``