Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 416 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 416 Bytes

Magic-Mirror

Arduino program for light switch using a Sonoff TH10 with on/off button on sensor input. Magic Mirror is the nickname for the lamp it controlls

The switch is made for a Sonoff TH10 where the sensor input is modified to accept a simple on off switch

The light is controlled by MQTT

Code can also be used for generic ESP8266.

Secrets are stored in secrets.h

Settings are in header of the .ino file