Hello,
I am new to home assistant and have been trying to get the asuswrt device_tracker working and so far, I haven’t had much luck.
I have it configured as follows:
device_tracker:
- platform: asuswrt
host: 192.168.2.254
username: admin
password: ****
protocol: ssh
track_new_devices: true
interval_seconds: 30
consider_home: 90
When I have it configured as above, I get a 2018-11-13 21:47:45 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /config/known_devices.yaml: Config file not found: /config/known_devices.yaml
in the log file.
If I enable telnet instead, I get an unhappy python error in the logs. I would prefer to use ssh, but I will use telnet if need be.
I’ve got an Asus RT-AC68U running stock firmware. During testing today, I updated it to current, with no change in results.
If I check the system log on the router, it shows a login from the IP of the raspberry pi running home assistant.
Nov 13 16:47:46 dropbear[7847]: Password auth succeeded for ‘admin’ from 192.168.2.150:52336
I am running Hass.io supervisor 139 , HassOS 1.12 and Home Assistant 0.82.0.
Is there a direction I should be looking in to troubleshoot this? Any pointers would be appreciated.
Kind of solution: I installed Asus Merlin today and the device_tracker is now working with key based auth.
It seems its only stock Asus firmware that may be broken.
have you looked at the docs for the asuswrt component? there is no option listed there for “track_new_devices”. the asuswrt configuration for the router (the one you are showing) is different than the one for the presence detection component.
Just don’t forget to enable SSH on router as it is not enabled by default.
Telnet was enabled by default.
I’m using it with username & pass without key authentication.