MQTT Stopped working when switched from Ethernet Cable to WIFI

Check all configs for IP Address settings.
Most likely, the rPi3 has a new (different IP) on the wifi side
update your configs to use the new IP

You can also set a static IP on the rPi3:

How do you try to switch the relay? using an OH2 item, using a MQTT publish command, another way?

1 Like