[ { "id": "412b08d9.3383f", "type": "websocket in", "z": "7d14fc15.d65474", "name": "", "server": "17ef369b.fa5609", "client": "", "x": 260, "y": 180, "wires": [ [ "966c3c59.8fe718" ] ] }, { "id": "966c3c59.8fe718", "type": "debug", "z": "7d14fc15.d65474", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 570, "y": 200, "wires": [] }, { "id": "11b608bf.361427", "type": "exec", "z": "7d14fc15.d65474", "command": "", "addpay": true, "append": "", "useSpawn": "false", "timer": "", "oldrc": false, "name": "", "x": 750, "y": 80, "wires": [ [], [], [] ] }, { "id": "3f3a0c13.ba3a0c", "type": "inject", "z": "7d14fc15.d65474", "name": "bash -c \"exec -a servidorWS node /home/pi/code/ws/wsServer.js\"", "topic": "", "payload": "bash -c \"exec -a servidorWS node /home/pi/code/ws/wsServer.js\"", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 300, "y": 80, "wires": [ [ "11b608bf.361427" ] ] }, { "id": "cc46aec6.25f278", "type": "inject", "z": "7d14fc15.d65474", "name": "", "topic": "", "payload": "pkill -f servidorWS", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 150, "y": 120, "wires": [ [ "11b608bf.361427" ] ] }, { "id": "f2d1d9ca.a17858", "type": "inject", "z": "7d14fc15.d65474", "name": "", "topic": "", "payload": "pkill -f wsServer.js", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 210, "y": 40, "wires": [ [ "11b608bf.361427" ] ] }, { "id": "7cc70c92.ec7b2c", "type": "comment", "z": "7d14fc15.d65474", "name": "Servidor de sòcols web pel port 8800", "info": "", "x": 530, "y": 40, "wires": [] }, { "id": "60cda7c2.e4c388", "type": "inject", "z": "7d14fc15.d65474", "name": "bash -c \"exec -a maquinariRobot python3 /home/pi/code/snap/wsClient_08d.py\"", "topic": "", "payload": "bash -c \"exec -a maquinariRobot python3 /home/pi/code/snap/wsClient_08d.py\"", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 350, "y": 320, "wires": [ [ "ee6334ff.3bf29" ] ] }, { "id": "6cd702c5.8521b4", "type": "inject", "z": "7d14fc15.d65474", "name": "", "topic": "", "payload": "pkill -f maquinariRobot", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 160, "y": 380, "wires": [ [ "ee6334ff.3bf29" ] ] }, { "id": "ee6334ff.3bf29", "type": "exec", "z": "7d14fc15.d65474", "command": "", "addpay": true, "append": "", "useSpawn": "false", "timer": "", "oldrc": false, "name": "", "x": 750, "y": 300, "wires": [ [], [], [] ] }, { "id": "632c71dc.ba8c48", "type": "websocket in", "z": "7d14fc15.d65474", "name": "", "server": "f6e35327.bb58c8", "client": "", "x": 260, "y": 240, "wires": [ [ "966c3c59.8fe718" ] ] }, { "id": "64792848.c84ca8", "type": "comment", "z": "7d14fc15.d65474", "name": "Control del maquinari del robot mitjançant sòcols web", "info": "", "x": 440, "y": 280, "wires": [] }, { "id": "17ef369b.fa5609", "type": "websocket-listener", "z": "", "path": "ws://localhost:8800/robot01/", "wholemsg": "false" }, { "id": "f6e35327.bb58c8", "type": "websocket-listener", "z": "", "path": "ws://localhost:8800/motion/", "wholemsg": "false" } ]