Skip to content

daniszewski/ESP8266_LightDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 Power Driver

ESP8266-based controller for handling the power of multiple main current sources. The user can define different animations played in response to any state change of wall switches.

Handled platforms

All ESP8266-based hardware with at least 2048kB of flash memory and USB controller on board.

Features

  • PWM, AC zero crossing light dimming, simple ON/OFF relays
  • 1-state, 2-states and stair switches, closing circuits or by A/C phase detector
  • up to 10 power sections/wall switches per one ESP8266 module
  • power level animations with sequence definitions based on events from switches
  • admin mode for setup, OTA updates, etc...
  • web server with access to all functions
  • communication between modules via REST Api
  • internal scripting language
  • live stats (current switch states, power levels)
  • virtual switches managed remotely
  • automatic WiFi switch based on signal strength
  • MQTT protocol handling
  • HD44780 over I2C

Build instruction

There are two ways to build it and deploy to the hardware:

  1. Arduino platform
  2. VS Code
    • Requirements
      • PlatformIO extension in latest build (platformio update)
    • To build call the "Build" task

To maintain compatibility with Arduino environment all the source code files must be placed in one folder (src) along with empty src.ino (sketch file).