Created
June 26, 2023 18:54
-
-
Save virgilvox/9dc1e67edb048239170f9ddc4fde3262 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "fcc22e1b6f5267b7", | |
| "type": "tab", | |
| "label": "Flow 1", | |
| "disabled": false, | |
| "info": "", | |
| "env": [] | |
| }, | |
| { | |
| "id": "bf39faeb46786d7a", | |
| "type": "mqtt in", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "", | |
| "topic": "local/#", | |
| "qos": "2", | |
| "datatype": "auto-detect", | |
| "broker": "1cfe4cefd7003138", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 350, | |
| "y": 160, | |
| "wires": [ | |
| [ | |
| "cb88e8c9348a0ab5", | |
| "3e0855078e04bc5e", | |
| "d95071d8cc2c91b3", | |
| "42e1365f6abe086f", | |
| "7dec6746ce0af7ca" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "cb88e8c9348a0ab5", | |
| "type": "debug", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "debug 1", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "false", | |
| "statusVal": "", | |
| "statusType": "auto", | |
| "x": 540, | |
| "y": 80, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "6adcdcfc3caf8fde", | |
| "type": "mqtt out", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "", | |
| "topic": "local/test", | |
| "qos": "0", | |
| "retain": "", | |
| "respTopic": "", | |
| "contentType": "", | |
| "userProps": "", | |
| "correl": "", | |
| "expiry": "", | |
| "broker": "1cfe4cefd7003138", | |
| "x": 540, | |
| "y": 380, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "78749f1a22cb09d1", | |
| "type": "inject", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| }, | |
| { | |
| "p": "topic", | |
| "vt": "str" | |
| } | |
| ], | |
| "repeat": "3", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": 0.1, | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "x": 150, | |
| "y": 380, | |
| "wires": [ | |
| [ | |
| "ff1af3e861bb2f88" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "d95071d8cc2c91b3", | |
| "type": "ui_text", | |
| "z": "fcc22e1b6f5267b7", | |
| "group": "19c2d47ac2143591", | |
| "order": 0, | |
| "width": 0, | |
| "height": 0, | |
| "name": "", | |
| "label": "text", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "style": false, | |
| "font": "", | |
| "fontSize": 16, | |
| "color": "#000000", | |
| "x": 530, | |
| "y": 240, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "3e0855078e04bc5e", | |
| "type": "ui_gauge", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "", | |
| "group": "19c2d47ac2143591", | |
| "order": 1, | |
| "width": 0, | |
| "height": 0, | |
| "gtype": "gage", | |
| "title": "gauge", | |
| "label": "units", | |
| "format": "{{payload.temperature}}", | |
| "min": 0, | |
| "max": "150", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "diff": false, | |
| "className": "", | |
| "x": 530, | |
| "y": 160, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "ff1af3e861bb2f88", | |
| "type": "function", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "function 1", | |
| "func": "msg.payload = {\n \"temperature\": Math.floor(Math.random() * 150),\n \"humidity\": Math.floor(Math.random() * 100),\n \"pressure\": Math.floor(Math.random() * 100)\n};\n\nreturn msg;", | |
| "outputs": 1, | |
| "noerr": 0, | |
| "initialize": "", | |
| "finalize": "", | |
| "libs": [], | |
| "x": 340, | |
| "y": 380, | |
| "wires": [ | |
| [ | |
| "6adcdcfc3caf8fde" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "42e1365f6abe086f", | |
| "type": "ui_gauge", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "", | |
| "group": "19c2d47ac2143591", | |
| "order": 1, | |
| "width": 0, | |
| "height": 0, | |
| "gtype": "gage", | |
| "title": "gauge", | |
| "label": "units", | |
| "format": "{{payload.pressure}}", | |
| "min": 0, | |
| "max": "150", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "diff": false, | |
| "className": "", | |
| "x": 530, | |
| "y": 200, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "7dec6746ce0af7ca", | |
| "type": "ui_gauge", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "", | |
| "group": "19c2d47ac2143591", | |
| "order": 1, | |
| "width": 0, | |
| "height": 0, | |
| "gtype": "gage", | |
| "title": "gauge", | |
| "label": "units", | |
| "format": "{{payload.humidity}}", | |
| "min": 0, | |
| "max": "150", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "diff": false, | |
| "className": "", | |
| "x": 530, | |
| "y": 120, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "ab818df1cb3e2c1b", | |
| "type": "ui_spacer", | |
| "z": "fcc22e1b6f5267b7", | |
| "name": "spacer", | |
| "group": "19c2d47ac2143591", | |
| "order": 1, | |
| "width": 1, | |
| "height": 1 | |
| }, | |
| { | |
| "id": "1cfe4cefd7003138", | |
| "type": "mqtt-broker", | |
| "name": "test", | |
| "broker": "", | |
| "port": "8883", | |
| "tls": "d44d4b0d38962c39", | |
| "clientid": "", | |
| "autoConnect": true, | |
| "usetls": true, | |
| "protocolVersion": "5", | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "", | |
| "birthMsg": {}, | |
| "closeTopic": "", | |
| "closeQos": "0", | |
| "closePayload": "", | |
| "closeMsg": {}, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "willMsg": {}, | |
| "userProps": "", | |
| "sessionExpiry": "" | |
| }, | |
| { | |
| "id": "19c2d47ac2143591", | |
| "type": "ui_group", | |
| "name": "Default", | |
| "tab": "ec14f3ad3aabdac6", | |
| "order": 1, | |
| "disp": true, | |
| "width": "6", | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "d44d4b0d38962c39", | |
| "type": "tls-config", | |
| "name": "emq", | |
| "cert": "", | |
| "key": "", | |
| "ca": "", | |
| "certname": "", | |
| "keyname": "", | |
| "caname": "emqxsl-ca.crt", | |
| "servername": "", | |
| "verifyservercert": true, | |
| "alpnprotocol": "" | |
| }, | |
| { | |
| "id": "ec14f3ad3aabdac6", | |
| "type": "ui_tab", | |
| "name": "Tab", | |
| "icon": "dashboard", | |
| "order": 0 | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment