How to control ESP8266 digital output Control from thingworx mashup by using manual switch to control esp8266 connected device.
Please provide any example code
There are a variety of ways to control this module since it supports protocols such as SPI and i2C, and it has also an Arduino-like firmware out there.
What did you try until now?
I tried using ESP8266 wifi Http protocol to send data to thingworx.
But I want to more details oh how to use MQTT for two ways communication between thingworx and esp8266