When i switch my Ethernet Cable Connection to wifi my MQTT Stopped working. I am no more able to switch the relay on/off o my NodeMCU with ESPEasy.
EasyESP Log stats connected to Broker and everything seems to be alright. But still not able to switch relay. When my RPI3 was connected to physical ethernet cable to my router. I was able to switch normally. But now my RPI3 is connected to router using wifi MQTT stopped working.
I am using mqtt to operate the relay using openhabian in raspberrypi and easyesp in node mcu… I have already changed the new ip address of wifi side in cofigs… Even my nodemcu log also shows that it is connected to broker… but I am not able to operate the relay using wifi anymore but it was working fine with Ethernet…
ok (they look good). post your mqtt.cfg file also please (as well as mosquitto.conf)
did you modify the mqtt.cfg (or mosquitto.conf) when you changed the connection settings to the wifi in any way?
any errors in openhab.log when OH2 tries to connect to the broker?