# How to automatic controll WS2811

**URL:** <https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280>\
**Category:** General\
**Created:** [26 February 2020 10:06 UTC](https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280 "2020-02-26T10:06:58Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![theSushi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thesushi/32/47459_2.png) [@theSushi](https://discourse.nodered.org/u/theSushi)\
**Post date:** [1 March 2020 11:18 UTC](https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280/21 "2020-03-01T11:18:54Z")

</div>

yes i am

```auto
[{"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":""}]

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 March 2020 13:14 UTC](https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280/22 "2020-03-01T13:14:51Z")

</div>

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](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'

---

<div class="post-metadata">

**Author:** ![theSushi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thesushi/32/47459_2.png) [@theSushi](https://discourse.nodered.org/u/theSushi)\
**Post date:** [1 March 2020 18:46 UTC](https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280/23 "2020-03-01T18:46:59Z")

</div>

ok ty soo much i will look and try @zenofmud

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 April 2020 18:47 UTC](https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280/24 "2020-04-30T18:47:03Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/how-to-automatic-controll-ws2811/22280.md?page=1)
