Created
April 17, 2022 04:49
-
-
Save rafitc/4505439bd1e015dd059262e3f2a99ad2 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": "bd525b83beb32238", | |
| "type": "tab", | |
| "label": "Flow 1", | |
| "disabled": false, | |
| "info": "", | |
| "env": [] | |
| }, | |
| { | |
| "id": "4c58e06408ccbfc1", | |
| "type": "ui_template", | |
| "z": "bd525b83beb32238", | |
| "group": "339d0edc.4ffe02", | |
| "name": "Node-Red Dashboard Custom CSS", | |
| "order": 1, | |
| "width": 0, | |
| "height": 0, | |
| "format": "<style>\nroot, a, button, p, div {\n -webkit-user-select: none !important;\n}\n\nbody {\n background: -webkit-linear-gradient(\n 55deg,\n #009785 0%,\n #245aa5 50%,\n #b800e9 100%\n );\n -webkit-touch-callout: none !important;\n}\n\nbody.nr-dashboard-theme md-toolbar,\nbody.nr-dashboard-theme md-content md-card {\n background-color: transparent !important;\n color: #FFFFFF;\n}\n\nui-card-panel {\n background-color: rgba(255,255,255,0.1) !important;\n border-radius: 10px !important;\n}\n \n#Homey_Dashboard_Navigation {\n background-color: transparent !important;\n border-radius: 10px !important;\n}\n\n.md-card.md-default-theme, md-card {\n border-radius: 10px;\n}\n\n.nr-dashboard-switch.ng-scope {\n background-color: rgba(255,255,255,.2) !important;\n}\n\n.nr-dashboard-switch.ng-scope:hover {\n background-color: rgba(255,255,255,.5) !important;\n}\n\n.nr-dashboard-theme .nr-dashboard-button .md-button {\n background-color: rgba(255,255,255,.2);\n}\n\n.md-button {\n border-radius: 10px;\n}\n\n.nr-dashboard-cardpanel layout-column {\n background-color: rgba(255,255,255,0.2) !important;\n background-color: transparent !important;\n border-radius: 10px !important;\n}\n\n.nr-dashboard-theme ui-card-panel {\n border: none;\n}\n\n.nr-dashboard-template {\n overflow-y: visible;\n}\n.nr-dashboard-theme md-content md-card {\n background-color: transparent !important;\n}\n\n.nr-dashboard-theme ui-card-panel p.nr-dashboard-cardtitle {\n color: rgba(255, 255, 255, 0.5);\n}\n</style>\n\n<script>\ndocument.ontouchmove = function (e) {\n e.preventDefault();\n}\n</script>", | |
| "storeOutMessages": true, | |
| "fwdInMessages": true, | |
| "resendOnRefresh": false, | |
| "templateScope": "global", | |
| "className": "", | |
| "x": 180, | |
| "y": 40, | |
| "wires": [ | |
| [] | |
| ] | |
| }, | |
| { | |
| "id": "d62db6a9ba684cf7", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "SUMP ONE Level", | |
| "topic": "/sumpone/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 100, | |
| "y": 260, | |
| "wires": [ | |
| [ | |
| "8fd39288625608c0" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "8fd39288625608c0", | |
| "type": "ui_gauge", | |
| "z": "bd525b83beb32238", | |
| "name": "SUMP 1 level", | |
| "group": "339d0edc.4ffe02", | |
| "order": 2, | |
| "width": 4, | |
| "height": 3, | |
| "gtype": "donut", | |
| "title": "Water Level ", | |
| "label": "%", | |
| "format": "{{value}}", | |
| "min": 0, | |
| "max": "100", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "className": "", | |
| "x": 280, | |
| "y": 260, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "dea7ab1dd71ba5c4", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "SUMP TWO Level", | |
| "topic": "/sumptwo/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 110, | |
| "y": 320, | |
| "wires": [ | |
| [ | |
| "3366210f94d1db34" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "3366210f94d1db34", | |
| "type": "ui_gauge", | |
| "z": "bd525b83beb32238", | |
| "name": "SUMP 2 level", | |
| "group": "71855f7482f0c7c4", | |
| "order": 1, | |
| "width": 4, | |
| "height": 3, | |
| "gtype": "donut", | |
| "title": "Water Level", | |
| "label": "%", | |
| "format": "{{value}}", | |
| "min": 0, | |
| "max": "100", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "className": "", | |
| "x": 320, | |
| "y": 320, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "d5406846dcdfb6c1", | |
| "type": "ui_switch", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor One switch", | |
| "label": "Motor One ", | |
| "tooltip": "", | |
| "group": "339d0edc.4ffe02", | |
| "order": 3, | |
| "width": 4, | |
| "height": 1, | |
| "passthru": true, | |
| "decouple": "false", | |
| "topic": "topic", | |
| "topicType": "msg", | |
| "style": "", | |
| "onvalue": "true", | |
| "onvalueType": "bool", | |
| "onicon": "", | |
| "oncolor": "", | |
| "offvalue": "false", | |
| "offvalueType": "bool", | |
| "officon": "", | |
| "offcolor": "", | |
| "animate": false, | |
| "className": "", | |
| "x": 130, | |
| "y": 500, | |
| "wires": [ | |
| [ | |
| "9135cd12565fce07" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "0782e2cf11b80a5c", | |
| "type": "ui_switch", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor Two switch", | |
| "label": "Motor Two", | |
| "tooltip": "", | |
| "group": "71855f7482f0c7c4", | |
| "order": 3, | |
| "width": 0, | |
| "height": 0, | |
| "passthru": true, | |
| "decouple": "false", | |
| "topic": "topic", | |
| "topicType": "msg", | |
| "style": "", | |
| "onvalue": "true", | |
| "onvalueType": "bool", | |
| "onicon": "", | |
| "oncolor": "", | |
| "offvalue": "false", | |
| "offvalueType": "bool", | |
| "officon": "", | |
| "offcolor": "", | |
| "animate": false, | |
| "className": "", | |
| "x": 130, | |
| "y": 620, | |
| "wires": [ | |
| [ | |
| "992622a8b922d18e" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "9135cd12565fce07", | |
| "type": "mqtt out", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor One Switch", | |
| "topic": "/motorone/switch", | |
| "qos": "2", | |
| "retain": "", | |
| "respTopic": "", | |
| "contentType": "", | |
| "userProps": "", | |
| "correl": "", | |
| "expiry": "", | |
| "broker": "c0b429b69f2ac4ec", | |
| "x": 330, | |
| "y": 500, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "992622a8b922d18e", | |
| "type": "mqtt out", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor Two Switch", | |
| "topic": "/motortwo/switch", | |
| "qos": "2", | |
| "retain": "", | |
| "respTopic": "", | |
| "contentType": "", | |
| "userProps": "", | |
| "correl": "", | |
| "expiry": "", | |
| "broker": "c0b429b69f2ac4ec", | |
| "x": 330, | |
| "y": 620, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "28c8ca4603789698", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "339d0edc.4ffe02", | |
| "order": 4, | |
| "width": 4, | |
| "height": 1, | |
| "name": "Motor One Status ", | |
| "label": "Motor One Status ", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 310, | |
| "y": 560, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "4c90c3855589fe94", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "71855f7482f0c7c4", | |
| "order": 2, | |
| "width": 4, | |
| "height": 1, | |
| "name": "Motor Two Status ", | |
| "label": "Motor Two Status ", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 330, | |
| "y": 680, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "fb6ebc9913a5288b", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor One status ", | |
| "topic": "/motorone/dashStatus", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 120, | |
| "y": 540, | |
| "wires": [ | |
| [ | |
| "28c8ca4603789698" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "d1d10338d8b058ac", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor Two status ", | |
| "topic": "/motortwo/getstatus", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 120, | |
| "y": 660, | |
| "wires": [ | |
| [ | |
| "4c90c3855589fe94" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "cb4a6955c9dc31a6", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "339d0edc.4ffe02", | |
| "order": 2, | |
| "width": 0, | |
| "height": 0, | |
| "name": "sump one online status ", | |
| "label": "SUMP One :- ", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 120, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "ff2075a6a6a061c9", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "71855f7482f0c7c4", | |
| "order": 3, | |
| "width": 0, | |
| "height": 0, | |
| "name": "sump two online status ", | |
| "label": "SUMP Two :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 300, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "ddf29ae515db852c", | |
| "type": "ui_button", | |
| "z": "bd525b83beb32238", | |
| "name": "Device status check ", | |
| "group": "1f1cabb2752ec3ee", | |
| "order": 1, | |
| "width": 0, | |
| "height": 0, | |
| "passthru": false, | |
| "label": "Check devices status ", | |
| "tooltip": "", | |
| "color": "", | |
| "bgcolor": "", | |
| "className": "", | |
| "icon": "", | |
| "payload": "online", | |
| "payloadType": "str", | |
| "topic": "topic", | |
| "topicType": "msg", | |
| "x": 220, | |
| "y": 80, | |
| "wires": [ | |
| [ | |
| "604d3efc8632339c" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "e06f48d8f49112e7", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "sump one online status ", | |
| "topic": "/sumpone/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 700, | |
| "y": 160, | |
| "wires": [ | |
| [ | |
| "08963276644d9da6" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "b26827bad3b1744b", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "sump two online status ", | |
| "topic": "/sumptwo/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 700, | |
| "y": 340, | |
| "wires": [ | |
| [ | |
| "9d1a2b87917cf635" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "08963276644d9da6", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 120, | |
| "wires": [ | |
| [ | |
| "fc922b1ece4b9880" | |
| ], | |
| [ | |
| "28541b2a52d072f5" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "fc922b1ece4b9880", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 100, | |
| "wires": [ | |
| [ | |
| "cb4a6955c9dc31a6" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "28541b2a52d072f5", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 140, | |
| "wires": [ | |
| [ | |
| "cb4a6955c9dc31a6" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "9d1a2b87917cf635", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 300, | |
| "wires": [ | |
| [ | |
| "98b11797bc5e1b7b" | |
| ], | |
| [ | |
| "59306ac8c1474a68" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "98b11797bc5e1b7b", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 280, | |
| "wires": [ | |
| [ | |
| "ff2075a6a6a061c9" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "59306ac8c1474a68", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 320, | |
| "wires": [ | |
| [ | |
| "ff2075a6a6a061c9" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "a05f96af2c893c39", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 730, | |
| "y": 260, | |
| "wires": [ | |
| [ | |
| "9d1a2b87917cf635" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "02c5f8d91db1a41c", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 750, | |
| "y": 80, | |
| "wires": [ | |
| [ | |
| "08963276644d9da6" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "604d3efc8632339c", | |
| "type": "change", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "rules": [ | |
| { | |
| "t": "set", | |
| "p": "payload", | |
| "pt": "msg", | |
| "to": "", | |
| "tot": "str" | |
| } | |
| ], | |
| "action": "", | |
| "property": "", | |
| "from": "", | |
| "to": "", | |
| "reg": false, | |
| "x": 140, | |
| "y": 120, | |
| "wires": [ | |
| [ | |
| "8fd39288625608c0", | |
| "3366210f94d1db34", | |
| "08963276644d9da6", | |
| "9d1a2b87917cf635", | |
| "28c8ca4603789698", | |
| "ea898320009db44a", | |
| "02cf7c0443d98c8e", | |
| "4ed2c549249c533d", | |
| "6b76e54844dec514", | |
| "6c6433b3b4e85287", | |
| "faa5f7a4a5180b52" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "ea898320009db44a", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "ee384f4551150af7", | |
| "order": 1, | |
| "width": 12, | |
| "height": 1, | |
| "name": "", | |
| "label": "Log", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 160, | |
| "y": 820, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "8d8f1bec9226a870", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor Two status ", | |
| "topic": "/messages", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 100, | |
| "y": 900, | |
| "wires": [ | |
| [ | |
| "ea898320009db44a" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "95ee20917477bace", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "339d0edc.4ffe02", | |
| "order": 4, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Motor One online status ", | |
| "label": "Motor One :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 460, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "0a9c14a4f0aca0d0", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "sump two online status ", | |
| "topic": "/motorone/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 700, | |
| "y": 500, | |
| "wires": [ | |
| [ | |
| "6b76e54844dec514" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "6b76e54844dec514", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 460, | |
| "wires": [ | |
| [ | |
| "5858c9a468dad942" | |
| ], | |
| [ | |
| "14d4f757b10947dc" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "5858c9a468dad942", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 440, | |
| "wires": [ | |
| [ | |
| "95ee20917477bace" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "14d4f757b10947dc", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 480, | |
| "wires": [ | |
| [ | |
| "95ee20917477bace" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "6c8a56d49c813e26", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 730, | |
| "y": 420, | |
| "wires": [ | |
| [ | |
| "6b76e54844dec514" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "e511be4f5f3aa33d", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "71855f7482f0c7c4", | |
| "order": 5, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Motor Two online status ", | |
| "label": "Motor Two :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1190, | |
| "y": 660, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "7193c1fec7bc0f8f", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor two online status ", | |
| "topic": "/motortwo/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 680, | |
| "y": 700, | |
| "wires": [ | |
| [ | |
| "6c6433b3b4e85287" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "6c6433b3b4e85287", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 750, | |
| "y": 660, | |
| "wires": [ | |
| [ | |
| "87219ff2bebd68c7" | |
| ], | |
| [ | |
| "2f48f105cef42b27" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "87219ff2bebd68c7", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 940, | |
| "y": 640, | |
| "wires": [ | |
| [ | |
| "e511be4f5f3aa33d" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "2f48f105cef42b27", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 940, | |
| "y": 680, | |
| "wires": [ | |
| [ | |
| "e511be4f5f3aa33d" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "d17e84080448f6cd", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 710, | |
| "y": 620, | |
| "wires": [ | |
| [ | |
| "6c6433b3b4e85287" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "7f33012e3061b1fa", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Domestic Level", | |
| "topic": "/towerone/dom/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 130, | |
| "y": 1000, | |
| "wires": [ | |
| [ | |
| "02cf7c0443d98c8e" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "02cf7c0443d98c8e", | |
| "type": "ui_gauge", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Domestic Level", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 1, | |
| "width": 3, | |
| "height": 3, | |
| "gtype": "donut", | |
| "title": "Domestic Tank", | |
| "label": "%", | |
| "format": "{{value}}", | |
| "min": 0, | |
| "max": "100", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "className": "", | |
| "x": 400, | |
| "y": 980, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "c5bd2b2b97fba9fe", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Flush Level", | |
| "topic": "/towerone/flu/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 120, | |
| "y": 1060, | |
| "wires": [ | |
| [ | |
| "4ed2c549249c533d" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "4ed2c549249c533d", | |
| "type": "ui_gauge", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Flush Level", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 2, | |
| "width": 3, | |
| "height": 3, | |
| "gtype": "donut", | |
| "title": "Flush Tank", | |
| "label": "%", | |
| "format": "{{value}}", | |
| "min": 0, | |
| "max": "100", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "className": "", | |
| "x": 390, | |
| "y": 1060, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "4bf828c33748de3b", | |
| "type": "ui_switch", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One domestic ", | |
| "label": "Tower One domestic ", | |
| "tooltip": "", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 4, | |
| "width": 0, | |
| "height": 0, | |
| "passthru": true, | |
| "decouple": "false", | |
| "topic": "topic", | |
| "topicType": "msg", | |
| "style": "", | |
| "onvalue": "true", | |
| "onvalueType": "bool", | |
| "onicon": "", | |
| "oncolor": "", | |
| "offvalue": "false", | |
| "offvalueType": "bool", | |
| "officon": "", | |
| "offcolor": "", | |
| "animate": false, | |
| "className": "", | |
| "x": 140, | |
| "y": 1140, | |
| "wires": [ | |
| [ | |
| "e491d3b6a6d5fcdc" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "8e1cfe88a91e26be", | |
| "type": "ui_switch", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Flush level", | |
| "label": "Tower One Flush Tank", | |
| "tooltip": "", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 3, | |
| "width": 0, | |
| "height": 0, | |
| "passthru": true, | |
| "decouple": "false", | |
| "topic": "topic", | |
| "topicType": "msg", | |
| "style": "", | |
| "onvalue": "true", | |
| "onvalueType": "bool", | |
| "onicon": "", | |
| "oncolor": "", | |
| "offvalue": "false", | |
| "offvalueType": "bool", | |
| "officon": "", | |
| "offcolor": "", | |
| "animate": false, | |
| "className": "", | |
| "x": 140, | |
| "y": 1260, | |
| "wires": [ | |
| [ | |
| "671bb32b63adc4ab" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "e491d3b6a6d5fcdc", | |
| "type": "mqtt out", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Domestic ", | |
| "topic": "/towerone/dom/level", | |
| "qos": "2", | |
| "retain": "", | |
| "respTopic": "", | |
| "contentType": "", | |
| "userProps": "", | |
| "correl": "", | |
| "expiry": "", | |
| "broker": "c0b429b69f2ac4ec", | |
| "x": 400, | |
| "y": 1120, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "671bb32b63adc4ab", | |
| "type": "mqtt out", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One Flush Tank", | |
| "topic": "/towerone/flu/level", | |
| "qos": "2", | |
| "retain": "", | |
| "respTopic": "", | |
| "contentType": "", | |
| "userProps": "", | |
| "correl": "", | |
| "expiry": "", | |
| "broker": "c0b429b69f2ac4ec", | |
| "x": 380, | |
| "y": 1260, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "168933ead8422f53", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 7, | |
| "width": 4, | |
| "height": 1, | |
| "name": "Motor One Status ", | |
| "label": "Motor One Status ", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 370, | |
| "y": 1180, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "72479d6b06feb074", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 5, | |
| "width": 4, | |
| "height": 1, | |
| "name": "Motor Two Status ", | |
| "label": "Motor Two Status ", | |
| "format": "{{msg.payload}}", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 370, | |
| "y": 1300, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "607dd520c8c49fdb", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor One status ", | |
| "topic": "/towerone/dom/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 120, | |
| "y": 1180, | |
| "wires": [ | |
| [ | |
| "168933ead8422f53" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "60e37d437e04abcd", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Motor Two status ", | |
| "topic": "/motortwo/getstatus", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 120, | |
| "y": 1300, | |
| "wires": [ | |
| [ | |
| "72479d6b06feb074" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "8625916b70423381", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 5, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Tower One online status ", | |
| "label": "Tower One :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1190, | |
| "y": 820, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "aaef95571078897c", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower One online status ", | |
| "topic": "/towerone/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 690, | |
| "y": 860, | |
| "wires": [ | |
| [ | |
| "faa5f7a4a5180b52" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "faa5f7a4a5180b52", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 750, | |
| "y": 820, | |
| "wires": [ | |
| [ | |
| "718b6e6f27588eca" | |
| ], | |
| [ | |
| "22c749da9c726407" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "718b6e6f27588eca", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 940, | |
| "y": 800, | |
| "wires": [ | |
| [ | |
| "8625916b70423381" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "22c749da9c726407", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 940, | |
| "y": 840, | |
| "wires": [ | |
| [ | |
| "8625916b70423381" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "7933c71f78c0a233", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 710, | |
| "y": 780, | |
| "wires": [ | |
| [ | |
| "faa5f7a4a5180b52" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "e99c594084499909", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "0ddd6a1a6fd3f264", | |
| "order": 5, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Tower Two online status ", | |
| "label": "Tower Two :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 960, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "559ff6886ca30479", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Two online status ", | |
| "topic": "/towertwo/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 700, | |
| "y": 1000, | |
| "wires": [ | |
| [ | |
| "6e01975cf590eec3" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "6e01975cf590eec3", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 960, | |
| "wires": [ | |
| [ | |
| "9f6aa9c34382db9c" | |
| ], | |
| [ | |
| "23179d29ce79aa74" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "9f6aa9c34382db9c", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 940, | |
| "wires": [ | |
| [ | |
| "e99c594084499909" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "23179d29ce79aa74", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 980, | |
| "wires": [ | |
| [ | |
| "e99c594084499909" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "9836c1937a72aaec", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 730, | |
| "y": 920, | |
| "wires": [ | |
| [ | |
| "6e01975cf590eec3" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "6eda43e5e422d446", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "1f1cabb2752ec3ee", | |
| "order": 5, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Tower Three online status ", | |
| "label": "Tower Three :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 1220, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "d14fe6daa9b6964f", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Three online status ", | |
| "topic": "/towerthree/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 710, | |
| "y": 1260, | |
| "wires": [ | |
| [ | |
| "951a6517420b8a7b" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "951a6517420b8a7b", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 1220, | |
| "wires": [ | |
| [ | |
| "5a931c8b634483e1" | |
| ], | |
| [ | |
| "d0fb6170cff3c6b1" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "5a931c8b634483e1", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 1200, | |
| "wires": [ | |
| [ | |
| "6eda43e5e422d446" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "d0fb6170cff3c6b1", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 1240, | |
| "wires": [ | |
| [ | |
| "6eda43e5e422d446" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "1af65ede06713c9b", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 730, | |
| "y": 1180, | |
| "wires": [ | |
| [ | |
| "951a6517420b8a7b" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "8cd082a27a3bb076", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "1f1cabb2752ec3ee", | |
| "order": 5, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Tower Four online status ", | |
| "label": "Tower Four :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 1360, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "83ca131560e53bc4", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Four online status ", | |
| "topic": "/towerfour/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 710, | |
| "y": 1400, | |
| "wires": [ | |
| [ | |
| "9ed3fe7f7d15f24d" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "9ed3fe7f7d15f24d", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 1360, | |
| "wires": [ | |
| [ | |
| "b3ac8567bf74088c" | |
| ], | |
| [ | |
| "1aa9f132dbe55b8b" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "b3ac8567bf74088c", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 1340, | |
| "wires": [ | |
| [ | |
| "8cd082a27a3bb076" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "1aa9f132dbe55b8b", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 1380, | |
| "wires": [ | |
| [ | |
| "8cd082a27a3bb076" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "aad83ed11df66264", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 730, | |
| "y": 1320, | |
| "wires": [ | |
| [ | |
| "9ed3fe7f7d15f24d" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "8c19b6e38ed87956", | |
| "type": "ui_text", | |
| "z": "bd525b83beb32238", | |
| "group": "1f1cabb2752ec3ee", | |
| "order": 5, | |
| "width": 0, | |
| "height": 0, | |
| "name": "Tower Four online status ", | |
| "label": "Tower Four :- ", | |
| "format": "{{msg.payload}} ", | |
| "layout": "row-spread", | |
| "className": "", | |
| "x": 1210, | |
| "y": 1500, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "afa943f83dfc1185", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Four online status ", | |
| "topic": "/towerfour/online", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 710, | |
| "y": 1540, | |
| "wires": [ | |
| [ | |
| "1f78a4a200d39de4" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "1f78a4a200d39de4", | |
| "type": "switch", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "property": "payload", | |
| "propertyType": "msg", | |
| "rules": [ | |
| { | |
| "t": "eq", | |
| "v": "Online", | |
| "vt": "str" | |
| }, | |
| { | |
| "t": "neq", | |
| "v": "Online", | |
| "vt": "str" | |
| } | |
| ], | |
| "checkall": "true", | |
| "repair": false, | |
| "outputs": 2, | |
| "x": 770, | |
| "y": 1500, | |
| "wires": [ | |
| [ | |
| "e68349a09784d2ba" | |
| ], | |
| [ | |
| "060b6a28dda7678f" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "e68349a09784d2ba", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Online", | |
| "output": "str", | |
| "x": 960, | |
| "y": 1480, | |
| "wires": [ | |
| [ | |
| "8c19b6e38ed87956" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "060b6a28dda7678f", | |
| "type": "template", | |
| "z": "bd525b83beb32238", | |
| "name": "clearn status after showing", | |
| "field": "payload", | |
| "fieldType": "msg", | |
| "format": "handlebars", | |
| "syntax": "plain", | |
| "template": "Offline", | |
| "output": "str", | |
| "x": 960, | |
| "y": 1520, | |
| "wires": [ | |
| [ | |
| "8c19b6e38ed87956" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "538d55a8063c0e07", | |
| "type": "inject", | |
| "z": "bd525b83beb32238", | |
| "name": "", | |
| "props": [ | |
| { | |
| "p": "payload" | |
| } | |
| ], | |
| "repeat": "", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "1", | |
| "topic": "", | |
| "payload": "Offline", | |
| "payloadType": "str", | |
| "x": 730, | |
| "y": 1460, | |
| "wires": [ | |
| [ | |
| "1f78a4a200d39de4" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "731bd5f5f68e5538", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Two Domestic Level", | |
| "topic": "/towertwo/dom/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 130, | |
| "y": 1480, | |
| "wires": [ | |
| [ | |
| "7f3c3ad9d838b626" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "7f3c3ad9d838b626", | |
| "type": "ui_gauge", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Two Domestic Level", | |
| "group": "0ddd6a1a6fd3f264", | |
| "order": 1, | |
| "width": 3, | |
| "height": 3, | |
| "gtype": "donut", | |
| "title": "Domestic Tank", | |
| "label": "%", | |
| "format": "{{value}}", | |
| "min": 0, | |
| "max": "100", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "className": "", | |
| "x": 400, | |
| "y": 1460, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "8be1d76bb726e980", | |
| "type": "mqtt in", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Two Flush Level", | |
| "topic": "/towertwo/flu/level", | |
| "qos": "2", | |
| "datatype": "auto", | |
| "broker": "c0b429b69f2ac4ec", | |
| "nl": false, | |
| "rap": true, | |
| "rh": 0, | |
| "inputs": 0, | |
| "x": 120, | |
| "y": 1540, | |
| "wires": [ | |
| [ | |
| "c0e0478b9d47a567" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "c0e0478b9d47a567", | |
| "type": "ui_gauge", | |
| "z": "bd525b83beb32238", | |
| "name": "Tower Two Flush Level", | |
| "group": "0ddd6a1a6fd3f264", | |
| "order": 2, | |
| "width": 3, | |
| "height": 3, | |
| "gtype": "donut", | |
| "title": "Flush Tank", | |
| "label": "%", | |
| "format": "{{value}}", | |
| "min": 0, | |
| "max": "100", | |
| "colors": [ | |
| "#00b500", | |
| "#e6e600", | |
| "#ca3838" | |
| ], | |
| "seg1": "", | |
| "seg2": "", | |
| "className": "", | |
| "x": 390, | |
| "y": 1540, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "cd9f9c2ea4eff066", | |
| "type": "ui_spacer", | |
| "z": "bd525b83beb32238", | |
| "name": "spacer", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 6, | |
| "width": 2, | |
| "height": 1 | |
| }, | |
| { | |
| "id": "c13779f91bfd4a54", | |
| "type": "ui_spacer", | |
| "z": "bd525b83beb32238", | |
| "name": "spacer", | |
| "group": "a6b76e5828be1b0b", | |
| "order": 8, | |
| "width": 2, | |
| "height": 1 | |
| }, | |
| { | |
| "id": "339d0edc.4ffe02", | |
| "type": "ui_group", | |
| "name": "SUMP One ", | |
| "tab": "a2490d0e.a872b", | |
| "order": 1, | |
| "disp": true, | |
| "width": 4, | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "c0b429b69f2ac4ec", | |
| "type": "mqtt-broker", | |
| "name": "Mosquitto ", | |
| "broker": "test.mosquitto.org", | |
| "port": "1883", | |
| "clientid": "pi", | |
| "autoConnect": true, | |
| "usetls": false, | |
| "protocolVersion": "4", | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "", | |
| "birthMsg": {}, | |
| "closeTopic": "", | |
| "closeQos": "0", | |
| "closePayload": "", | |
| "closeMsg": {}, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "willMsg": {}, | |
| "sessionExpiry": "" | |
| }, | |
| { | |
| "id": "71855f7482f0c7c4", | |
| "type": "ui_group", | |
| "name": "SUMP Two ", | |
| "tab": "a2490d0e.a872b", | |
| "order": 2, | |
| "disp": true, | |
| "width": 4, | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "1f1cabb2752ec3ee", | |
| "type": "ui_group", | |
| "name": "Check devices status ", | |
| "tab": "a2490d0e.a872b", | |
| "order": 3, | |
| "disp": true, | |
| "width": "6", | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "ee384f4551150af7", | |
| "type": "ui_group", | |
| "name": "Device Log", | |
| "tab": "a2490d0e.a872b", | |
| "order": 4, | |
| "disp": true, | |
| "width": 12, | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "a6b76e5828be1b0b", | |
| "type": "ui_group", | |
| "name": "Tower One Dashboard", | |
| "tab": "a2490d0e.a872b", | |
| "order": 6, | |
| "disp": true, | |
| "width": "6", | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "0ddd6a1a6fd3f264", | |
| "type": "ui_group", | |
| "name": "Tower Two", | |
| "tab": "a2490d0e.a872b", | |
| "order": 6, | |
| "disp": true, | |
| "width": "6", | |
| "collapse": false, | |
| "className": "" | |
| }, | |
| { | |
| "id": "a2490d0e.a872b", | |
| "type": "ui_tab", | |
| "name": "Hilsal Industries | Water level dashboard ", | |
| "icon": "dashboard", | |
| "order": 1, | |
| "disabled": false, | |
| "hidden": false | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment