MicroPython RGBWW Smart Bulb code for MQTT

subDesTagesMitExtraKaese 69b1257f97 shifted duty values by 1 il y a 3 ans
.vscode 8e3c5d1531 init il y a 3 ans
.gitignore 8e3c5d1531 init il y a 3 ans
README.md 8e3c5d1531 init il y a 3 ans
boot.py 8e3c5d1531 init il y a 3 ans
config.py 70d9fb9936 added leds class il y a 3 ans
dev-requirements.txt 8e3c5d1531 init il y a 3 ans
leds.py 69b1257f97 shifted duty values by 1 il y a 3 ans
main.py dcae705c80 changed core logic il y a 3 ans
micropy.json 8e3c5d1531 init il y a 3 ans
requirements.txt 8e3c5d1531 init il y a 3 ans
umqttsimple.py 8e3c5d1531 init il y a 3 ans

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