[ { "id": "99c16c0f5e7ee823", "type": "inject", "z": "82f853a9d0b34fa4", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "", "topic": "", "payload": "1", "payloadType": "num", "x": 150, "y": 140, "wires": [ [ "1042969a1e0e97d7", "78b72b01f963cb60" ] ] }, { "id": "b5c998e20dbb35e0", "type": "inject", "z": "82f853a9d0b34fa4", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "", "topic": "", "payload": "0", "payloadType": "num", "x": 150, "y": 200, "wires": [ [ "1a507a6f943d2c2b", "78b72b01f963cb60" ] ] }, { "id": "1a507a6f943d2c2b", "type": "change", "z": "82f853a9d0b34fa4", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "OFF", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 400, "y": 100, "wires": [ [ "e0ef229f37803002" ] ] }, { "id": "1042969a1e0e97d7", "type": "change", "z": "82f853a9d0b34fa4", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ON", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 400, "y": 60, "wires": [ [ "4c0613046aae52b8" ] ] }, { "id": "4c0613046aae52b8", "type": "debug", "z": "82f853a9d0b34fa4", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 600, "y": 60, "wires": [] }, { "id": "e0ef229f37803002", "type": "debug", "z": "82f853a9d0b34fa4", "name": "debug 2", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 600, "y": 100, "wires": [] }, { "id": "550163ad2123f511", "type": "rpi-gpio out", "z": "82f853a9d0b34fa4", "name": "GPIO 5", "pin": "5", "set": true, "level": "0", "freq": "", "out": "out", "bcm": true, "x": 620, "y": 200, "wires": [] }, { "id": "78b72b01f963cb60", "type": "ui_switch", "z": "82f853a9d0b34fa4", "tab": "c3c3c82b.8f66a8", "name": "Pump On/Off", "topic": "", "group": "38b90348.e0a34c", "order": 1, "onvalue": "1", "offvalue": "0", "x": 410, "y": 200, "wires": [ [ "550163ad2123f511" ] ] }, { "id": "c3c3c82b.8f66a8", "type": "ui_tab", "name": "relay", "icon": "dashboard", "order": "1" } ]