This is an Arduino library to control electronic dimmable ballasts for fluorescent light tubes.
It works with ESP8266, Arduino UNO, Micro, MEGA, DUE and other compatible Arduino boards.
For description of API and application examples, please refer to documentation section. You will find there also description and graphs of state machine sequence, wave-forms of control signals as well as sample user interface in openHAB.
This library is a spin-off of project esp-lamp-in-sw written in C language. Check it out if you are not convinced with using C++ for embedded systems.
|Building and testing hardware for this project involves working with mains power that is dangerous to your life. Do not connect this project to the mains power without proper training and certification! Please read Safety Guidelines for High Voltage and/or Line Powered Equipment|
This library features example sketches and openHAB code to show options to control the lamp using:
The last three option are presented on screen shoots below.
|Web browser with simple HTML code||openHAB with MQTT binding||openHAB with HTTP binding|
Feel free to contribute to the project in any way you like!
If you find any issues with code or descriptions please report them using Issues tab above.
Invite me to freshly squeezed orange juice.
Software for this project has been prepared thanks to great work of the following teams and individuals: