How to automatic controll WS2811

yes i am

[{"id":"7e1945ad.8d0ddc","type":"mqtt out","z":"b58a1974.f4e868","name":"","topic":"nodeMCU/cmd","qos":"","retain":"","broker":"19efa301.6c402d","x":640,"y":260,"wires":[]},{"id":"fbcbef6f.486cd","type":"inject","z":"b58a1974.f4e868","name":"Absolute Zero","topic":"","payload":"NeoPixel,20,0,72,186","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":120,"wires":[["7e1945ad.8d0ddc"]]},{"id":"19efa301.6c402d","type":"mqtt-broker","z":"","name":"","broker":"192.168.178.35","port":"1883","tls":"","clientid":"","usetls":false,"compatmode":true,"keepalive":"15","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]

Great so now you can communicate between NR and espeasy! Now you need to learn about how ESPeasy works. I'd suggest you go read https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules

BTW there are a couple neopixel commands and in all cases r is the red value, g is the green value and b is the blue value:

NeoPixel,n,r,g,b where n is the NeoPixel number,
NeoPixelAll,r,g,b
NeoPixelLine,s,e,r,g,b where s if the starting LED and e is the ending LED

One note on NeoPixelAll: if you have a 12 neopixel strip or circle you can not say NeoPixelAll,10,3,25,0,0 - the end has to be great than the start so in thin case you would need two commands NeoPixelAll,1,3,25,0,0 and `NeoPixelAll,10,12,25,0,0'

ok ty soo much i will look and try @zenofmud

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.