Asuswrt problem is back

Since upgrading to 0.62.0, the Asuswrt component isn’t working for me anymore.

Config (working fine since 0.4x.x or so):

device_tracker:
  - platform: asuswrt
    host: !secret device_tracker_host
    username: !secret device_tracker_username
    password: !secret device_tracker_password
    protocol: telnet
    interval_seconds: 10
    consider_home: 180
    track_new_devices: yes

Error:

2018-01-29 18:44:33 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform asuswrt
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 162, in async_setup_platform
    platform.get_scanner, hass, {DOMAIN: p_config})
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 81, in get_scanner
    scanner = AsusWrtDeviceScanner(config[DOMAIN])
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 130, in __init__
    data = self.get_asuswrt_data()
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 169, in get_asuswrt_data
    devices.update(self._get_neigh(devices))
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 217, in _get_neigh
    old_ip = cur_devices.get(mac, {}).ip or None
AttributeError: 'dict' object has no attribute 'ip'

Working perfectly for me albeit I’m on AsusWRT Merlin if that makes a difference, I’m using this…

  - platform: asuswrt
    host: 192.168.1.1
    username: XXXXXX
    password: XXXXXX
    consider_home: 30
    new_device_defaults:
      track_new_devices: False

What is Merlin? It can’t find that component how is it different?

AsusWRT Merlin is custom firmware, like DDWRT and Tomato. Except it’s an enhancement to the factory OS rather than a full OS.

Having said that, that’s not the reason for your error there is a bug in 0.62.0

It has been fixed in 0.63.0.dev0

Easiest way is to install the development branch to get the fix.

Thanks for clearing that up.
I think I can wait for an update, at the moment my Gpslogger works so I can wait.

I can confirm this has been fixed on 0.62.1.

still fixed?
since 0.65 all of my phones device trackers behave inconsistently. Home while away, vice versa.
Very annoying, and working just perfectly before…

Still working perfectly for me but I’m sticking to 380 for now until they iron all the bugs out.

Yes, working fine here (currently on 0.65.5).

i have a multitude of entities showing another state than is displayed on the more-info’s…

3700

Unfortunately this component fails on me for several weeks now and I can’t figure out why.
I tried several configs but keep getting this error:

2019-02-09 19:14:59 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/asuswrt.py", line 61, in async_setup
    await api.connection.async_connect()
  File "/srv/homeassistant/lib/python3.5/site-packages/aioasuswrt/connection.py", line 110, in async_connect
    self._host, self._port)
  File "/usr/lib/python3.5/asyncio/streams.py", line 75, in open_connection
    lambda: protocol, host, port, **kwds)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 775, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.5/asyncio/base_events.py", line 762, in create_connection
    yield from self.sock_connect(sock, address)
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 451, in sock_connect
    return (yield from fut)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 481, in _sock_connect_cb
    raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('10.0.0.1', 22)

Current config:

asuswrt:
  host: !secret device_tracker_host
  username: !secret device_tracker_username
  # password: !secret device_tracker_password
  protocol: telnet

I also tried with SSH and with the admin password, same result.

This also doesn’t work (which makes sence since it can’t connect to the router):

device_tracker:
  - platform: asuswrt
    host: !secret device_tracker_host
    username: !secret device_tracker_username
    password: !secret device_tracker_password
    interval_seconds: 10
    consider_home: 180
    track_new_devices: yes