Skip to content

Instantly share code, notes, and snippets.

@cyonhosting
cyonhosting / doorbell.ino
Last active December 11, 2018 17:06
Make a simple doorbell report its ringing to a slack channel. Timer, ringing-count, delay-warnings and more included. Language: C++
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
/*
WIFI CONFIGURATION
*/
char SSID[] = "<wlan-id>"; // The ID of the wlan network