I trying to understand why the hostname of my ESPHome device is not updated in my routers DHCP list. Yes I have a simple TP-Link Router…
The hostname shown in the DHCP server is test-tuya (a name I created a while ago). I have rebooted the router and rebooted the ESPHome device.
I can adress the device using the name defined in the config file (biltema1.local) but why isn’t it reflected in the router.
My ESP config file looks like below:
esphome:
friendly_name: biltema1_friendly
name: "biltema1"
name_add_mac_suffix: False
bk72xx:
board: generic-bk7231t-qfn32-tuya
logger:
web_server:
captive_portal:
mdns:
api:
password: ""
ota:
password: ""
wifi:
# ...
#manual_ip:
# Set this to the IP of the ESP
#static_ip: 192.168.0.147
# Set this to the IP address of the router. Often ends with .1
#gateway: 192.168.0.1
# The subnet of the network. 255.255.255.0 works for most home networks.
#subnet: 255.255.255.0
#use_address: biltema1.local
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
button:
- platform: restart
name: Restart
Haven’t found anything like that. I have done a SW reboot and a HW reboot. DHCP request looks ok.
Probably this is a just another fault in the Router FW that I need to live with
I found out what the problem is. TP-Link has in their Routes implemented this having a possibility to define a Device Name. If no Device name is specified it uses the device host name. But once defining a device name it’s not possible to revert back. I have reported this to TP-Link and they will bring it up with the engineering team