Recently I started to move my IoT devices to a separate VLAN. Things are mostly working as expected, but it still needs some tweaking, but my biggtest problem is with ESPHome dashboard. The ESPhome “controller” is located on the untagged LAN network and it’s not able to resolve ESPhome nodes by hostname. In reality it means that upgrading nodes or viewing their logs from the ESPhome dashboard is not possible. HA communicates with the nodes via IP address instead of hostname, so HA control is flawless.
Summing up the situation:
LAN → VLAN hostname IS NOT resolved (e.g. nslookup returns no IP address)
VLAN → VLAN hostname IS NOT resolved VLAN device
VLAN → LAN hostname IS resolved
Now I suspect that the issue is related to mDNS.
My setup is OPNsense router + Unifi switch and APs.
In OPNsense there are firewall rules allowing access from VLAN to ports 53 and 5353 to the firewall gateway and also i have installed MDNS repeater plugin.
I have also enabled port 5353 from VLAN to 224.0.0.0/24 - this helped in terms that the nodes on ESPhome dashboard show up green instead of red, but hostname is still not resolved.
It seems i am still missing something. Also given the above i am not sure I understand what the colors mean in the ESPhome dashboard.
i have no problem controlling my devices on the VLAN via home assistant. my issue is only slightly related related to Home Assistant and ESPHome, i need to solve it on networking level. there’s a reason i posted into the Uncategorized section, although it seems some admin moved my post to the ESPHome section.
Can you elaborate on how you fixed this and where you found this setting? I’ve been having these same issues since I moved my home assistant from RPi3 to a virtual machine on an intel nuc. This has been one of the bigger headaches that I’ve never gotten resolved. I’m also on Unifi AP’s with an EdgeRouter for DHCP. Thanks