Sonoff D1 Dimmer Arduino source code over MQTT using ThingsBoard (Has implemented by reverse engineering the switch functionality)
- Sonoff D1 Dimmer
- Flashing
- Requirements
SONOFF D1 Smart Dimmer Switch is a Wireless LED Light Dimmer Switch that can easily turn on/off, brighten and dim the connected dimmable LED lights.
For flashing the Sonoff Basic, hold the button while connecting the 3.3V power. The LED remains off until the flashing process is done and the board is rebooted. For more information read instruction from this link carefully.
Open Arduino IDE and go to Sketch -> Include Library -> Manage Libraries. Find and install the following libraries:
Happy coding!!!