I have a Xiaomi Mi Router 3g and I flashed padavan custom firmware on it.
My configuration.yaml settings did not work.
Configuration.yaml
asuswrt:
host: 192.168.0.1
username: admin
password: pass123
device_tracker:
- platform: asuswrt
consider_home: 180
interval_seconds: 60
new_device_defaults:
track_new_devices: false
hide_if_away: false
I also ran these procedures described at final https://www.home-assistant.io/components/asuswrt/
- SSH or Telnet into the router. (default ssh [email protected])
- Run the following command to find the file:
$ find / -name "dnsmasq.leases"
- Copy or remember the full path of, example:
/tmp/dnsmasq.leases
- Create the folder if it does not exist:
$ mkdir -p /var/lib/misc
- Add the linking process to the routers started script (one line):
$ echo "/bin/ln -s /tmp/dnsmasq.leases /var/lib/misc/dnsmasq.leases" >> /etc/storage/started_script.sh
- Reboot the router or link the file:
$ /bin/ln -s /tmp/dnsmasq.leases /var/lib/misc/dnsmasq.leases