Hi
I implemented this solution on the VPS server. MQTT Mosquitto broker. I have created a simple application that controls the relay. (Arduino sketch, ESP 8266).
https://www.b4x.com/android/forum/threads/b4x-mqtt-connect-reconnect.80815/#content
I noticed a small problem, when I turn off the application completely and turn it on again it does not show me the status of the relay.
I do not know if it should work this way or do I have to configure something on Mosquitto.
I implemented this solution on the VPS server. MQTT Mosquitto broker. I have created a simple application that controls the relay. (Arduino sketch, ESP 8266).
https://www.b4x.com/android/forum/threads/b4x-mqtt-connect-reconnect.80815/#content
I noticed a small problem, when I turn off the application completely and turn it on again it does not show me the status of the relay.
I do not know if it should work this way or do I have to configure something on Mosquitto.