0.85 and AsusWRT

Is anyone else having issues updating to 0.85 with asuswrt enabled?

My docker container stops during startup. I have left it overnight and its not up in the morning.

i have isolated it to the AsusWRT component. If I disable it in my config, the container starts up in a few minutes.

It was all enabled in 84.6 but would stop tracking devices after a few hours (which was a known issue).

i am using telnet, and port 23.

An update, if I get rid of the port line, the container starts. But then get this in the log-

Error during setup of component asuswrt
Traceback (most recent call last):
File “/usr/src/app/homeassistant/setup.py”, line 145, in _async_setup_component
hass, processed_config)
File “/usr/src/app/homeassistant/components/asuswrt.py”, line 57, in async_setup
await api.connection.async_connect()
File “/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py”, line 110, in async_connect
self._host, self._port)
File “/usr/local/lib/python3.6/asyncio/streams.py”, line 81, in open_connection
lambda: protocol, host, port, **kwds)
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

Are you sure the telnet port is open on your router
(and that you set its IP address is correct)?

Yeah, telnet worked on port 23 previously.

It all worked in 84.6 (briefly). Here was the issue i was having - https://github.com/home-assistant/home-assistant/issues/19031

Have you actually connected via telnet lately? ie without reference to home assistant?

Yes, telnet connects on port 23. But that’s not the point I’m trying to make. If I use a previously working config the container never starts. If I deliberately break the asuswrt config it does start up.

Yes but you haven’t shown us the log of that have you?

The log of the container never starting? The log stops after a warning about sensor setup taking more than 10 seconds.

But an update anyway, I updated the router firmware to the latest build (3.0.0.4.384.45149), and it now starts up! But, gives a setup error, and fills the log with sensor update warnings, and none of the sensors or device tracking works:

Error setting up platform asuswrt
Traceback (most recent call last):
File “/usr/src/app/homeassistant/components/device_tracker/init.py”, line 173, in async_setup_platform
hass, {DOMAIN: p_config})
File “/usr/src/app/homeassistant/components/device_tracker/asuswrt.py”, line 20, in async_get_scanner
await scanner.async_connect()
File “/usr/src/app/homeassistant/components/device_tracker/asuswrt.py”, line 37, in async_connect
data = await self.connection.async_get_connected_devices()
File “/usr/local/lib/python3.6/site-packages/aioasuswrt/asuswrt.py”, line 171, in async_get_connected_devices
dev = await self.async_get_wl()
File “/usr/local/lib/python3.6/site-packages/aioasuswrt/asuswrt.py”, line 107, 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 91, in async_run_command
await self.async_connect()
File “/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py”, line 113, in async_connect
await self._reader.readuntil(b’login: ')
File “/usr/local/lib/python3.6/asyncio/streams.py”, line 578, in readuntil
raise IncompleteReadError(chunk, None)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of None expected bytes