[ { "id": "f6f2187d.f17ca8", "type": "tab", "label": "Flow 1", "disabled": false, "info": "" }, { "id": "20f5f5dde3f67a08", "type": "gpio-in", "z": "f6f2187d.f17ca8", "name": "", "state": "INPUT", "device": "gpiochip5", "pin": "0", "x": 480, "y": 200, "wires": [ [ "91cbfdbca7285e47", "080b30e942bb6f1b", "3e9f2cd48868b5c2" ] ] }, { "id": "6997a3a6e7f2e8a0", "type": "gpio-in", "z": "f6f2187d.f17ca8", "name": "", "state": "INPUT", "device": "gpiochip5", "pin": "1", "x": 480, "y": 240, "wires": [ [] ] }, { "id": "c61852d2c455bde6", "type": "debug", "z": "f6f2187d.f17ca8", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 840, "y": 280, "wires": [] }, { "id": "276f833904f90d03", "type": "ui_button", "z": "f6f2187d.f17ca8", "name": "", "group": "c67882187d7528a5", "order": 0, "width": 0, "height": 0, "passthru": false, "label": "ON", "tooltip": "", "color": "", "bgcolor": "", "className": "", "icon": "", "payload": "gpiochip5 2=0", "payloadType": "str", "topic": "payload", "topicType": "msg", "x": 350, "y": 380, "wires": [ [ "55010bd4c215557f" ] ] }, { "id": "3ae06ae339eb88ec", "type": "ui_button", "z": "f6f2187d.f17ca8", "name": "", "group": "c67882187d7528a5", "order": 0, "width": 0, "height": 0, "passthru": false, "label": "OFF", "tooltip": "", "color": "", "bgcolor": "", "className": "", "icon": "", "payload": "gpiochip5 2=1", "payloadType": "str", "topic": "payload", "topicType": "msg", "x": 350, "y": 440, "wires": [ [ "55010bd4c215557f" ] ] }, { "id": "55010bd4c215557f", "type": "exec", "z": "f6f2187d.f17ca8", "command": "gpioset", "addpay": "payload", "append": "", "useSpawn": "false", "timer": "", "winHide": false, "oldrc": false, "name": "接点出力", "x": 720, "y": 440, "wires": [ [], [], [] ] }, { "id": "91cbfdbca7285e47", "type": "falling-edge", "z": "f6f2187d.f17ca8", "name": "立ち下がり検出", "threshold": "1", "x": 700, "y": 140, "wires": [ [ "c61852d2c455bde6" ] ] }, { "id": "080b30e942bb6f1b", "type": "rising-edge", "z": "f6f2187d.f17ca8", "name": "立ち上がり検出", "threshold": "0", "x": 720, "y": 200, "wires": [ [ "c61852d2c455bde6" ] ] }, { "id": "3e9f2cd48868b5c2", "type": "hysteresis", "z": "f6f2187d.f17ca8", "name": "両エッジ検出", "rising_threshold": "0", "falling_threshold": "1", "initial_edge": "any", "x": 620, "y": 300, "wires": [ [ "c61852d2c455bde6", "3c9a01d158b8f890" ] ] }, { "id": "250c3dec51946e96", "type": "inject", "z": "f6f2187d.f17ca8", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "0.1", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 230, "y": 220, "wires": [ [ "20f5f5dde3f67a08", "6997a3a6e7f2e8a0" ] ] }, { "id": "3c9a01d158b8f890", "type": "ui_chart", "z": "f6f2187d.f17ca8", "name": "", "group": "c67882187d7528a5", "order": 2, "width": 0, "height": 0, "label": "chart", "chartType": "line", "legend": "false", "xformat": "HH:mm:ss", "interpolate": "linear", "nodata": "", "dot": false, "ymin": "", "ymax": "", "removeOlder": 1, "removeOlderPoints": "", "removeOlderUnit": "3600", "cutout": 0, "useOneColor": false, "useUTC": false, "colors": [ "#1f77b4", "#aec7e8", "#ff7f0e", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5" ], "outputs": 1, "useDifferentColor": false, "className": "", "x": 1030, "y": 180, "wires": [ [] ] }, { "id": "c67882187d7528a5", "type": "ui_group", "name": "LEDスイッチ", "tab": "9c5aaf4447efdffb", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "9c5aaf4447efdffb", "type": "ui_tab", "name": "ホーム", "icon": "dashboard", "disabled": false, "hidden": false } ]