Test_ZigBee

Test ZigBee Flow, Ikea Remote mit IKEA Farbe E14 Versuch

[{"id":"74449851.d38e38","type":"tab","label":"ZigBee Node","disabled":false,"info":""},{"id":"7b5c70cc.752c6","type":"zigbee-controller","z":"74449851.d38e38","shepherd":"3719cbd0.dc01f4","name":"ZigBee Controller","x":170,"y":60,"wires":[[]]},{"id":"288e5147.a1ee4e","type":"ui_colour_picker","z":"74449851.d38e38","name":"","label":"","group":"6a7f8875.05064","format":"hex","outformat":"string","showSwatch":true,"showPicker":false,"showValue":false,"showHue":false,"showAlpha":false,"showLightness":true,"square":"false","dynOutput":"false","order":1,"width":0,"height":0,"passthru":true,"topic":"","x":210,"y":520,"wires":[["5976b67d.996c98","8fe1717e.4f6778"]]},{"id":"529366d5.303c08","type":"ui_slider","z":"74449851.d38e38","name":"","label":"slider","tooltip":"","group":"6a7f8875.05064","order":3,"width":0,"height":0,"passthru":true,"outs":"all","topic":"","min":0,"max":"100","step":1,"x":190,"y":400,"wires":[["d3303088.29a2c8","5c9be402.b4b134"]]},{"id":"d3303088.29a2c8","type":"debug","z":"74449851.d38e38","name":"Helligkeit","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":400,"y":360,"wires":[]},{"id":"5976b67d.996c98","type":"debug","z":"74449851.d38e38","name":"Farbe","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":390,"y":480,"wires":[]},{"id":"75e39f16.74422","type":"zigbee-converter","z":"74449851.d38e38","shepherd":"3719cbd0.dc01f4","name":"Ikea Farbe","topic":"zigbee/${name}","settopic":"zigbee/${name}/set","gettopic":"zigbee/${name}/get","device":"0x842e14fffeff57a5","attribute":"","payload":"json","x":890,"y":400,"wires":[[]]},{"id":"1612295.60af957","type":"debug","z":"74449851.d38e38","name":"An/Aus","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":400,"y":260,"wires":[]},{"id":"9d8cd6b.47929a8","type":"change","z":"74449851.d38e38","name":"An/Aus","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"state\":\"TOGGLE\"}","tot":"json"},{"t":"set","p":"topic","pt":"msg","to":"zigbee/${ieeeAddr}/set","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":300,"wires":[["75e39f16.74422"]]},{"id":"5c9be402.b4b134","type":"change","z":"74449851.d38e38","name":"Helligkeit","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"brightness\" : $round(payload * 2.55, 0)}","tot":"jsonata"},{"t":"set","p":"topic","pt":"msg","to":"zigbee/${ieeeAddr}/set","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":400,"wires":[["75e39f16.74422"]]},{"id":"8fe1717e.4f6778","type":"change","z":"74449851.d38e38","name":"Farbe","rules":[{"t":"set","p":"payload","pt":"msg","to":"{ \"color\": {\"hex\" : payload}}","tot":"jsonata"},{"t":"set","p":"topic","pt":"msg","to":"zigbee/${ieeeAddr}/set","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":520,"wires":[["75e39f16.74422"]]},{"id":"294592e9.834a5e","type":"ui_switch","z":"74449851.d38e38","name":"","label":"switch","tooltip":"","group":"6a7f8875.05064","order":2,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":190,"y":300,"wires":[["1612295.60af957","9d8cd6b.47929a8"]]},{"id":"3719cbd0.dc01f4","type":"zigbee-shepherd","name":"ZigBee CC2531","path":"/dev/ttyACM0","baudRate":"115200","rtscts":true,"channelList":[15,20,25,26],"led":"disabled","adapter":"zstack"},{"id":"6a7f8875.05064","type":"ui_group","name":"Farbe","tab":"9d6dcf8b.038d8","order":1,"disp":true,"width":"6","collapse":false},{"id":"9d6dcf8b.038d8","type":"ui_tab","name":"Farblampe","icon":"dashboard","disabled":false,"hidden":false}]

Flow Info

Created 4 years, 4 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • change (x3)
  • debug (x3)
Other

Tags

Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option