WiZ integration using IP for HA on wrong network

Wondering if anyone can give help here to a problem I’ve got.

I just did some network work at home yesterday (swapped a UniFi USG3 for a UniFi Dream Router), recreating the two networks I have:

  • IoT Devices 172.16.5.0/24
  • Main 192.168.27.0/24 (everything that’s not IoT stuff)

I have HA running on a RPi sitting at 192.168.27.3 (eth0) and 172.16.5.3 (wlan0).

I want to do as I did before, which is have the IoT network be treated as a Guest network and isolated from the Main network. However, when I enable that, a bunch of devices (WiZ lights) drop out of reachability from HA.

Doing a tcpdump, it looks like those devices are trying to communicate to the HA IP on the Main network, not the IoT network.

13:19:58.629997 IP 172.16.5.222.38899 > 192.168.27.3.34295: UDP, length 84
13:19:58.630007 IP 172.16.5.222.49155 > 192.168.27.3.38900: UDP, length 140
13:19:59.385758 IP 172.16.5.222.38899 > 192.168.27.3.34295: UDP, length 84
13:19:59.385768 IP 172.16.5.222.49155 > 192.168.27.3.38900: UDP, length 140

I’m not sure why they seemed to enroll with HA’s Main IP, and how I can get them to use the HA IoT IP instead. If they were sending their packets to 172.16.5.3 instead, then that would all be good as that IP is on the same network as them.

How can I force HA to use the 172.16.5.3 IP to communicate with devices on the 172.16.5.0/24 network?