MicroPython RGBWW Smart Bulb code for MQTT

subDesTagesMitExtraKaese dcae705c80 changed core logic 3 years ago
.vscode 8e3c5d1531 init 3 years ago
.gitignore 8e3c5d1531 init 3 years ago
README.md 8e3c5d1531 init 3 years ago
boot.py 8e3c5d1531 init 3 years ago
config.py 70d9fb9936 added leds class 3 years ago
dev-requirements.txt 8e3c5d1531 init 3 years ago
leds.py dcae705c80 changed core logic 3 years ago
main.py dcae705c80 changed core logic 3 years ago
micropy.json 8e3c5d1531 init 3 years ago
requirements.txt 8e3c5d1531 init 3 years ago
umqttsimple.py 8e3c5d1531 init 3 years ago

README.md

MicroPython RGBWW Smart Bulb

tested on a Tuya WinnerMicro W600 Smart Bulb

VS Code Development guide

Installation

  1. Copy python files to board.
  2. Reset the uC

How to upload code remotely (WM uPython SDK)

  1. Create wifi_config.py with following content:

    WIFI_SSID="<SSID>"
    WIFI_PASSWD="<PASSWORD>"
    
  2. Reboot the M600 and connect to bulb via FTP without username and password