I’ve just started using this option (name_add_mac_suffix). It seems like a nice idea, but either I’m not using it correctly or it’s missing some finishing touches. I’m hoping it’s just me and that there is a simple answer.
If I set that option, the ESPHome dashboard always shows the device offline. I assume that’s because dashboard tries to resolve the name without a suffix and doesn’t find it. It looks like that option causes ESPHome to publish the suffixed name to mDNS.
A corollary to this is that OTA updates don’t work if the configuration uses DHCP addressing. However, even if I specify a static IP address (which gets OTA to work), dashboard still shows the device offline all the time.
I guess the recommendation is to use static addressing and to use the CLI instead of dashboard. Neither of those seem like the traditional newbie user friendliness of ESPHome. If one of the points of this config item is to enable sharing of configurations with others (a la the “Made for ESPHome” program), then it seems to call for a level of sophistication for those other users that isn’t completely desirable.
So, I’m hoping I’m wrong about this and have just missed some nice way to overcome these things. Have I?