All my ESPHome devices have fixed IP addresses and they all work as expected, however I have an issue with my router that drives my OCD up the wall.
My UCG Ultra sees my ESPHome devices in the client Devices list correctly, but in the IP Tables list (previously "DHCP list") they are shown as disconnected. This is probably something to do with the ESP communicating directly with Home Assistant via noise encryption.
If I add the following config to my devices:
http_request:
timeout: 5s
interval:
- interval: 5min
then:
- http_request.get:
url: http://10.1.1.1 # my router's ip address
Then the devices show up in the IP Table as connected.
While this works I was wondering if there was a better way to alert my router to the fact that my devices are connected.
Other things I have tried unsuccessfully:
Disable fast connect.
Set power save to NONE.
Disable fast roaming in the router.
I don't have problem you are describing. In my opinion this is not esphome issue it is your router problem or some feature.
As I know router should be populating this list based on data in arp table.
But I'm not sure as I'm not network engineer.
I personaly think that issue is within your router settings.
I'm using static address in yaml files for each device.
I'm not using unify equipment. I use opnsense as gateway and openwrt with batman-adv for my local network.
So your reply is off topic. I'll leave this one rather than flagging it like the previous person's ramblings about the merits of DHCP so as to prevent it happening again.
To be clear: this is a required work around for a Unify bug. Not a router misconfiguration, not a request for the pros and cons of DHCP.
In any case I have found further references that indicate 5 minutes polling is required.