Hello
On my router, I created a special subnet for smart devices and made routing on the router to raspberry from my personal network. And everything was fine. Until I bought a chromecast ultra and google nest mini device. These devices must be on your personal network to be able to manage them from your phone, but then they are not visible in the smart device subnet. How to make HA search for devices in a different subnet. Because I can ping both devices from raspberry, as I have prescribed static routing.
I was advised to do routing in Docker, but I couldn’t figure it out, maybe someone already did it and can help me with it.
I switched to handling chromecast notifications and other stuff in node-red since HA does not work anymore with chromecast if it is located in a different subnet. Node red does not complain about cast devices located on other subnets
In my case HA is located behind a ipsec vpn as it is located in a datacenter.
service-name - can be anything id - UUID, you can get one from here - https://www.uuidgenerator.net/version1 md - Model, can be anything fn - Friendly name in Home assistant host-name - can be anything, should end in .local or other domain specified in avahi config.
Then you need to place an IP of the device in /etc/avahi/hosts: