Wemos D1 + Cayenne


#1

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”)


#2

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


#3

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


#4

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


#5

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