[ { "id": "bdcf5498.124708", "type": "exec", "z": "68361c77.d1e57c", "command": "", "addpay": true, "append": "", "useSpawn": "false", "timer": "", "oldrc": false, "name": "", "x": 570, "y": 200, "wires": [ [ "65ed3989.096448" ], [], [] ] }, { "id": "fabf672f.aab54", "type": "inject", "z": "68361c77.d1e57c", "name": "readingLdrOnce_modbusTCP.py 192.168.43.202", "topic": "", "payload": "/home/iot/Documents/20190427/readingLdrOnce_modbusTCP.py 192.168.43.202", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 230, "y": 280, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "8254c179.106fa", "type": "inject", "z": "68361c77.d1e57c", "name": "writingRedLedOnce_modbusTCP.py 192.168.43.202 H", "topic": "", "payload": "/home/iot/Documents/20190427/writingRedLedOnce_modbusTCP.py 192.168.43.202 H", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 120, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "dad2739c.48885", "type": "inject", "z": "68361c77.d1e57c", "name": "writingRedLedOnce_modbusTCP.py 192.168.43.202 L", "topic": "", "payload": "/home/iot/Documents/20190427/writingRedLedOnce_modbusTCP.py 192.168.43.202 L", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 160, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "d7174329.e99878", "type": "inject", "z": "68361c77.d1e57c", "name": "readingRedLedOnce_modbusTCP.py 192.168.43.202", "topic": "", "payload": "/home/iot/Documents/20190427/readingRedLedOnce_modbusTCP.py 192.168.43.202", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 230, "y": 200, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "c2f88ddf.dd765", "type": "comment", "z": "68361c77.d1e57c", "name": "modbustcp-no-pooling is not updated", "info": "", "x": 170, "y": 40, "wires": [] }, { "id": "f4bfb153.db8018", "type": "inject", "z": "68361c77.d1e57c", "name": "readingButtonOnce_modbusTCP.py 192.168.43.202", "topic": "", "payload": "/home/iot/Documents/20190427/readingButtonOnce_modbusTCP.py 192.168.43.202", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 240, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "65ed3989.096448", "type": "debug", "z": "68361c77.d1e57c", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 750, "y": 200, "wires": [] }, { "id": "a7505f6f.91188", "type": "function", "z": "68361c77.d1e57c", "name": "set szIP flow variable", "func": "flow.set('szIP',msg.payload);\n", "outputs": 0, "noerr": 0, "x": 540, "y": 80, "wires": [] }, { "id": "9399eed1.57d0f8", "type": "template", "z": "68361c77.d1e57c", "name": "writingRedLedOnce_modbusTCP.py {{flow.szIP}} {{state}}", "field": "payload", "fieldType": "msg", "format": "handlebars", "syntax": "mustache", "template": "/home/iot/Documents/20190427/writingRedLedOnce_modbusTCP.py {{flow.szIP}} {{payload}}\n", "output": "str", "x": 390, "y": 360, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "66c0449f.5371bc", "type": "function", "z": "68361c77.d1e57c", "name": "192.168.43.202", "func": "msg.payload = \"192.168.43.202\";\n\nreturn msg;", "outputs": 1, "noerr": 0, "x": 320, "y": 80, "wires": [ [ "a7505f6f.91188" ] ] }, { "id": "5ad1997f.82103", "type": "inject", "z": "68361c77.d1e57c", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "x": 110, "y": 80, "wires": [ [ "66c0449f.5371bc" ] ] }, { "id": "8f2a8ba.5589d78", "type": "inject", "z": "68361c77.d1e57c", "name": "", "topic": "", "payload": "H", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 90, "y": 340, "wires": [ [ "9399eed1.57d0f8" ] ] }, { "id": "f7c67178.7e4df", "type": "inject", "z": "68361c77.d1e57c", "name": "", "topic": "", "payload": "L", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 90, "y": 380, "wires": [ [ "9399eed1.57d0f8" ] ] }, { "id": "134915d5.4c6972", "type": "template", "z": "68361c77.d1e57c", "name": "readingButtonOnce_modbusTCP.py {{flow.szIP}}", "field": "payload", "fieldType": "msg", "format": "handlebars", "syntax": "mustache", "template": "/home/iot/Documents/20190427/readingButtonOnce_modbusTCP.py {{flow.szIP}}\n", "output": "str", "x": 400, "y": 460, "wires": [ [ "bdcf5498.124708" ] ] }, { "id": "fc680a62.071b28", "type": "inject", "z": "68361c77.d1e57c", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 100, "y": 460, "wires": [ [ "134915d5.4c6972" ] ] }, { "id": "3f66009e.6bf86", "type": "inject", "z": "68361c77.d1e57c", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 100, "y": 420, "wires": [ [ "4adb48c3.5ab96" ] ] }, { "id": "4adb48c3.5ab96", "type": "template", "z": "68361c77.d1e57c", "name": "readingRedLedOnce_modbusTCP.py {{flow.szIP}}", "field": "payload", "fieldType": "msg", "format": "handlebars", "syntax": "mustache", "template": "/home/iot/Documents/20190427/readingRedLedOnce_modbusTCP.py {{flow.szIP}}\n", "output": "str", "x": 400, "y": 420, "wires": [ [ "bdcf5498.124708" ] ] } ]