I’ve a VLAN dedicated to IoT devices and, of course, HA can’t discover them. Is it possible have them discovered by HA via MQTT? Create them manually it’s a pita because they’re a lot and I would have to create sensors/switches + battery level + RSSI Thanks!
is there a reason you can’t put your HA in that VLAN too? if it’s a segregated, non-networked environment then why not create a second network adapter for your HA and give it an address in that VLAN too?
This is the right way!
VLANs typically can only cross communicate via the gateway, most broadcast discovery protocols don’t get routed via the gateway (because its not considered local), and while you can get the gateway to repeat some traffic, its very brittle… lots of network stack developers made assumptions about broadcast packets being on the local network segment.
I’ve added an extra NIC that is in the IoT VLAN, but there are no new devices. The NIC is ok, because I see that it gets the IP from the router. What can I check/run?
can you ping one of the IoT devices from the HA device on that new NIC?
can you manually add a device and HA see it/add it normally?
is there a firewall routing between HA and the IoT devices that might be blocking discovery somehow?