Hello. I need to change the maximum value from the incoming slider value on gauge. In my example, you need to look at how much time is left on the gauge from the input data. Step 1 I set the time, for example 10 seconds, after which the relay will operate. Step 2 I click to turn on the relay and read the count 1, 2, 3 and so on from the incoming relay values. On the gauge I should notice that the maximum value has changed to 10 (because the previous one, for example, was 5 seconds). How can I transfer the maximum value on the display from slider to gauge?
[
{
"id": "c7a71e7d8f464565",
"type": "ui-gauge",
"z": "7274279d65cc34eb",
"name": "",
"group": "34028255fb440d6f",
"order": 0,
"width": 0,
"height": 0,
"gtype": "gauge-half",
"gstyle": "needle",
"title": "gauge",
"units": "units",
"icon": "",
"prefix": "",
"suffix": "",
"segments": [
{
"from": "0",
"color": "#5cd65c"
},
{
"from": "4",
"color": "#ffc800"
},
{
"from": "7",
"color": "#ea5353"
}
],
"min": 0,
"max": 10,
"sizeThickness": 16,
"sizeGap": 4,
"sizeKeyThickness": 8,
"styleRounded": true,
"styleGlow": false,
"className": "",
"x": 1050,
"y": 1220,
"wires": []
},
{
"id": "e18183dd252613a9",
"type": "mqtt in",
"z": "7274279d65cc34eb",
"name": "inputs count",
"topic": "inputs count",
"qos": "0",
"datatype": "auto-detect",
"broker": "e45a5fc15e1cd981",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 830,
"y": 1200,
"wires": [
[
"c7a71e7d8f464565"
]
]
},
{
"id": "25e39d6c7be9a98e",
"type": "ui-slider",
"z": "7274279d65cc34eb",
"group": "34028255fb440d6f",
"name": "slider set value",
"label": "slider set value",
"tooltip": "",
"order": 0,
"width": 0,
"height": 0,
"passthru": false,
"outs": "all",
"topic": "topic",
"topicType": "msg",
"thumbLabel": true,
"min": 0,
"max": 10,
"step": 1,
"className": "",
"x": 840,
"y": 1260,
"wires": [
[
"c7a71e7d8f464565"
]
]
},
{
"id": "34028255fb440d6f",
"type": "ui-group",
"name": "Управление реле",
"page": "108bba136c098591",
"width": "8",
"height": "1",
"order": 1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "e45a5fc15e1cd981",
"type": "mqtt-broker",
"name": "1242",
"broker": "192.168.4.1",
"port": "1883",
"clientid": "",
"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": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "108bba136c098591",
"type": "ui-page",
"name": "управление",
"ui": "8e88ed68f54ffc23",
"path": "/page4",
"icon": "home",
"layout": "flex",
"theme": "ebbd600a4950e6d4",
"order": 4,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "8e88ed68f54ffc23",
"type": "ui-base",
"name": "UI Name 2",
"path": "/dashboard",
"includeClientData": true,
"acceptsClientConfig": [
"ui-notification",
"ui-control"
],
"showPathInSidebar": false,
"navigationStyle": "fixed"
},
{
"id": "ebbd600a4950e6d4",
"type": "ui-theme",
"name": "Theme Name 1",
"colors": {
"surface": "#ed0c0c",
"primary": "#05b8ff",
"bgPage": "#f5b8b8",
"groupBg": "#e6efe7",
"groupOutline": "#0b92f9"
},
"sizes": {
"pagePadding": "12px",
"groupGap": "12px",
"groupBorderRadius": "4px",
"widgetGap": "12px"
}
}
]