The company behind the Smitch smart bulb has gone out of business, which caused the bulb to stop functioning through its official app. This guide explains how to hack the Smitch smart bulb, which is based on the TYWE3L module, and flash WLED firmware to regain control of the RGB+CCT LEDs. One can also use other binaries like tasmota using this guide.
esptool.py
) or web installerGPIO Pin | Function |
---|---|
GPIO04 | PWM1 - Red |
GPIO12 | PWM2 - Green |
GPIO14 | PWM3 - Blue |
GPIO05 | PWM4 - Warm White |
GPIO13 | PWM5 - Cold White |
GPIO00 | Flash Mode (connect to GND during flashing) |
Carefully open the Smitch smart bulb to expose the PCB. Identify the TYWE3L module and locate its pins as shown in the schematic above.
Solder wires to the following pins on the TYWE3L module:
Refer to this images for soldering pins.
Connect the wires to a USB to TTL adapter as follows:
OR in my case due to unavailibility of adapter I used my nodemcu esp32-wroom-32 microcontroller instead
remember to connect the en pin to gnd to disable the onboard chip and to connect TX -> TX and RX -> RX.
Use the WLED Web Installer for an easier flashing process.
Follow the on-screen instructions to select your device and flash the firmware.
If you prefer manual flashing, download the latest WLED firmware binary and use a tool like esptool.py.
Install the Python tool esptool.py
by running:
pip install esptool
Erase the existing firmware:
esptool.py --port <PORT> erase_flash
Flash the WLED firmware:
esptool.py --port <PORT> --baud 115200 write_flash -fm dout 0x0 <WLED_BINARY>
Replace <PORT>
with your USB port (e.g., /dev/ttyUSB0
or COM3
) and <WLED_BINARY>
with the path to the WLED binary file.
Disconnect GPIO00 from GND and restart the bulb.
WLED-AP
). (password: wled1234)http://4.3.2.1
.Happy Hacking!