Hi again,
I am a bit closer, at lest I think so.
I have managed to change the incoming string (0 or 1) to boolean so now when GPIO 14 on the ESP8266 is activated and the relay connects this gets reflected by the switch in the IPS WebFront (it switches between On an Off when GPIO 14 is activated and deactivate). In this case I am using a http command to activate and deactivate the GPIO.
So mqtt message from ESP8266 gets to IPS.
The remaining problem is, if I toggle the switch in IPS WebFront nothing happens. No mqtt message is sent back. I have watched the log of ESP Easy and I have tried using MQTTX client connected to IPS mqtt server but it would appear that no mqtt message is sent from IPS.
I must be missing something fundamental regarding how mqtt works in IPS. I have tried to search the forum (including the German section with Google translate) but I have not found something I could use.
What am I missing?
yoggi
PS
I have looked at this post, do I need some php script in order to send a mqtt message when the boolean variable changes?
MiLight über ESP8266 - IP-Symcon 4.x/5.x/6.x / PHP-Module (Diskussion) - IP-Symcon Community