ESP8266 Wifi + 1 Relay Configuration

Hi @er.simarpreetsingh, I wanted to let you know that we recently added official ESP8266 support to Cayenne through Add New > Device Widget > Microcontrollers in the web dashboard UI. I should be clear that this is support for ESP8266 as a standalone board to do your project with, not as a Wifi shield to be combined with an Arduino (or any other device).

Is it possible that you could design your project in this way so as to rely on our official support rather than sketches obtained through this community? I think if you are just turning controlling a single relay this may simplify your project a lot and allow you to eliminate the Arduino from the equation entirely.

Bumping this old thread to share that we’ve just provided support in our MQTT Arduino library for using ESP8266 as a shield for an Arduino device. :slight_smile: We’ve done basic testing and works well. Give it a try for your project and let us know how it works out for you !

Here is the updated library on our github:

and the code can be found here: