How to display same value on different gauges

Hello my friends, I want to display two values on two different sections of my dashboard.
knowing that the values are the same, the two sections are one automatic and the other manual mode,
everytime the sensor sends the data, I can see the two gauges filling, but I only need one filling, according to the topic either it's automatic or manual! and according to the button of that section, if i clicked on launch from the manual section , the gauge of the manual section has to start filling, if I clicked on launch from the automatic section, the gauge of the automatic section has to start filling.

Here's the flow:

[
    {
        "id": "5daee7dea76bfee7",
        "type": "ui_button",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "group": "d9096ae79b00f8d1",
        "order": 4,
        "width": 0,
        "height": 0,
        "passthru": true,
        "label": "Launch ",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "play_arrow",
        "payload": "Launch",
        "payloadType": "str",
        "topic": "esp32/button/manual",
        "topicType": "msg",
        "x": 620,
        "y": 640,
        "wires": [
            [
                "9556e593582f1358",
                "27c8ed3c5fceb8f9"
            ]
        ]
    },
    {
        "id": "9556e593582f1358",
        "type": "mqtt out",
        "z": "9c063dfd0b542ce5",
        "name": "manual",
        "topic": "esp32/button/manual",
        "qos": "1",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "21cdba4a.be7146",
        "x": 1160,
        "y": 460,
        "wires": []
    },
    {
        "id": "69447b19893b4464",
        "type": "ui_gauge",
        "z": "9c063dfd0b542ce5",
        "name": "Manual rate",
        "group": "d9096ae79b00f8d1",
        "order": 1,
        "width": "0",
        "height": "0",
        "gtype": "gage",
        "title": "Flow Rate",
        "label": "mL/s",
        "format": "{{value}}",
        "min": "0",
        "max": "100",
        "colors": [
            "#eb2ddc",
            "#5a2656",
            "#a3009e"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1150,
        "y": 320,
        "wires": []
    },
    {
        "id": "4cbe1f9ae3e9bfa9",
        "type": "ui_button",
        "z": "9c063dfd0b542ce5",
        "name": "Stop",
        "group": "d9096ae79b00f8d1",
        "order": 5,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Stop",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "stop",
        "payload": "Stop",
        "payloadType": "str",
        "topic": "esp32/button/manual",
        "topicType": "msg",
        "x": 610,
        "y": 760,
        "wires": [
            [
                "9556e593582f1358",
                "49ac6cd4beb2dc6a"
            ]
        ]
    },
    {
        "id": "6d19f5f6798b9551",
        "type": "ui_button",
        "z": "9c063dfd0b542ce5",
        "name": "Reset",
        "group": "d9096ae79b00f8d1",
        "order": 6,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Reset",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "replay",
        "payload": "Reset",
        "payloadType": "str",
        "topic": "esp32/button/manual",
        "topicType": "msg",
        "x": 630,
        "y": 700,
        "wires": [
            [
                "9556e593582f1358",
                "575de01b18c53262"
            ]
        ]
    },
    {
        "id": "8d639083c1b0f54b",
        "type": "ui_gauge",
        "z": "9c063dfd0b542ce5",
        "name": "Manual volume",
        "group": "d9096ae79b00f8d1",
        "order": 2,
        "width": 0,
        "height": 0,
        "gtype": "wave",
        "title": "Volume",
        "label": "mL",
        "format": "{{value}}",
        "min": 0,
        "max": "1000",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1000,
        "y": 140,
        "wires": []
    },
    {
        "id": "4d251917f4fde7f3",
        "type": "ui_ui_control",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "events": "all",
        "x": 1340,
        "y": 460,
        "wires": [
            []
        ]
    },
    {
        "id": "27c8ed3c5fceb8f9",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1170,
        "y": 700,
        "wires": []
    },
    {
        "id": "49ac6cd4beb2dc6a",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1170,
        "y": 820,
        "wires": []
    },
    {
        "id": "575de01b18c53262",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1170,
        "y": 760,
        "wires": []
    },
    {
        "id": "e275989cf9b7d2f6",
        "type": "ui_gauge",
        "z": "9c063dfd0b542ce5",
        "name": "Automatic volume",
        "group": "e739c1d1a4a831b3",
        "order": 3,
        "width": 0,
        "height": 0,
        "gtype": "wave",
        "title": "Volume",
        "label": "mL",
        "format": "{{value}}",
        "min": 0,
        "max": "1000",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1010,
        "y": 200,
        "wires": []
    },
    {
        "id": "023fe43a623178d1",
        "type": "ui_chart",
        "z": "9c063dfd0b542ce5",
        "name": "Automatic rate",
        "group": "e739c1d1a4a831b3",
        "order": 4,
        "width": "6",
        "height": "5",
        "label": "chart",
        "chartType": "line",
        "legend": "true",
        "xformat": "Time(s)",
        "interpolate": "linear",
        "nodata": "",
        "dot": true,
        "ymin": "0",
        "ymax": "100",
        "removeOlder": 1,
        "removeOlderPoints": "",
        "removeOlderUnit": "1",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#355f7e",
            "#aec7e8",
            "#e198d4",
            "#f15050",
            "#a4ee68",
            "#f93939",
            "#ff9896",
            "#ae67bc",
            "#8c789b"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 1140,
        "y": 260,
        "wires": [
            []
        ]
    },
    {
        "id": "5e279a0640b6ebb7",
        "type": "mqtt out",
        "z": "9c063dfd0b542ce5",
        "name": "automatic",
        "topic": "input/button/volume",
        "qos": "1",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "21cdba4a.be7146",
        "x": 1160,
        "y": 380,
        "wires": []
    },
    {
        "id": "4340261698c53f9b",
        "type": "ui_text_input",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "label": "",
        "tooltip": "",
        "group": "e739c1d1a4a831b3",
        "order": 2,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "number",
        "delay": "1000",
        "topic": "number",
        "sendOnBlur": true,
        "topicType": "str",
        "x": 330,
        "y": 440,
        "wires": [
            [
                "6b303251a8080ef5"
            ]
        ]
    },
    {
        "id": "6b303251a8080ef5",
        "type": "rbe",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 550,
        "y": 540,
        "wires": [
            [
                "13624e792d99e806"
            ]
        ]
    },
    {
        "id": "de9929f1e80e542b",
        "type": "rbe",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 610,
        "y": 440,
        "wires": [
            [
                "d535b4076f8bea2a"
            ]
        ]
    },
    {
        "id": "d535b4076f8bea2a",
        "type": "join",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": true,
        "timeout": "",
        "count": "2",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 910,
        "y": 440,
        "wires": [
            [
                "f0d2f47e2437d262"
            ]
        ]
    },
    {
        "id": "f0d2f47e2437d262",
        "type": "function",
        "z": "9c063dfd0b542ce5",
        "name": "Comparison",
        "func": "msg.payload = msg.payload.auto_vol >= msg.payload.number\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1170,
        "y": 540,
        "wires": [
            [
                "0cbd47fd7278b6db"
            ]
        ]
    },
    {
        "id": "13624e792d99e806",
        "type": "switch",
        "z": "9c063dfd0b542ce5",
        "name": "IF in (1..1000)",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "btwn",
                "v": "1",
                "vt": "num",
                "v2": "1000",
                "v2t": "num"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 740,
        "y": 520,
        "wires": [
            [
                "d535b4076f8bea2a",
                "4417a7ba2d84560d"
            ]
        ]
    },
    {
        "id": "ca5314487849f769",
        "type": "ui_template",
        "z": "9c063dfd0b542ce5",
        "group": "e739c1d1a4a831b3",
        "name": "Enter volume:",
        "order": 1,
        "width": 6,
        "height": 1,
        "format": "<p>Enter volume: </p>",
        "storeOutMessages": true,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 300,
        "y": 540,
        "wires": [
            [
                "4340261698c53f9b"
            ]
        ]
    },
    {
        "id": "0cbd47fd7278b6db",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "true",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1230,
        "y": 620,
        "wires": []
    },
    {
        "id": "4417a7ba2d84560d",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "Display input",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1010,
        "y": 620,
        "wires": []
    },
    {
        "id": "93e031041ba6c5fb",
        "type": "ui_button",
        "z": "9c063dfd0b542ce5",
        "name": "Launch",
        "group": "e739c1d1a4a831b3",
        "order": 6,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Launch",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "play_arrow",
        "payload": "Launch1",
        "payloadType": "str",
        "topic": "input/button/volume",
        "topicType": "msg",
        "x": 600,
        "y": 820,
        "wires": [
            [
                "5e279a0640b6ebb7",
                "7e25ca37381911f8"
            ]
        ]
    },
    {
        "id": "7e25ca37381911f8",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1050,
        "y": 880,
        "wires": []
    },
    {
        "id": "d1ef99e872ad142f",
        "type": "ui_button",
        "z": "9c063dfd0b542ce5",
        "name": "Reset",
        "group": "e739c1d1a4a831b3",
        "order": 7,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Reset",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "replay",
        "payload": "Reset",
        "payloadType": "str",
        "topic": "input/button/volume",
        "topicType": "msg",
        "x": 590,
        "y": 880,
        "wires": [
            [
                "5e279a0640b6ebb7",
                "98aca2806218da31"
            ]
        ]
    },
    {
        "id": "98aca2806218da31",
        "type": "debug",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1035.7142944335938,
        "y": 935.7142944335938,
        "wires": []
    },
    {
        "id": "a1c9c2db0a24174a",
        "type": "mqtt in",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "topic": "manual_vol",
        "qos": "1",
        "datatype": "auto",
        "broker": "21cdba4a.be7146",
        "nl": false,
        "rap": true,
        "rh": 0,
        "x": 430,
        "y": 140,
        "wires": [
            [
                "8d639083c1b0f54b"
            ]
        ]
    },
    {
        "id": "23ea5642c50bd289",
        "type": "mqtt in",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "topic": "auto_vol",
        "qos": "2",
        "datatype": "auto",
        "broker": "21cdba4a.be7146",
        "nl": false,
        "rap": true,
        "rh": 0,
        "x": 440,
        "y": 200,
        "wires": [
            [
                "e275989cf9b7d2f6",
                "de9929f1e80e542b"
            ]
        ]
    },
    {
        "id": "c3e272d5a76cfdea",
        "type": "mqtt in",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "topic": "manual_rate",
        "qos": "2",
        "datatype": "auto",
        "broker": "21cdba4a.be7146",
        "nl": false,
        "rap": true,
        "rh": 0,
        "x": 390,
        "y": 320,
        "wires": [
            [
                "69447b19893b4464"
            ]
        ]
    },
    {
        "id": "34016eda25718827",
        "type": "mqtt in",
        "z": "9c063dfd0b542ce5",
        "name": "",
        "topic": "auto_rate",
        "qos": "2",
        "datatype": "auto",
        "broker": "21cdba4a.be7146",
        "nl": false,
        "rap": true,
        "rh": 0,
        "x": 400,
        "y": 260,
        "wires": [
            [
                "023fe43a623178d1"
            ]
        ]
    },
    {
        "id": "d9096ae79b00f8d1",
        "type": "ui_group",
        "name": "Manual",
        "tab": "e9d3ea7203cc93cc",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": true,
        "className": ""
    },
    {
        "id": "21cdba4a.be7146",
        "type": "mqtt-broker",
        "name": "",
        "broker": " 192.168.1.16",
        "port": "1883",
        "clientid": "",
        "usetls": false,
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "willTopic": "",
        "willQos": "0",
        "willPayload": ""
    },
    {
        "id": "e739c1d1a4a831b3",
        "type": "ui_group",
        "name": "Automatic_B",
        "tab": "fb7aed5ada447f07",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": true,
        "className": ""
    },
    {
        "id": "e9d3ea7203cc93cc",
        "type": "ui_tab",
        "name": "Water control: Manual",
        "icon": "fa-tint",
        "disabled": false,
        "hidden": false,
        "info": "`<i class=\"fa fa-tint\" aria-hidden=\"true\"></i>`"
    },
    {
        "id": "fb7aed5ada447f07",
        "type": "ui_tab",
        "name": "Water control: Automatic_B",
        "icon": "fa-tint",
        "order": 7,
        "disabled": false,
        "hidden": false
    }
]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.