SONOFF B1 firmware

Flashing the SONOFF B1

The SONOFF B1 is a light bulb with RGB LEDs controlled by an ESP8266. Just like for regular SONOFFs, I wrote a custom firmware for the B1 so that it better suits my needs. Namely, this custom firmware provides MQTT support and OTA updates through the Arduino IDE.

The LEDs of the SONMOFFB1 are driven by MY9321 ICs. The code to interface with those has been borrowed from the Tasmota project

The source code of the firmware available on GitHub

Here are the dependencies for the firmware:

Those are the flashing setting I used in the Arduino IDE: