Skip to content

JEPLANS/ESP-Dimmer-Switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 

Repository files navigation

ESP-Dimmer-Switch

Web based Programmable Dimmer Switch Based on the ESP-M3 8285 Module

Of couse the code will work on any esp8266 or esp8255 but it will need at least 1M of flash for OTA to work.

I drew on many sources when I started this project I apologize for not keeping better track to give credit, I know one of many was: https://www.instructables.com/Arduino-controlled-light-dimmer-The-circuit/

Warning!! working with mains power is dangerous do not build this unless you really know what are doing. Always Disconnect power before working on it. There a real risk a Electrocution! As well a fire. Build at your own risk.

Software currently supports Dimmer , Relay , and Dual Relay versions of the switch. Switches automaticly discover each other with MDNS to create a page of all switches. image

Here is a playlist of all my versions so far. https://youtube.com/playlist?list=PL5GnlzXbSNxN_0DaoBrPkn7FY7Wj2uzeJ

Web pages and configuration files are stored in SPIFFS you will need the "ESP8266 Sketch Data Upload" plugin found at https://github.com/esp8266/arduino-esp8266fs-plugin to upload the Data files.

On the ESP8285 there is 1M of Flash , below are the settings I have been using for the ESP8295 in Arduino IDE. Flash size is the only one that matters if you change it from one upload to the next it will wipe out the file system.

image

There is a file, wifi.cfg you should update it with your wifi settings prior to upload.

The switches are remotely trigger-able with any http client see notes.txt in data folder

Macro functionality is still under development.

About

Web based Programable Dimmer Switch Based on the ESP-M3 8285 Module

Resources

Stars

Watchers

Forks

Packages

No packages published