Connect Cayenne with Esp32 in Arduino IDE


Can anyone help me how to connect Cayenne with Esp32 in Arduino IDE.
I am looking for a basic example.
Thanks for the reply.

Best regards



Hello, and welcome to Cayenne Community. I don’t have experience with this ESP, but could you try the method that is described here in the Community for Esp 8266 ? This Esp32 is just more powerful with more pins, bluetooth, dual core mcu etc… ?


Hi Franc, welcome to the Cayenne Community.

To expand a little bit, this is the method that ognqn was referring to. In addition, we have a MQTT Library that lets you connect ESP devices through our ‘Bring Your Own Thing’ MQTT API

Soon we’ll have support for this microcontroller natively in the Cayenne UI so you don’t have to dig through all of these links to find information on it. In the meantime if you run into any trouble with the above methods, please let us know and we can help troubleshoot/answer questions.

Direct use Blynk library

@fkralj if you have any problems just post your code and I’ll try to help out. I have an ESP32 here that I can test with.


I am waithing for the ESP32 suppor too.
If I could get code that will compile and turn a pin on or off I will be fine. I did it with ESP8266, but I can not make it compile for the ESP32.
Any help will be good.
Regard Svein


I think when I made that earlier post I did not realize our existing ESP8266 support did not cover this chip. It is on our roadmap for future integration, so keep an eye on our release notes for updates.

Certainly if anyone wants to troubleshoot the compilation errors, feel free to discuss here, maybe this can be overcome without waiting for official support in our UI.


@fkralj some success here ?