Jorgen-VikingGod / ESP8266-WiFi-Relay

simple sketch of using ESP8266WebServer to switch relays on GPIO pins. It serves a simple website with toggle buttons for each relay
MIT License
20 stars 10 forks source link
arduino bootstrap3 esp8266 esp8266-arduino esp8266-webserver iot javascript jquery json relay relays spiffs webserver wifi

ESP8266-WiFi-Relay

simple sketch for ESP8266 of using ESP8266WebServer to switch relays on GPIO pins and serves a simple website with toggle buttons for each relay.

Features

What You Will Need

Hardware

Software

Building From Source

Please install Arduino IDE if you didn't already, then add ESP8266 Core (Beware! Install Git Version) on top of it. Additional Library download links are listed below:

You also need to upload web files to your ESP with ESP8266FS Uploader.

Unlisted libraries are part of ESP8266 Core for Arduino IDE, so you don't need to download them.

Steps