OpenWRT devices are being named by MAC address

OpenWRT is set up as a device tracker via Luci interface in HA. All my discovered devices are being named as their MAC address. This makes identifying devices extremely difficult and tedious.

I’m using OpenWRT as my router and DHCP. My WiFi is setup using a BT Whole Home wifi.

I can’t see anything in the HA documentation for OpenWRT that’s specific to this issue or that would toggle the known devices to be named by MAC address rather than hostname.

3 Likes

Try to find the known_devices.yaml. The path is /config/known_devices.yaml. You can edit the yaml to rename your devices.

I’ve done that on a couple of devices in known_devices.yaml. But it’s quite annoying having to cross references especially when a new device joins my network.

Is there no way to change the behaviour of the LUCIA device tracker to name devices by their hostname? As it does on DD-WRT?