MicroPython RGBWW Smart Bulb code for MQTT

subDesTagesMitExtraKaese 911d3222f2 bugfix há 3 anos atrás
.vscode 8e3c5d1531 init há 3 anos atrás
.gitignore 8e3c5d1531 init há 3 anos atrás
README.md 8e3c5d1531 init há 3 anos atrás
boot.py 8e3c5d1531 init há 3 anos atrás
config.py 70d9fb9936 added leds class há 3 anos atrás
dev-requirements.txt 8e3c5d1531 init há 3 anos atrás
leds.py 911d3222f2 bugfix há 3 anos atrás
main.py 2bf9eb08cd fixed error recovery há 3 anos atrás
micropy.json 8e3c5d1531 init há 3 anos atrás
requirements.txt 8e3c5d1531 init há 3 anos atrás
umqttsimple.py 8e3c5d1531 init há 3 anos atrás

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