||4 years ago|
|README.md||4 years ago|
|Sonoff.ino||4 years ago|
Simple Arduino script for the ESP8266 chip on the Sonoff for controlling the relay with HTTP.
Led will flash a bit while establishing the wireless connect on startup.
HTTP /relay/on and /relay/off will enable/disable the power flow in the relay and turn on/off the led (as a status).
After wireless initialisation, the hardware button will also toggle the relay and led.