Can someone assist me with issues after upgrade to 0.86.1

These errors came up in my log and my device tracker is not working anymore. How can I get the asuswrt working again?

Home Assistant is installed on VM with Ubuntu but this was working with no problems before,

see below my log.

2019-01-24 20:19:18 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/setup.py”, line 145, in _async_setup_component
hass, processed_config)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/asuswrt.py”, line 61, in async_setup
await api.connection.async_connect()
File “/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py”, line 66, in async_connect
self._client = await asyncssh.connect(self._host, **kwargs)
File “/usr/local/lib/python3.6/site-packages/asyncssh/misc.py”, line 182, in await
return (yield from self._coro)
File “/usr/local/lib/python3.6/site-packages/asyncssh/connection.py”, line 5454, in connect
conn, _ = yield from create_connection(None, host, port, **kwargs)
File “/usr/local/lib/python3.6/site-packages/asyncssh/connection.py”, line 5110, in create_connection
yield from auth_waiter
File “/usr/local/lib/python3.6/site-packages/asyncssh/connection.py”, line 627, in data_received
while self._inpbuf and self._recv_handler():
File “/usr/local/lib/python3.6/site-packages/asyncssh/connection.py”, line 847, in _recv_packet
processed = handler.process_packet(pkttype, seq, packet)
File “/usr/local/lib/python3.6/site-packages/asyncssh/packet.py”, line 215, in process_packet
self._packet_handlers[pkttype](self, pkttype, pktid, packet)
File “/usr/local/lib/python3.6/site-packages/asyncssh/connection.py”, line 1414, in _process_kexinit
self._kex = get_kex(self, kex_alg)
File “/usr/local/lib/python3.6/site-packages/asyncssh/kex.py”, line 122, in get_kex
return handler(alg, conn, hash_alg, *args)
File “/usr/local/lib/python3.6/site-packages/asyncssh/kex_ecdh.py”, line 47, in init
self._priv = ecdh_class(args)
File “/usr/local/lib/python3.6/site-packages/asyncssh/crypto/curve25519.py”, line 31, in init
self._priv_key = x25519.X25519PrivateKey.generate()
File “/usr/local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py”, line 39, in generate
_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM
cryptography.exceptions.UnsupportedAlgorithm: X25519 is not supported by this version of OpenSSL.
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected C8:60:00:70:1F:E9
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected 9C:AD:EF:21:86:9F
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected 00:0E:58:C2:04:6C
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected 5C:AA:FD:24:0D:EC
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected 08:00:27:2B:11:F7
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected 00:0E:58:89:74:0A
2019-01-24 20:19:23 WARNING (MainThread) [homeassistant.components.device_tracker] Duplicate device MAC addresses detected 48:5D:60:39:6C:C6
2019-01-24 20:19:23 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of device_tracker.asuswrt. Setup failed for dependencies: asuswrt
2019-01-24 20:19:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.asuswrt: Could not set up all dependencies.
2019-01-24 20:19:27 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform darksky is taking over 10 seconds.
2019-01-24 20:19:28 WARNING (MainThread) [homeassistant.components.scene] Setup of platform vera is taking over 10 seconds.
2019-01-24 20:19:49 WARNING (SyncWorker_2) [plexapi] BadRequest (401) unauthorized http://192.168.1.153:32400/; Unauthorized

401 Unauthorized

AsusWRT quit working with 0.86. Issue opened

ok thanks.
hopefully they can resolve this.

I have managed to reconfigure AsusWRT to work with telnet while waiting for fix. Ensure telnet is enabled on your router

asuswrt: 
    host: x.x.x.x
    username: !secret asuswrt_user
    password: !secret asuswrt_password
    protocol: telnet
    port: 23
1 Like

Hopefully this is the issue for me as well then. I use the Merlin version
https://asuswrt.lostrealm.ca/
and have the same errors. In the Merlin firmware Telnet is removed due to the security issues with it so the workaround won’t help me.

I am in the same situation also like yourself. Telnet has been removed from my Asus router.

Argh, just upgraded to 0.86.2 and asuswrt is broken for me too - I’ve tried changing the config to use telnet but that doesnt work either. :disappointed_relieved:

Same here, 0.86.2 broke asuswrt… going to try the fix from above.

for me it’s still broken in 0.86.4. Has it started working for anyone else after updating?

Just changed mine to Telnet as per your settings too.

My phone seems to constantly be dropping in and out of wifi now though. I don’t think that it sees my interval_seconds and consider_home setting?!?

These are my config settings:

asuswrt:
  host: 192.xxx.x.x
  username: xxxxx
  password: !secret xxxxx
  protocol: telnet
  port: 23

device_tracker:
  - platform: asuswrt
    interval_seconds: 15
    consider_home: 180

Just updated to 86.4 and the asuswrt component is still not working.

1 Like

I had some issues with telnet , stopping polling after some time. I gave in and went back to 0.85.6 and will wait until fixed

How did you roll back your upgrade to 0.85.6 ?

I have hassio on Ubuntu VM.

Can you walk me through the steps as I was not able to find steps for=20

Hassio.

I always keep a snapshot before I upgrade. Simply wipe and restore

You can downgrade Home Assistant by ssh into hassio and issue shel command with wanted version

hassio ha up --version=0.85.1

Usually takes around 5 minutes to complete - wait for ok to show up and you’re ready.

Just did that because I was also having asuswrt device tracker not working which should be fixed in upcoming HA 0.86.5 version accoring to this issue.