Asuswrt Device Tracker not updating

I use HA 84.3 and trying out the Asuswrt device tracker

asuswrt:
  host: 192.168.1.250
  username: admin
  password: !secret asus_password
  mode: ap

Device Tracker configuration

device_tracker:
  - platform: locative
  - platform: asuswrt
    host: 192.168.1.250
    protocol: ssh
    username: admin
    password: !secret asus_password
    consider_home: 120
    interval_seconds: 30

Both showing data, the Asuswrt component shows download/upload sensor, not updating.

The device tracker added a lot of devices into known_devices.yaml, found my phone (iPhone) Mac dress in the file and added the sensor to my dashboard. It shows as “at home” but never updating. No matter how long the wifi connection is lost (while testing or away) the status is never updating.

I know there are some problems with the component but what I saw is the connection is not working often, but connection works, devices are found only status is not updating.

Is there still a problem with that component or maybe a fix available?

If it will help…i’m on 0.83.0b1. I only need to define asuswrt: section without the mod:ap. I don’t have device_tracker section and it works fine.

I use my router in access point mode thats why I use mod: ap, I think you not using ap mode correct?

And you see device_tracker with only defining asuswrt component?

I see I thought all wireless router is AP mode by default but that’s not the case as mine was set to Router mode. I also didn’t put anything for router mode.

I only define asuswrt section and home/not_home works correctly for us.

Hello!

Mine does not work too. Some devices, like this Broadlink RM PRO, that are constantly connected and no problems with disconnects (shown on Asus UI) keeps showing as away:

image

Hope they fix that soon…

Using an RT-AC68U flashed with Merlin operating as router.

But is it correct that I needed to add device_tracker config to see the asuswrt devices or should that come automatically with asuswrt component added?

All you need is the asuswrt component. The asuswrt component automatically enables the asuswrt device_tracker component. You don’t need the config for the device_tracker…unless you want to have some configuration value different from the default value.

Here is my asuswrt configuration in configuration.yaml:

asuswrt:
  host: 192.168.1.1
  username: !secret asus_username
  password: !secret asus_pwd

device_tracker:
  - platform: asuswrt
    #interval_seconds: 10
    consider_home: 180
    new_device_defaults:
      track_new_devices: False
      hide_if_away: False

if you don’t need to change the defaults then all you need is the first part above (asuswrt:).

After updating my router to latest merlin firmware it works finally