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
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.
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