Dialogic Systems GmbH & Co. KG

Page tree
Skip to end of metadata
Go to start of metadata


Start the hc-camviewer with this argument -embedded                       

CamviewerSpecialBtn_node-red.mp4CamviewerSpecialBtn_udpTestool.mp4


Flow (node-red)
[{"id":"68502a9f.42d5b4","type":"tab","label":"homecockpit","disabled":false,"info":""},{"id":"d5826f55.4f04e","type":"udp in","z":"68502a9f.42d5b4","name":"","iface":"","port":"55511","ipv":"udp4","multicast":"false","group":"","datatype":"utf8","x":140,"y":220,"wires":[["84752fd3.ac2b8","5220e3d4.cdc80c"]]},{"id":"b9f86324.e9aa6","type":"udp out","z":"68502a9f.42d5b4","name":"","addr":"127.0.0.1","iface":"","port":"55001","ipv":"udp4","outport":"","base64":false,"multicast":"false","x":600,"y":160,"wires":[]},{"id":"84752fd3.ac2b8","type":"debug","z":"68502a9f.42d5b4","name":"from Camviewer","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":340,"y":160,"wires":[]},{"id":"5220e3d4.cdc80c","type":"function","z":"68502a9f.42d5b4","name":"toogle","func":"let newMsg = {\n    payload : true\n};\n\nif (msg.payload.startsWith(\"Btn1On\")){\n    msg.payload = \"SwitchButtonState:8;0;1\";\n    return [msg,newMsg,null];\n}\nif (msg.payload.startsWith(\"Btn1Off\")){\n    msg.payload = \"SwitchButtonState:8;0;0\";\n    newMsg.payload = false;\n    return [msg,newMsg,null];\n}\nif (msg.payload.startsWith(\"Btn2On\")){\n    msg.payload = \"SwitchButtonState:8;1;1\";\n    return [msg,null,newMsg];\n}\nif (msg.payload.startsWith(\"Btn2Off\")){\n    msg.payload = \"SwitchButtonState:8;1;0\";\n    newMsg.payload = false;\n    return [msg,null,newMsg];\n}\nreturn;\n\n","outputs":3,"noerr":0,"initialize":"","finalize":"","x":310,"y":220,"wires":[["b9f86324.e9aa6"],["ffd8985b.851dd8","f4db7da2.8a9e9"],["780c3c9c.62ed44","560ff11b.ab0ad"]]},{"id":"ffd8985b.851dd8","type":"knxEasy-out","z":"68502a9f.42d5b4","server":"69efaddc.6d8704","topic":"10/0/1","dpt":"1.001","name":"","outputtype":"write","x":550,"y":240,"wires":[]},{"id":"780c3c9c.62ed44","type":"knxEasy-out","z":"68502a9f.42d5b4","server":"69efaddc.6d8704","topic":"10/5/0","dpt":"1.001","name":"","outputtype":"write","x":550,"y":340,"wires":[]},{"id":"f4db7da2.8a9e9","type":"debug","z":"68502a9f.42d5b4","name":"zu Bus Btn1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":570,"y":200,"wires":[]},{"id":"560ff11b.ab0ad","type":"debug","z":"68502a9f.42d5b4","name":"zu Bus Btn2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":570,"y":300,"wires":[]},{"id":"69efaddc.6d8704","type":"knxEasy-config","z":"","host":"224.0.23.12","port":"3671"}]

SwitchButtonState:8;0;1 = 9Cam, 1Btn, Special

SwitchButtonState:8;0;0 = 9Cam, 1Btn, Idle


  • No labels