[ { "id": "2cba5bbb.5112e4", "type": "udp in", "z": "a7b1d0cd.f4121", "name": "", "iface": "", "port": "3333", "ipv": "udp4", "multicast": "false", "group": "", "datatype": "utf8", "x": 100, "y": 40, "wires": [ [ "37056fa0.cb4bd8", "4611c9cd.75ecb8", "e32b721f.d1a44" ] ] }, { "id": "37056fa0.cb4bd8", "type": "debug", "z": "a7b1d0cd.f4121", "name": "", "active": true, "console": "false", "complete": "false", "x": 470, "y": 40, "wires": [] }, { "id": "6729815d.808e4", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Nivell LDR", "topic": "", "payload": "a", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": "", "x": 100, "y": 100, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "1cfa8924.133157", "type": "udp out", "z": "a7b1d0cd.f4121", "name": "", "addr": "172.20.18.26", "iface": "", "port": "3334", "ipv": "udp4", "outport": "", "base64": false, "multicast": "false", "x": 450, "y": 220, "wires": [] }, { "id": "954ea3d.32e21e", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Nivell botó", "topic": "", "payload": "i", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "x": 100, "y": 140, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "39d8c05d.30437", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led petit apagat", "topic": "", "payload": "2H", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "x": 120, "y": 180, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "8b2452e7.970ab", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led petit encès", "topic": "", "payload": "2L", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "x": 120, "y": 220, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "fda83bd0.aa55b8", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led vermell apagat", "topic": "", "payload": "15L", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "x": 130, "y": 260, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "f3e9917a.b4b71", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led vermell encès", "topic": "", "payload": "15H", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "x": 130, "y": 300, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "202f9085.cb7438", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led verd apagat", "topic": "", "payload": "12L", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": "", "x": 120, "y": 340, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "71babaf3.23ead4", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led verd encès", "topic": "", "payload": "12H", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": "", "x": 120, "y": 380, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "89e2cb49.0a4548", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led blau apagat", "topic": "", "payload": "13L", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": "", "x": 120, "y": 420, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "a70b8305.a29f1", "type": "inject", "z": "a7b1d0cd.f4121", "name": "Led blau encès", "topic": "", "payload": "13H", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": "", "x": 120, "y": 460, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "569847ae.072", "type": "ui_button", "z": "a7b1d0cd.f4121", "name": "", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "passthru": false, "label": "Encén R", "color": "white", "bgcolor": "red", "icon": "", "payload": "15H", "payloadType": "str", "topic": "", "x": 400, "y": 300, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "5659cdd8.aa814c", "type": "ui_button", "z": "a7b1d0cd.f4121", "name": "", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "passthru": false, "label": "Apaga R", "color": "white", "bgcolor": "red", "icon": "", "payload": "15L", "payloadType": "str", "topic": "", "x": 400, "y": 340, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "41c21eb5.b6d5d8", "type": "ui_switch", "z": "a7b1d0cd.f4121", "name": "", "label": "Vermell", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "", "style": "", "onvalue": "15H", "onvalueType": "str", "onicon": "", "oncolor": "", "offvalue": "15L", "offvalueType": "str", "officon": "", "offcolor": "", "x": 400, "y": 380, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "4611c9cd.75ecb8", "type": "ui_chart", "z": "a7b1d0cd.f4121", "name": "", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "label": "LDR", "chartType": "line", "legend": "false", "xformat": "HH:mm:ss", "interpolate": "linear", "nodata": "", "dot": false, "ymin": "0", "ymax": "1024", "removeOlder": "30", "removeOlderPoints": "", "removeOlderUnit": "1", "cutout": 0, "useOneColor": false, "colors": [ "#1f77b4", "#aec7e8", "#ff7f0e", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5" ], "useOldStyle": false, "x": 400, "y": 120, "wires": [ [], [] ] }, { "id": "e32b721f.d1a44", "type": "ui_gauge", "z": "a7b1d0cd.f4121", "name": "", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "gtype": "gage", "title": "LDR", "label": "units", "format": "{{value}}", "min": 0, "max": "1024", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "seg1": "", "seg2": "", "x": 390, "y": 160, "wires": [] }, { "id": "887542e.10be3c", "type": "ui_switch", "z": "a7b1d0cd.f4121", "name": "", "label": "Verd", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "", "style": "", "onvalue": "12H", "onvalueType": "str", "onicon": "", "oncolor": "", "offvalue": "12L", "offvalueType": "str", "officon": "", "offcolor": "", "x": 390, "y": 420, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "29a1db0e.59724c", "type": "ui_switch", "z": "a7b1d0cd.f4121", "name": "", "label": "Blau", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "", "style": "", "onvalue": "13H", "onvalueType": "str", "onicon": "", "oncolor": "", "offvalue": "13L", "offvalueType": "str", "officon": "", "offcolor": "", "x": 390, "y": 460, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "6662e2dd.28be3c", "type": "ui_switch", "z": "a7b1d0cd.f4121", "name": "", "label": "Blau petit", "group": "ba483019.afd2f8", "order": 0, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "", "style": "", "onvalue": "2L", "onvalueType": "str", "onicon": "", "oncolor": "", "offvalue": "2H", "offvalueType": "str", "officon": "", "offcolor": "", "x": 400, "y": 500, "wires": [ [ "1cfa8924.133157" ] ] }, { "id": "ba483019.afd2f8", "type": "ui_group", "z": "", "name": "ESP8266", "tab": "90edf8fd.5df268", "order": 2, "disp": true, "width": "6", "collapse": false }, { "id": "90edf8fd.5df268", "type": "ui_tab", "z": "", "name": "Clot", "icon": "dashboard", "order": 3 } ]