ESp8266 - MQTT - Receiving data from Dashboard


I have connected the ESP8266 to Cayenne using MQTT. I can send information to dashboard using virtualpins without any problem.

Is it possible to receive an ON/OFF state from the Dashboard to the ESP8266 using MQTT?

Thanks for any help.


It would be easy enough to send it an off signal, but once it’s off you will have to manually turn it back on. In a virtual pin use this command ESP.deepSleep(1); As long as you don’t connect GPIO 16 to reset it won’t turn back on.