- Wemos D1 mini / NodeMCU
- WS2812 led strip
- Button TTP223
- Platform.io
- MQTT server
- Select you board in
platformio.iniindefault_envs - Install deps
pio lib install - Update config file
src/config.h - Flash by USB
- Wait WiFi network
MoonLamp - Connect to
MoonLamp(can be changed inconfig.h-AP_NAME) WiFi (password: 12345678, can be changed inconfig.h-AP_PASS) - Setup you home WiFi network
- State topic -
MoonLamp/MoonLamp_{CHIP_ID}/state - Command topic -
MoonLamp/MoonLamp_{CHIP_ID}/cmd
- Power On
P_ON - Power Off
P_OFF - Change brightness
BRI{1-255}exampleBRI100 - Change moon color
MODE{0-5}exampleMODE4 - Next moon color
NEXT
- Triple click on button
- Wait until the moon starts blinking red
- Triple click on button
- Wait until the moon turns red
- Upload firmware by ip address and password from
AP_PASS
