Tadeas Dvoracek
Published

Home automation V1 (Arduino, Raspberry Pi, ESP8266)

Home automation project with Arduino, Raspberry Pi and ESP8266.

AdvancedShowcase (no instructions)12,806
Home automation V1 (Arduino, Raspberry Pi, ESP8266)

Things used in this project

Story

Read more

Code

Cayenne-ESP8266.ino

Arduino
//#define CAYENNE_DEBUG         // Uncomment to show debug messages
#define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
#include "CayenneDefines.h"
#include "BlynkSimpleEsp8266.h"
#include "CayenneWiFiClient.h"

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "TOKEN";
// Your network name and password.
char ssid[] = "SSID";
char password[] = "PASSWORD";

void setup()
{
  Serial.begin(9600);
  Cayenne.begin(token, ssid, password);
}

void loop()
{
  Cayenne.run();
}

Credits

Tadeas Dvoracek

Tadeas Dvoracek

10 projects • 40 followers

Comments