Download zip Select Archive Format
Name Last Update history
File dir data Loading commit data...
File dir src Loading commit data...
File txt .gitignore Loading commit data...
File txt README Loading commit data...
File txt config.json.example Loading commit data...
File txt platformio.ini Loading commit data...
File txt test.sh Loading commit data...

README

needs homie 2.0 and FastLED


to upload code:

platformio run -t upload

to upload webup & config:


cp config.json.example data/homie/config.json

vim data/homie/config.json 

platformio run -t uploadfs

mosquitto_pub -h mqtt.devlol.org -t 'devlol/devices/8bf1a0e0/light/cb/set' -m 'rgbrgbrgbrgbrbg'
mosquitto_pub -h mqtt.devlol.org -t 'devlol/devices/8bf1a0e0/light/rgb_cb/set' -m 'FF00FFFF00FFFF00FF'

adjust to the number of leds

mosquitto_pub -h mqtt.devlol.org -t 'devlol/devices/8bf1a0e0/light/brightness/set' -m '50'