Wemos D1 + Cayenne

Hi, is possible to use cayenne with Wemos D1 R2 board?
Which board I have to select on “Step 3: Connect your Arduino”?
I tried Arduino Leonardo—>Arduino ESP8266 WiFi but when I try to upload the sketch, it gives me this error:
C:\Users\LIM\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTESP8266Shield.h:31:34: fatal error: ESP8266SerialLibrary.h: No such file or directory

#include “ESP8266SerialLibrary.h”

compilation terminated.

exit status 1
Errore durante la compilazione per la scheda WeMos D1 R2 & mini.
I have included the library (as written in the code “MyDocuments\Arduino\libraries\CayenneMQTT\extras\libraries”)

Welcome to the cayenne community @davidelaureti54. have a look at this post Adding a New Device using MQTT

Thanks, I have solved. A question: My pc (so my cayenne dashboard) must be connected at the same wifi network of my ESP8266 board?

No. you can access the cayenne dashboard from anywhere. you just need an internet connection.

@davidelaureti54
Here’s a tutorial I found with cayenne, seems to work pretty well.

1 Like