CELING LIGHT CONTROLLER
The objective of this project is to modify off-the-shelf ceiling lights so they can be controlled remotely. This is done by adding an ITEAD SONOFF on the power line of the lights. The firmware of the SONOFF has been replaced by a custom one so as to allow communication over MQTT.
Code available on GitHub.