Shelly RGBW2 mit RGBW LED Strip Nodered Flow?

Hi there,

I am using a Shelly RGBW2 with an RGBW LED strip.
Now I want to control them via Nodered in color mode.
Does anyone have any experience of how I can control the LED strip via MQTT. Unfortunately I did not find anything in the forum (except for controlling 4 white LED strips).
An example flow would be great.

Thank you very much.

Thoralf

See documentation on shelly's website

Hi there,
Thank you for the info.
With this page I managed to control the Shelly RGBW2 via Nodered.
It works great.

Thoralf

2 Likes
[{"id":"38836446.fa2064","type":"mqtt out","z":"3223cf1.86b863","name":"Set Shelly RGBW2","topic":"shellies/shellyrgbw2-6CDB64/color/0/set","qos":"","retain":"","broker":"e8202970.dc8b18","x":1290,"y":780,"wires":[]},{"id":"b9c177c7.a39598","type":"json","z":"3223cf1.86b863","name":"","property":"payload","action":"","pretty":false,"x":210,"y":700,"wires":[["5cfee5cf.b1726c","a07a0150.2493e","b2403360.037a48","7f9561f1.b474f8","161c506e.3b2ce","dcfe06bb.d43758","a35123e8.2fba5","fe02cfcb.5739c"]]},{"id":"5cfee5cf.b1726c","type":"change","z":"3223cf1.86b863","name":"Rot","rules":[{"t":"move","p":"payload.red","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":820,"wires":[["b8dea445.dbc91"]]},{"id":"6268c58.4e088bc","type":"mqtt in","z":"3223cf1.86b863","name":"Status Shelly RGBW2","topic":"shellies/shellyrgbw2-6CDB64/color/0/status","qos":"2","datatype":"auto","broker":"e8202970.dc8b18","x":100,"y":640,"wires":[["b9c177c7.a39598"]]},{"id":"dcd77cd3.e5149","type":"inject","z":"3223cf1.86b863","name":"","topic":"off","payload":"{\"turn\":\"off\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":860,"y":680,"wires":[["38836446.fa2064"]]},{"id":"5d9bb69d.53dd38","type":"template","z":"3223cf1.86b863","name":"Rot","field":"payload","fieldType":"msg","format":"json","syntax":"mustache","template":"{\"red\" :{{payload}}}","output":"json","x":670,"y":820,"wires":[["38836446.fa2064"]]},{"id":"b37b4dad.98a6d","type":"inject","z":"3223cf1.86b863","name":"","topic":"on","payload":"{\"turn\":\"on\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":860,"y":620,"wires":[["38836446.fa2064"]]},{"id":"b8dea445.dbc91","type":"ui_slider","z":"3223cf1.86b863","name":"","label":"Rot","tooltip":"","group":"5987213d.4d36b","order":3,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"255","step":"1","x":530,"y":820,"wires":[["5d9bb69d.53dd38"]]},{"id":"3ed98d46.f9cada","type":"template","z":"3223cf1.86b863","name":"GrĂĽn","field":"payload","fieldType":"msg","format":"json","syntax":"mustache","template":"{\"green\" :{{payload}}}","output":"json","x":670,"y":920,"wires":[["38836446.fa2064"]]},{"id":"7f9561f1.b474f8","type":"debug","z":"3223cf1.86b863","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":410,"y":600,"wires":[]},{"id":"9ff852ed.d7b868","type":"ui_slider","z":"3223cf1.86b863","name":"","label":"GrĂĽn","tooltip":"","group":"5987213d.4d36b","order":5,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"255","step":"1","x":530,"y":920,"wires":[["3ed98d46.f9cada"]]},{"id":"d40f9a4b.cb5608","type":"template","z":"3223cf1.86b863","name":"Blau","field":"payload","fieldType":"msg","format":"json","syntax":"mustache","template":"{\"blue\" :{{payload}}}","output":"json","x":670,"y":1020,"wires":[["38836446.fa2064"]]},{"id":"88da0417.7ddb","type":"ui_slider","z":"3223cf1.86b863","name":"","label":"Blau","tooltip":"","group":"5987213d.4d36b","order":6,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"255","step":"1","x":530,"y":1020,"wires":[["d40f9a4b.cb5608"]]},{"id":"6f57d366.1d3da4","type":"template","z":"3223cf1.86b863","name":"Weiss","field":"payload","fieldType":"msg","format":"json","syntax":"mustache","template":"{\"white\" :{{payload}}}","output":"json","x":670,"y":1120,"wires":[["38836446.fa2064"]]},{"id":"631a1414.56798c","type":"ui_slider","z":"3223cf1.86b863","name":"","label":"Weiss","tooltip":"","group":"5987213d.4d36b","order":7,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"255","step":"1","x":530,"y":1120,"wires":[["6f57d366.1d3da4"]]},{"id":"ddaf0bb4.b76ad","type":"template","z":"3223cf1.86b863","name":"Gain","field":"payload","fieldType":"msg","format":"json","syntax":"mustache","template":"{\"gain\" :{{payload}}}","output":"json","x":670,"y":1220,"wires":[["38836446.fa2064"]]},{"id":"99037343.e5b2d8","type":"ui_slider","z":"3223cf1.86b863","name":"","label":"Gain","tooltip":"","group":"5987213d.4d36b","order":8,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"100","step":"1","x":530,"y":1220,"wires":[["ddaf0bb4.b76ad"]]},{"id":"a07a0150.2493e","type":"change","z":"3223cf1.86b863","name":"GrĂĽn","rules":[{"t":"move","p":"payload.green","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":920,"wires":[["9ff852ed.d7b868"]]},{"id":"b2403360.037a48","type":"change","z":"3223cf1.86b863","name":"Blau","rules":[{"t":"move","p":"payload.blue","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":1020,"wires":[["88da0417.7ddb"]]},{"id":"161c506e.3b2ce","type":"change","z":"3223cf1.86b863","name":"Weiss","rules":[{"t":"move","p":"payload.white","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":1120,"wires":[["631a1414.56798c"]]},{"id":"dcfe06bb.d43758","type":"change","z":"3223cf1.86b863","name":"Gain","rules":[{"t":"move","p":"payload.gain","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":1220,"wires":[["99037343.e5b2d8"]]},{"id":"1cd77d33.55fee3","type":"ui_switch","z":"3223cf1.86b863","name":"","label":"An/Aus","tooltip":"","group":"5987213d.4d36b","order":1,"width":0,"height":0,"passthru":false,"decouple":"true","topic":"","style":"","onvalue":"{\"turn\":\"on\"}","onvalueType":"json","onicon":"","oncolor":"","offvalue":"{\"turn\":\"off\"}","offvalueType":"json","officon":"","offcolor":"","x":740,"y":760,"wires":[["38836446.fa2064"]]},{"id":"a35123e8.2fba5","type":"change","z":"3223cf1.86b863","name":"An/Aus","rules":[{"t":"move","p":"payload.ison","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":760,"wires":[["59766084.e64ca8"]]},{"id":"59766084.e64ca8","type":"change","z":"3223cf1.86b863","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"true","fromt":"bool","to":"{\"turn\":\"on\"}","tot":"json"},{"t":"change","p":"payload","pt":"msg","from":"false","fromt":"bool","to":"{\"turn\":\"off\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":760,"wires":[["1cd77d33.55fee3"]]},{"id":"78de12d3.a82d0c","type":"ui_button","z":"3223cf1.86b863","name":"","group":"5987213d.4d36b","order":9,"width":0,"height":0,"passthru":false,"label":"Effekt 0","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"0\"}","payloadType":"json","topic":"","x":1020,"y":1060,"wires":[["38836446.fa2064"]]},{"id":"9ac1ab21.6fad28","type":"ui_button","z":"3223cf1.86b863","name":"","group":"c6754d7a.09ffd","order":1,"width":0,"height":0,"passthru":false,"label":"Meteor Shower","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"1\"}","payloadType":"json","topic":"","x":1040,"y":1100,"wires":[["38836446.fa2064"]]},{"id":"9cce86f2.f46e88","type":"ui_button","z":"3223cf1.86b863","name":"","group":"5c7ec374.bc408c","order":1,"width":0,"height":0,"passthru":false,"label":"Gradual change","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"2\"}","payloadType":"json","topic":"","x":1040,"y":1140,"wires":[["38836446.fa2064"]]},{"id":"45bf97ce.dedc6","type":"ui_button","z":"3223cf1.86b863","name":"","group":"33d02cbf.23749c","order":1,"width":0,"height":0,"passthru":false,"label":"Breath","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"3\"}","payloadType":"json","topic":"","x":1010,"y":1180,"wires":[["38836446.fa2064"]]},{"id":"f066a653.7f9108","type":"ui_button","z":"3223cf1.86b863","name":"","group":"c6754d7a.09ffd","order":2,"width":0,"height":0,"passthru":false,"label":"Flash","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"4\"}","payloadType":"json","topic":"","x":1010,"y":1220,"wires":[["38836446.fa2064"]]},{"id":"8478812.52377","type":"ui_button","z":"3223cf1.86b863","name":"","group":"33d02cbf.23749c","order":2,"width":0,"height":0,"passthru":false,"label":"Gradual On/Off","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"5\"}","payloadType":"json","topic":"","x":1040,"y":1260,"wires":[["38836446.fa2064"]]},{"id":"8dd69655.42786","type":"ui_button","z":"3223cf1.86b863","name":"","group":"5c7ec374.bc408c","order":2,"width":0,"height":0,"passthru":false,"label":"Red/Green change","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"effect\":\"6\"}","payloadType":"json","topic":"","x":1050,"y":1300,"wires":[["38836446.fa2064"]]},{"id":"fe02cfcb.5739c","type":"change","z":"3223cf1.86b863","name":"Effect","rules":[{"t":"move","p":"payload.effect","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":700,"wires":[["d72f9d8f.657ac8"]]},{"id":"d72f9d8f.657ac8","type":"ui_text","z":"3223cf1.86b863","group":"5987213d.4d36b","order":2,"width":0,"height":0,"name":"","label":"Effekt","format":"{{msg.payload}}","layout":"col-center","x":570,"y":700,"wires":[]},{"id":"e8202970.dc8b18","type":"mqtt-broker","z":"","name":"localhost","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"5987213d.4d36b","type":"ui_group","z":"","name":"RGB1","tab":"70a03fde.baaac8","order":1,"disp":false,"width":"5","collapse":false},{"id":"c6754d7a.09ffd","type":"ui_group","z":"","name":"RGW4","tab":"70a03fde.baaac8","order":4,"disp":true,"width":5,"collapse":false},{"id":"5c7ec374.bc408c","type":"ui_group","z":"","name":"RGB 2","tab":"70a03fde.baaac8","order":2,"disp":true,"width":5,"collapse":false},{"id":"33d02cbf.23749c","type":"ui_group","z":"","name":"RGB3","tab":"70a03fde.baaac8","order":3,"disp":true,"width":5,"collapse":false},{"id":"70a03fde.baaac8","type":"ui_tab","z":"","name":"RGB","icon":"dashboard","order":2,"disabled":false,"hidden":false}]

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