H801 rgbww node

#1

can somebody tell me what i am doing wrong withe the h801 node?
the value of the rgbww are not comming trough to the node.

[{"id":"87139c06.d08d5","type":"ui_colour_picker","z":"945180fe.d41cc","name":"","label":"","group":"fca18ac4.088f68","format":"rgb","outformat":"object","showSwatch":true,"showPicker":true,"showValue":true,"showHue":false,"showAlpha":false,"showLightness":false,"dynOutput":"true","order":1,"width":"5","height":"5","passthru":false,"topic":"","x":430,"y":220,"wires":[["e450a29c.386ae"]]},{"id":"e450a29c.386ae","type":"function","z":"945180fe.d41cc","name":"","func":"\nreturn [\n {payload:msg.payload.r},\n {payload:msg.payload.g},\n {payload:msg.payload.b}\n];","outputs":3,"noerr":0,"x":590,"y":220,"wires":[["7e8d095a.8a1818","29ee07b8.81d198"],["b0446494.3b78f8","689f060a.b10558"],["23954e12.13ba12","6a792660.0a0ea8"]]},{"id":"7e8d095a.8a1818","type":"debug","z":"945180fe.d41cc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":900,"y":200,"wires":[]},{"id":"b0446494.3b78f8","type":"debug","z":"945180fe.d41cc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":880,"y":240,"wires":[]},{"id":"23954e12.13ba12","type":"debug","z":"945180fe.d41cc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":880,"y":280,"wires":[]},{"id":"29ee07b8.81d198","type":"ui_numeric","z":"945180fe.d41cc","name":"","label":"","group":"fca18ac4.088f68","order":6,"width":"2","height":"1","passthru":true,"topic":"r1","format":"{{value}}","min":"0","max":"255","step":"5","x":1040,"y":400,"wires":[["4b3a0802.6724f8"]]},{"id":"689f060a.b10558","type":"ui_numeric","z":"945180fe.d41cc","name":"","label":"","group":"fca18ac4.088f68","order":8,"width":"2","height":"1","passthru":true,"topic":"g1","format":"{{value}}","min":"0","max":"255","step":"5","x":1040,"y":460,"wires":[["b4fb714e.34533"]]},{"id":"6a792660.0a0ea8","type":"ui_numeric","z":"945180fe.d41cc","name":"","label":"","group":"fca18ac4.088f68","order":10,"width":"2","height":"1","passthru":true,"topic":"b1","format":"{{value}}","min":"0","max":"255","step":"5","x":1040,"y":520,"wires":[["7a7af3f5.58cf1c"]]},{"id":"5033ac94.53e2e4","type":"ui_numeric","z":"945180fe.d41cc","name":"","label":"","group":"fca18ac4.088f68","order":14,"width":"2","height":"1","passthru":true,"topic":"w11","format":"{{value}}","min":"0","max":"255","step":"5","x":1040,"y":580,"wires":[["eda428d0.69f308","156a3e4f.db7342"]]},{"id":"3bfe8fdb.091e7","type":"ui_numeric","z":"945180fe.d41cc","name":"","label":"","group":"fca18ac4.088f68","order":12,"width":"2","height":"1","passthru":true,"topic":"w12","format":"{{value}}","min":"0","max":"255","step":"5","x":1040,"y":640,"wires":[["bfaf9cde.85f07","e7932623.945158"]]},{"id":"bfaf9cde.85f07","type":"ui_slider","z":"945180fe.d41cc","name":"","label":"ww","group":"fca18ac4.088f68","order":2,"width":"3","height":"1","passthru":true,"topic":"","min":"0","max":"255","step":"5","x":1030,"y":700,"wires":[["3bfe8fdb.091e7"]]},{"id":"eda428d0.69f308","type":"ui_slider","z":"945180fe.d41cc","name":"","label":"kw","group":"fca18ac4.088f68","order":3,"width":"3","height":"1","passthru":true,"topic":"","min":"0","max":"255","step":"5","x":1030,"y":740,"wires":[["5033ac94.53e2e4"]]},{"id":"99e75142.4a3dd","type":"ui_button","z":"945180fe.d41cc","name":"","group":"fca18ac4.088f68","order":5,"width":"4","height":"1","passthru":false,"label":"rood","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":410,"y":340,"wires":[["b0ec84f7.8fe078","71e36d94.9b3354","f5e81ace.8629f8","e2e1b21b.60654","acfcb6cc.e73568"]]},{"id":"b0ec84f7.8fe078","type":"function","z":"945180fe.d41cc","name":"target to 255","func":"msg.payload = \"255\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":340,"wires":[["29ee07b8.81d198"]]},{"id":"71e36d94.9b3354","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":380,"wires":[["689f060a.b10558"]]},{"id":"f5e81ace.8629f8","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":420,"wires":[["6a792660.0a0ea8"]]},{"id":"e2e1b21b.60654","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":460,"wires":[["5033ac94.53e2e4"]]},{"id":"37afc566.0e946a","type":"ui_button","z":"945180fe.d41cc","name":"","group":"fca18ac4.088f68","order":7,"width":"4","height":"1","passthru":false,"label":"Groen","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":410,"y":540,"wires":[["aa4c8e61.c27d3","db957cdb.61a85","ad9f050d.b14698","6976fad4.3d3f84","429e8aba.946e64"]]},{"id":"aa4c8e61.c27d3","type":"function","z":"945180fe.d41cc","name":"target to 255","func":"msg.payload = \"255\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":540,"wires":[["689f060a.b10558"]]},{"id":"db957cdb.61a85","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":580,"wires":[["29ee07b8.81d198"]]},{"id":"ad9f050d.b14698","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":620,"wires":[["6a792660.0a0ea8"]]},{"id":"6976fad4.3d3f84","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":660,"wires":[["5033ac94.53e2e4"]]},{"id":"8c43de1f.9dd5e","type":"ui_button","z":"945180fe.d41cc","name":"","group":"fca18ac4.088f68","order":9,"width":"4","height":"1","passthru":false,"label":"Blauw","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":410,"y":740,"wires":[["fcd1f9c4.2e8e58","7e9accb.7819b34","f04a084a.ab5898","8ce99d73.c03cb","fe5a358d.009ae8"]]},{"id":"fcd1f9c4.2e8e58","type":"function","z":"945180fe.d41cc","name":"target to 255","func":"msg.payload = \"255\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":740,"wires":[["6a792660.0a0ea8"]]},{"id":"7e9accb.7819b34","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":780,"wires":[["29ee07b8.81d198"]]},{"id":"f04a084a.ab5898","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":820,"wires":[["689f060a.b10558"]]},{"id":"8ce99d73.c03cb","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":860,"wires":[["5033ac94.53e2e4"]]},{"id":"2e2b9b22.77f734","type":"ui_button","z":"945180fe.d41cc","name":"","group":"fca18ac4.088f68","order":13,"width":"4","height":"1","passthru":false,"label":"Koud Wit","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":420,"y":940,"wires":[["cb10ce58.47499","e88abaaf.849f38","125cfff8.374af","476a5dc1.d1f3a4","f5e08b38.40f718"]]},{"id":"cb10ce58.47499","type":"function","z":"945180fe.d41cc","name":"target to 255","func":"msg.payload = \"255\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":940,"wires":[["5033ac94.53e2e4"]]},{"id":"e88abaaf.849f38","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":980,"wires":[["29ee07b8.81d198"]]},{"id":"125cfff8.374af","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1020,"wires":[["689f060a.b10558"]]},{"id":"476a5dc1.d1f3a4","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1060,"wires":[["6a792660.0a0ea8"]]},{"id":"acfcb6cc.e73568","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":500,"wires":[["3bfe8fdb.091e7"]]},{"id":"429e8aba.946e64","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":700,"wires":[["3bfe8fdb.091e7"]]},{"id":"fe5a358d.009ae8","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":900,"wires":[["3bfe8fdb.091e7"]]},{"id":"f5e08b38.40f718","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1100,"wires":[["3bfe8fdb.091e7"]]},{"id":"9a124b5f.4e9b38","type":"ui_button","z":"945180fe.d41cc","name":"","group":"fca18ac4.088f68","order":11,"width":"4","height":"1","passthru":false,"label":"Warm Wit","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":420,"y":1140,"wires":[["2b52cc03.9b2df4","16658b1a.cc3485","261e5c74.aa92b4","ba8b7958.9ecdb8","9af8dc1b.90dea"]]},{"id":"2b52cc03.9b2df4","type":"function","z":"945180fe.d41cc","name":"target to 255","func":"msg.payload = \"255\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1140,"wires":[["3bfe8fdb.091e7"]]},{"id":"16658b1a.cc3485","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1180,"wires":[["5033ac94.53e2e4"]]},{"id":"261e5c74.aa92b4","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1220,"wires":[["6a792660.0a0ea8"]]},{"id":"ba8b7958.9ecdb8","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1260,"wires":[["689f060a.b10558"]]},{"id":"9af8dc1b.90dea","type":"function","z":"945180fe.d41cc","name":"target to 0","func":"msg.payload = \"0\";\nmsg.topic = \"setTarget\";\nreturn msg;","outputs":1,"noerr":0,"x":610,"y":1300,"wires":[["29ee07b8.81d198"]]},{"id":"e7a59e6e.8212c","type":"ui_slider","z":"945180fe.d41cc","name":"","label":"Dimmer","group":"fca18ac4.088f68","order":4,"width":"6","height":"1","passthru":true,"topic":"procent","min":"0","max":"100","step":"2","x":1040,"y":860,"wires":[["5e4e9fd.788576"]]},{"id":"5e4e9fd.788576","type":"function","z":"945180fe.d41cc","name":"gekozen dim percentage","func":"msg.payload = 100 - (msg.payload);\nmsg.topic = \"procent2\";\nreturn msg;","outputs":1,"noerr":0,"x":1250,"y":860,"wires":[["4b3a0802.6724f8","b4fb714e.34533","7a7af3f5.58cf1c","156a3e4f.db7342","e7932623.945158"]]},{"id":"990c399f.e8a708","type":"function","z":"945180fe.d41cc","name":"r waarde","func":"val1 = msg.payload.r1\nval2 = msg.payload.procent2\n\nmsg.payload = val2 / 100 * val1;\nmsg.topic = \"r\";\nreturn msg;","outputs":1,"noerr":0,"x":1560,"y":400,"wires":[["e6c9796a.c42968","6422c3f.1dac83c"]]},{"id":"e6c9796a.c42968","type":"debug","z":"945180fe.d41cc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1730,"y":400,"wires":[]},{"id":"4b3a0802.6724f8","type":"join","z":"945180fe.d41cc","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":1370,"y":400,"wires":[["990c399f.e8a708"]]},{"id":"b4fb714e.34533","type":"join","z":"945180fe.d41cc","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":1370,"y":460,"wires":[["e3823ee5.21943"]]},{"id":"7a7af3f5.58cf1c","type":"join","z":"945180fe.d41cc","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":1370,"y":520,"wires":[["4c94aaba.92b234"]]},{"id":"156a3e4f.db7342","type":"join","z":"945180fe.d41cc","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":1370,"y":580,"wires":[["c5352d2.8ee17d"]]},{"id":"e7932623.945158","type":"join","z":"945180fe.d41cc","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":1370,"y":640,"wires":[["14a6df42.34f171"]]},{"id":"e3823ee5.21943","type":"function","z":"945180fe.d41cc","name":"g waarde","func":"val1 = msg.payload.g1\nval2 = msg.payload.procent2\n\nmsg.payload = val2 / 100 * val1;\nmsg.topic = \"g\";\nreturn msg;","outputs":1,"noerr":0,"x":1560,"y":460,"wires":[["c6d6bc2a.a4b97","6422c3f.1dac83c"]]},{"id":"c6d6bc2a.a4b97","type":"debug","z":"945180fe.d41cc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1730,"y":460,"wires":[]},{"id":"4c94aaba.92b234","type":"function","z":"945180fe.d41cc","name":"b waarde","func":"val1 = msg.payload.b1\nval2 = msg.payload.procent2\n\nmsg.payload = val2 / 100 * val1;\nmsg.topic = \"b\";\nreturn msg;","outputs":1,"noerr":0,"x":1560,"y":520,"wires":[["b75ae1d1.3237e","6422c3f.1dac83c"]]},{"id":"b75ae1d1.3237e","type":"debug","z":"945180fe.d41cc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1730,"y":520,"wires":[]},{"id":"c5352d2.8ee17d","type":"function","z":"945180fe.d41cc","name":"w1 waarde","func":"val1 = msg.payload.w11\nval2 = msg.payload.procent2\n\nmsg.payload = val2 / 100 * val1;\nmsg.topic = \"w1\";\nreturn msg;","outputs":1,"noerr":0,"x":1570,"y":580,"wires":[["7b75cfc0.1458a","6422c3f.1dac83c"]]},{"id":"7b75cfc0.1458a","type":"debug","z":"945180fe.d41cc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1730,"y":580,"wires":[]},{"id":"14a6df42.34f171","type":"function","z":"945180fe.d41cc","name":"w2 waarde","func":"val1 = msg.payload.w12\nval2 = msg.payload.procent2\n\nmsg.payload = val2 / 100 * val1;\nmsg.topic = \"w2\";\nreturn msg;","outputs":1,"noerr":0,"x":1570,"y":640,"wires":[["27139c5f.d0fce4","6422c3f.1dac83c"]]},{"id":"27139c5f.d0fce4","type":"debug","z":"945180fe.d41cc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1730,"y":640,"wires":[]},{"id":"6422c3f.1dac83c","type":"h801","z":"945180fe.d41cc","name":"rgbww ledstrip","mac":"00:05:FE:9A:3D:58","broadcast":"","r":"","g":"","b":"","w1":"","w2":"","repeat":"3","x":2200,"y":540,"wires":[]},{"id":"fca18ac4.088f68","type":"ui_group","z":"","name":"H801","tab":"92b25a8d.c33e18","order":1,"disp":true,"width":"6"},{"id":"92b25a8d.c33e18","type":"ui_tab","z":"","name":"Test","icon":"dashboard","order":4}]

0 Likes