core: asuswrt tracker shows invalid status 'away' all the time
Home Assistant release with the issue: 0.82.1 wasn’t working in 0.82.0 and 0.81.6 either
Last working Home Assistant release (if known): not known
Operating environment (Hass.io/Docker/Windows/etc.): Docker on top of Synology NAS
Component/platform: https://www.home-assistant.io/components/device_tracker.asuswrt/
Description of problem: My setup:
- ASUS RT-AC68U in AP mode. Software version 3.0.0.4.384_32799
- ssh and telnet active I’m trying to use asuswrt device tracker, but it almost never works correctly. It only shows a correct status after I restart my router (AP mode). It’s shown correctly for 10-20 minutes and then again it shows ‘Away’ despite my device is all the time connected to the network.
In the ASUS web-management interface I can see my device all the time as connected/available. Therefore I don’t understand why the tracker in HA shows the invalid information. Perhaps something wrong in the aioasuswrt or in asus firmware, but no clue how to check this.
I tried command: wl assoclist and it shows my connected devices. But a bit incorrectly too. This one shows devices to be connected all the time in contrast to HA tracker which shows them as not connected.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
device_tracker:
- platform: asuswrt
host: 192.168.0.10
username: admin
password: _my_password_
mode: ap
protocol: ssh
Traceback (if applicable):
Additional information:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 34 (12 by maintainers)
Did you add the asuswrt platform in configuration.yaml? https://www.home-assistant.io/components/asuswrt/
In my case, I found a solution. I created the folder custom_components in /config and added an edited version of assuswrt.py, where I just removed the sensor init part. Now the device tracker works fine. It seems the problem was in the sensor part of the component, which I don’t mind to turn off because I wasn’t using it anyway. Hope this helps someone…