[
{
"id": "1145c98bd34aece3",
"type": "ui_gauge",
"z": "bdd9abd4c7790716",
"name": "Test 1: Payload",
"group": "ad2bb8bd68d2ab2f",
"order": 0,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Test 1",
"label": "units",
"format": "{{value}}",
"min": 0,
"max": "200",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"className": "",
"x": 780,
"y": 200,
"wires": []
},
{
"id": "120596d9cf5e7428",
"type": "inject",
"z": "bdd9abd4c7790716",
"name": "Payload: 50 :: Label: 100 :: Random Name: 150",
"props": [
{
"p": "payload"
},
{
"p": "label",
"v": "100",
"vt": "str"
},
{
"p": "random_name",
"v": "150",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "50",
"payloadType": "num",
"x": 280,
"y": 200,
"wires": [
[
"1145c98bd34aece3",
"21c62ed08f1004ab",
"bdb5ad3b68cea5be"
]
]
},
{
"id": "21c62ed08f1004ab",
"type": "ui_gauge",
"z": "bdd9abd4c7790716",
"name": "Test 2 : Label",
"group": "14f372823d194eab",
"order": 0,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Test 2",
"label": "units",
"format": "{{label | number}}",
"min": 0,
"max": "200",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"className": "",
"x": 780,
"y": 260,
"wires": []
},
{
"id": "bdb5ad3b68cea5be",
"type": "ui_gauge",
"z": "bdd9abd4c7790716",
"name": "Test 3: Random Name",
"group": "14f372823d194eab",
"order": 0,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Test 3",
"label": "units",
"format": "{{random_name | number}}",
"min": 0,
"max": "200",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"className": "",
"x": 800,
"y": 320,
"wires": []
},
{
"id": "24b7654079dbc2b7",
"type": "comment",
"z": "bdd9abd4c7790716",
"name": "Expect gauge and value both = 50 [True]",
"info": "",
"x": 1080,
"y": 200,
"wires": []
},
{
"id": "da3d630e3c2415fc",
"type": "comment",
"z": "bdd9abd4c7790716",
"name": "Expect gauge = 50 and value = 100 [False]",
"info": "",
"x": 1080,
"y": 260,
"wires": []
},
{
"id": "5ef092b5912d3bce",
"type": "comment",
"z": "bdd9abd4c7790716",
"name": "Expect gauge = 50 and value = 150 [False]",
"info": "",
"x": 1080,
"y": 320,
"wires": []
},
{
"id": "ad2bb8bd68d2ab2f",
"type": "ui_group",
"name": "Expect gauge and value both = 50 [True]",
"tab": "d305e69f6f30c68b",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "14f372823d194eab",
"type": "ui_group",
"name": "Expect gauge = 50 and value <> 50 [False]",
"tab": "d305e69f6f30c68b",
"order": 2,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "d305e69f6f30c68b",
"type": "ui_tab",
"name": "Home",
"icon": "Test",
"disabled": false,
"hidden": false
}
]
Dashboard...