Skip to content

Instantly share code, notes, and snippets.

@shashankcic
Last active March 25, 2021 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shashankcic/e1dbde5028cfacf394cb6bd3eb80250f to your computer and use it in GitHub Desktop.
Save shashankcic/e1dbde5028cfacf394cb6bd3eb80250f to your computer and use it in GitHub Desktop.
Code for the Homote Device
// Code for Homote
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "625a196638b84ebe95af9440xxxxxxxx"; // Replaced some characters with x for privacy
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Shawshank";
char pass[] = "12345678";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment