just a +1 for the OP : please release a fix…
moved today to 83.3 changed all according to the docs (including the new Owntracks component, which is working just fine) and this config:
#configuration.yaml
asuswrt:
host: !secret asus_ip
username: !secret asus_username
password: !secret asus_password
# port: 22 tried with and without
fyi: these secrets are the exact same as previously used in the device_tracker. So plain ip address, no http(s) in front of it, no port.
my router uses ssh port 22.
still this happens in the log:
2018-12-11 17:59:51 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform asuswrt
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 174, in async_setup_platform
hass, {DOMAIN: p_config})
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 46, in async_get_scanner
await scanner.async_connect()
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 71, in async_connect
data = await self.connection.async_get_connected_devices()
File "/usr/local/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 165, in async_get_connected_devices
dev = await self.async_get_wl()
File "/usr/local/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 101, in async_get_wl
lines = await self.connection.async_run_command(_WL_CMD)
File "/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py", line 31, in async_run_command
await self.async_connect()
File "/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py", line 62, in async_connect
self._client = await asyncssh.connect(self._host, **kwargs)
File "/usr/local/lib/python3.6/site-packages/asyncssh/misc.py", line 169, in __await__
return (yield from self._coro)
File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 5442, in connect
conn, _ = yield from create_connection(None, host, port, **kwargs)
File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 5100, in create_connection
local_addr=local_addr)
File "uvloop/loop.pyx", line 1879, in create_connection
File "uvloop/loop.pyx", line 1858, in uvloop.loop.Loop.create_connection
ConnectionRefusedError: [Errno 111] Connection refused
I’ve deleted the old device_tracker settings, so why it is complaining about that is a true mystery? Unless the new asuswrt is still a device_tracker in the backend of course.
Any suggestions for a solution other than wait for the next release…?