Govee lights integration different VLAN

I have my HA installed as docker container in Synology NAS. And in bridge network mode because I have more things in that bridge like MariaDB.

I have also govee lights in domo-vlan, not the same as HomeAssitant vlan. And local lights home assistant integration doesn’t find any govee lights.
I have try to use govee2mqtt docker and with this docker and specifying the IP of govee lights works. But it doesn’t announce lights to mqtt. Seems that this docker is deprecated ot unmaintained.

What is the recommended way to add govee lights to HA and what kind of network configuration I need. I think it’s a bad idea that the official Goove integration doesn’t allow you to manually specify the IP addresses of the lights…

With regards,

Since you have set up VLANs, I’m going to assume that your router/controller is capable of ACLs. That being the case, you need to set up an ACL that allows access from your domo-VLAN to the IP address of your HA server and vice-versa.

You may also need to set up mDNS rules if the above doesn’t solve it.

If the Govee lights use mDNS at all.
It could also be uPNP, SSDP, ZeroConfig or a proprietary protocol.

VLANs are good for segregating networks, but if you need to still communicate between them, then you need to understand the protocols and how they are routed between the VLANs.
Many of the discovery protocols are not routable with normal IP routing.
You might also need to handle IPv6 and the protocols that run on top of that protocol. IPv6 is not at all like IPv4, so you need to learn that too.

The common mistake is to think VLANs are just multiple networks.
It is much more routing and proxying.

Hi!

Thanks for reply. I have rules on my mikrotik to allow domo-vlan devices to reach certain ports on the homelab-vlan like home assistant.

I think that the problem is my home assistant container configuration which is in bridge mode. Maybe I need to deply a mDNS relay docker to repeat mDNS packets outside the docker network.

You can allow all you want. It will still not get routed.

You need it between the VLANs.

What I meant to say is that if my Home Assistant is on a Docker bridge network, the mDNS packets sent by Home Assistant will not leave the Docker network, right?

If Home Assistant is installed in bridge mode, it is recommended to use a Docker container that acts as an mDNS repeater. Which container is recommended for this?

I think this is maybe the first step… In many other integrations it’s possible to specify IP address if discovery doesn’t work. But not with Govee integration :frowning:

With regads,

HA is probably running with host mode, so it will be connected directly to the host network and therefore mDNS will reach the HA network.
Bridge mode should not block either. Bridge means everything is moved between the interfaces (some bridges can have rules set up, but the default should be no rules and everything is moved).

And many WiFi ecosystems do not allow specifying IP addresses. It is a method to hide functionality that the vendor deems too advanced for the user. Apple is good at dumbing down their users, but others use it too, like Govee.