Disable widgets

Hello.

New day new problem=)

I was trying to disable a widget with another widget. Thought it should not cause any problems since
i can use msg.enabled = true/false to do so.

Here is my small code:

[
    {
        "id": "c3be85b95be91e89",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "REMOTE:",
        "tooltip": "Activates Remote-control. Unable to control Pump when OFF",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 2,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "ON",
                "value": true,
                "type": "bool"
            },
            {
                "label": "OFF",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "test",
        "topicType": "msg",
        "className": "",
        "x": 1760,
        "y": 200,
        "wires": [
            [
                "c36f9376d47c9f21"
            ]
        ]
    },
    {
        "id": "c36f9376d47c9f21",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_remote",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2050,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "93cdd11b59f438af",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "check_remote",
        "group": "4368da8fe6ddbe0c",
        "order": 4,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "black",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2340,
        "y": 200,
        "wires": [
            [
                "4b9452657fcc1d6a"
            ]
        ]
    },
    {
        "id": "4b9452657fcc1d6a",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_remote",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2570,
        "y": 200,
        "wires": [
            [
                "43c4af70b187801f",
                "b1c5c3c3dfd094e3"
            ]
        ]
    },
    {
        "id": "b1c5c3c3dfd094e3",
        "type": "switch",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 2610,
        "y": 160,
        "wires": [
            [
                "771aa27d61f30bcb"
            ],
            [
                "771aa27d61f30bcb"
            ]
        ]
    },
    {
        "id": "771aa27d61f30bcb",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2790,
        "y": 160,
        "wires": [
            [
                "e9f6be0f1925f7fe",
                "30b9a725e93c931e",
                "4a40ee7daa2a4372"
            ]
        ]
    },
    {
        "id": "e9f6be0f1925f7fe",
        "type": "debug",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "debug 4",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 2800,
        "y": 120,
        "wires": []
    },
    {
        "id": "30b9a725e93c931e",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "DOSING:",
        "tooltip": "Starts or stops the pump",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 7,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "START",
                "value": true,
                "type": "bool"
            },
            {
                "label": "STOP",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 1760,
        "y": 300,
        "wires": [
            [
                "8889a3e77d72c897"
            ]
        ]
    },
    {
        "id": "8889a3e77d72c897",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2030,
        "y": 300,
        "wires": [
            []
        ]
    },
    {
        "id": "aeac7511c51d451e",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "input_dosing",
        "group": "4368da8fe6ddbe0c",
        "order": 9,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "black",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2330,
        "y": 300,
        "wires": [
            [
                "a41e37df0a74a3b9"
            ]
        ]
    },
    {
        "id": "a41e37df0a74a3b9",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2570,
        "y": 296.1576354679803,
        "wires": [
            [
                "5516996888df9aaa"
            ]
        ]
    },
    {
        "id": "4a40ee7daa2a4372",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "OPMODE:",
        "tooltip": "Change operating mode",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 12,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "Manual",
                "value": 0,
                "type": "num"
            },
            {
                "label": "Pulse",
                "value": 1,
                "type": "num"
            },
            {
                "label": "Analog",
                "value": 2,
                "type": "num"
            },
            {
                "label": "Timer",
                "value": 3,
                "type": "num"
            },
            {
                "label": "Batch",
                "value": 4,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 1770,
        "y": 400,
        "wires": [
            [
                "7b06185142a3b85f"
            ]
        ]
    },
    {
        "id": "7b06185142a3b85f",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_opmode",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2030,
        "y": 400,
        "wires": [
            []
        ]
    },
    {
        "id": "5f6faf513b5988c0",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "input_opmode",
        "group": "4368da8fe6ddbe0c",
        "order": 14,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "black",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2340,
        "y": 400,
        "wires": [
            [
                "84a9e19f537dd880"
            ]
        ]
    },
    {
        "id": "84a9e19f537dd880",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_opmode",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2570,
        "y": 400,
        "wires": [
            [
                "0eec4e37bf483fdc"
            ]
        ]
    },
    {
        "id": "4368da8fe6ddbe0c",
        "type": "ui_group",
        "name": "CONTROLPANEL",
        "tab": "4ad3c40739cbf998",
        "order": 2,
        "disp": true,
        "width": 8,
        "collapse": false,
        "className": ""
    },
    {
        "id": "4ad3c40739cbf998",
        "type": "ui_tab",
        "name": "PUMP A",
        "icon": "fa-tasks",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

My problem: When i am feeding with the changenode the widgets that should be disbaled/enabled, i am changing the value (true, false) also, which i dont understand.

thank you

The problem is that you are sending the true/false state of the remote flow var into your drop down which also has true/false options and therefore changing them unintentionally.

I wasn't sure what the check buttons were for so I have removed them and replaced the remote drop down with a switch. I left 2 of the flow vars, but if they are not needed it would be better to just pass on the values as msg properties.

The flow is much simpler now, hopefully you can adjust to your needs.

[
    {
        "id": "30b9a725e93c931e",
        "type": "ui_dropdown",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "DOSING:",
        "tooltip": "Starts or stops the pump",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 2,
        "width": 4,
        "height": 1,
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": "START",
                "value": true,
                "type": "bool"
            },
            {
                "label": "STOP",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 825,
        "y": 330,
        "wires": [
            [
                "8889a3e77d72c897"
            ]
        ]
    },
    {
        "id": "8889a3e77d72c897",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1040,
        "y": 330,
        "wires": [
            []
        ]
    },
    {
        "id": "4a40ee7daa2a4372",
        "type": "ui_dropdown",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "OPMODE:",
        "tooltip": "Change operating mode",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 3,
        "width": 4,
        "height": 1,
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": "Manual",
                "value": 0,
                "type": "num"
            },
            {
                "label": "Pulse",
                "value": 1,
                "type": "num"
            },
            {
                "label": "Analog",
                "value": 2,
                "type": "num"
            },
            {
                "label": "Timer",
                "value": 3,
                "type": "num"
            },
            {
                "label": "Batch",
                "value": 4,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 835,
        "y": 390,
        "wires": [
            [
                "7b06185142a3b85f"
            ]
        ]
    },
    {
        "id": "7b06185142a3b85f",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_opmode",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1045,
        "y": 390,
        "wires": [
            []
        ]
    },
    {
        "id": "b987e667bd652b51",
        "type": "ui_switch",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "REMOTE:",
        "tooltip": "Activates Remote-control. Unable to control Pump when OFF",
        "group": "4368da8fe6ddbe0c",
        "order": 1,
        "width": "0",
        "height": "0",
        "passthru": false,
        "decouple": "false",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": false,
        "className": "",
        "x": 470,
        "y": 360,
        "wires": [
            [
                "631e42c91d327c8e",
                "fd4275d5c6905870"
            ]
        ]
    },
    {
        "id": "631e42c91d327c8e",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 655,
        "y": 330,
        "wires": [
            [
                "30b9a725e93c931e"
            ]
        ]
    },
    {
        "id": "fd4275d5c6905870",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_opmode",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 655,
        "y": 390,
        "wires": [
            [
                "4a40ee7daa2a4372"
            ]
        ]
    },
    {
        "id": "4368da8fe6ddbe0c",
        "type": "ui_group",
        "name": "CONTROLPANEL",
        "tab": "4ad3c40739cbf998",
        "order": 2,
        "disp": true,
        "width": 8,
        "collapse": false,
        "className": ""
    },
    {
        "id": "4ad3c40739cbf998",
        "type": "ui_tab",
        "name": "PUMP A",
        "icon": "fa-tasks",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]
1 Like

thank you for the answer.

I see where the problem is.
My original plan is, that i can select via the dropdown menu and only if i press the button, the data will be send to my mqtt database.

[
    {
        "id": "c3be85b95be91e89",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "REMOTE:",
        "tooltip": "Activates Remote-control. Unable to control Pump when OFF",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 2,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "ON",
                "value": true,
                "type": "bool"
            },
            {
                "label": "OFF",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "test",
        "topicType": "msg",
        "className": "",
        "x": 1820,
        "y": 180,
        "wires": [
            [
                "c36f9376d47c9f21"
            ]
        ]
    },
    {
        "id": "30b9a725e93c931e",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "DOSING:",
        "tooltip": "Starts or stops the pump",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 7,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "START",
                "value": true,
                "type": "bool"
            },
            {
                "label": "STOP",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 1820,
        "y": 280,
        "wires": [
            [
                "8889a3e77d72c897"
            ]
        ]
    },
    {
        "id": "4a40ee7daa2a4372",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "OPMODE:",
        "tooltip": "Change operating mode",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 12,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "Manual",
                "value": 0,
                "type": "num"
            },
            {
                "label": "Pulse",
                "value": 1,
                "type": "num"
            },
            {
                "label": "Analog",
                "value": 2,
                "type": "num"
            },
            {
                "label": "Timer",
                "value": 3,
                "type": "num"
            },
            {
                "label": "Batch",
                "value": 4,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 1830,
        "y": 380,
        "wires": [
            [
                "7b06185142a3b85f"
            ]
        ]
    },
    {
        "id": "7b06185142a3b85f",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_opmode",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2130,
        "y": 380,
        "wires": [
            []
        ]
    },
    {
        "id": "8889a3e77d72c897",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2130,
        "y": 280,
        "wires": [
            []
        ]
    },
    {
        "id": "c36f9376d47c9f21",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_remote",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2150,
        "y": 180,
        "wires": [
            []
        ]
    },
    {
        "id": "93cdd11b59f438af",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "check_remote",
        "group": "4368da8fe6ddbe0c",
        "order": 4,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "black",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2440,
        "y": 180,
        "wires": [
            [
                "4b9452657fcc1d6a"
            ]
        ]
    },
    {
        "id": "aeac7511c51d451e",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "input_dosing",
        "group": "4368da8fe6ddbe0c",
        "order": 9,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "black",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2430,
        "y": 280,
        "wires": [
            [
                "a41e37df0a74a3b9"
            ]
        ]
    },
    {
        "id": "5f6faf513b5988c0",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "input_opmode",
        "group": "4368da8fe6ddbe0c",
        "order": 14,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "black",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2440,
        "y": 380,
        "wires": [
            [
                "84a9e19f537dd880"
            ]
        ]
    },
    {
        "id": "84a9e19f537dd880",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_opmode",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2670,
        "y": 380,
        "wires": [
            [
                "4310ce4fbf51b6e8"
            ]
        ]
    },
    {
        "id": "a41e37df0a74a3b9",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2670,
        "y": 276.1576354679803,
        "wires": [
            [
                "f4320ac7c3ace88f"
            ]
        ]
    },
    {
        "id": "4b9452657fcc1d6a",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_remote",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2670,
        "y": 180,
        "wires": [
            [
                "b1c5c3c3dfd094e3",
                "679670f82597afc0"
            ]
        ]
    },
    {
        "id": "b1c5c3c3dfd094e3",
        "type": "switch",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 2710,
        "y": 140,
        "wires": [
            [
                "cb925ac5cdb94e98"
            ],
            [
                "cb925ac5cdb94e98"
            ]
        ]
    },
    {
        "id": "4310ce4fbf51b6e8",
        "type": "mqtt out",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "topic": "",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "x": 2890,
        "y": 380,
        "wires": []
    },
    {
        "id": "f4320ac7c3ace88f",
        "type": "mqtt out",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "topic": "",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "x": 2890,
        "y": 280,
        "wires": []
    },
    {
        "id": "679670f82597afc0",
        "type": "mqtt out",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "topic": "",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "x": 2910,
        "y": 180,
        "wires": []
    },
    {
        "id": "cb925ac5cdb94e98",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2910,
        "y": 140,
        "wires": [
            [
                "a083c65f638f18b9"
            ]
        ]
    },
    {
        "id": "a083c65f638f18b9",
        "type": "debug",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "debug 4",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 3100,
        "y": 140,
        "wires": []
    },
    {
        "id": "4368da8fe6ddbe0c",
        "type": "ui_group",
        "name": "CONTROLPANEL",
        "tab": "4ad3c40739cbf998",
        "order": 2,
        "disp": true,
        "width": 8,
        "collapse": false,
        "className": ""
    },
    {
        "id": "4ad3c40739cbf998",
        "type": "ui_tab",
        "name": "PUMP A",
        "icon": "fa-tasks",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

thank you for you flow. But wont there be a problem with you flow, after a restart of node red (flow.input) would be empty. So if i push the remote_on_off switch, i would feed my drowdowns with an emtpy flow?
I hope you understand what i mean.

best regards

That depends on if you have enabled persistant storeage.

https://nodered.org/docs/user-guide/context

However rather than having the remote enable option, why not just have a button to send the current drop down selected values ?

[
    {
        "id": "30b9a725e93c931e",
        "type": "ui_dropdown",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "DOSING:",
        "tooltip": "Starts or stops the pump",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 2,
        "width": 4,
        "height": 1,
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": "START",
                "value": true,
                "type": "bool"
            },
            {
                "label": "STOP",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 945,
        "y": 390,
        "wires": [
            [
                "8889a3e77d72c897"
            ]
        ]
    },
    {
        "id": "8889a3e77d72c897",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1160,
        "y": 390,
        "wires": [
            []
        ]
    },
    {
        "id": "4a40ee7daa2a4372",
        "type": "ui_dropdown",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "OPMODE:",
        "tooltip": "Change operating mode",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 3,
        "width": 4,
        "height": 1,
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": "Manual",
                "value": 0,
                "type": "num"
            },
            {
                "label": "Pulse",
                "value": 1,
                "type": "num"
            },
            {
                "label": "Analog",
                "value": 2,
                "type": "num"
            },
            {
                "label": "Timer",
                "value": 3,
                "type": "num"
            },
            {
                "label": "Batch",
                "value": 4,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 955,
        "y": 450,
        "wires": [
            [
                "7b06185142a3b85f"
            ]
        ]
    },
    {
        "id": "7b06185142a3b85f",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_opmode",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1165,
        "y": 450,
        "wires": [
            []
        ]
    },
    {
        "id": "9670749c800f1c66",
        "type": "debug",
        "z": "d0f9a690e04bf3cd",
        "name": "debug 325",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 1365,
        "y": 330,
        "wires": []
    },
    {
        "id": "ea6a15c31aa0f96b",
        "type": "ui_button",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "group": "4368da8fe6ddbe0c",
        "order": 20,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Send values",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 955,
        "y": 330,
        "wires": [
            [
                "c74678aa826603f1"
            ]
        ]
    },
    {
        "id": "c74678aa826603f1",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            },
            {
                "t": "set",
                "p": "input_opmode",
                "pt": "msg",
                "to": "input_opmode",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1145,
        "y": 330,
        "wires": [
            [
                "9670749c800f1c66"
            ]
        ]
    },
    {
        "id": "4368da8fe6ddbe0c",
        "type": "ui_group",
        "name": "CONTROLPANEL",
        "tab": "4ad3c40739cbf998",
        "order": 2,
        "disp": true,
        "width": 8,
        "collapse": false,
        "className": ""
    },
    {
        "id": "4ad3c40739cbf998",
        "type": "ui_tab",
        "name": "PUMP A",
        "icon": "fa-tasks",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

thank you for the answer.

i want for "clearness" and safty-reasons of my project, that the user has to "submit" via a button every value. only after that the value will be send to my database.

And since you can only do changes when remote is "on" i wanted to disable/enable every other dropdown menu depending on the remote-state.

No until now my persistant storage is disabled.

I somehow still dont understand, why it is coded in that way, that if you send msg.enabled = true, to a dropdownmenu, the dropdown adjusts its inner value to true?! Doesnt the dropdown wait for a msg.PAYLOAD and not a ms.enabled?

Thank you

The way you designed the flow it was sending msg.payload of true/false as I mentioned before

The flow above will only send the values when you click on send, (not as you change the values in the drop downs) doesn't that meet your requirement ?

sorry wasnt specific enough. I want that every dropwdown that i am using has its own submit-button.

I still dont get it. I changed my flow a bit so that i am sending msg.enabled=true/false, but still the values inside my dosing-dropwdown is changing. Since my dosing widget recieving "msg.eneables=true" why is the value inside of the dosing-widget changing to true. The dosing widget is waiting for msg.payload.
Here is my altered flow:

[
    {
        "id": "c3be85b95be91e89",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "REMOTE:",
        "tooltip": "Activates Remote-control. Unable to control Pump when OFF",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 2,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "ON",
                "value": true,
                "type": "bool"
            },
            {
                "label": "OFF",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "test",
        "topicType": "msg",
        "className": "",
        "x": 2020,
        "y": 220,
        "wires": [
            [
                "c36f9376d47c9f21",
                "fbdf668d81828a94"
            ]
        ]
    },
    {
        "id": "c36f9376d47c9f21",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_remote",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2230,
        "y": 260,
        "wires": [
            []
        ]
    },
    {
        "id": "93cdd11b59f438af",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "check_remote",
        "group": "4368da8fe6ddbe0c",
        "order": 3,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "{{background}}",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2600,
        "y": 220,
        "wires": [
            [
                "4b9452657fcc1d6a",
                "06583a16599152ef"
            ]
        ]
    },
    {
        "id": "4b9452657fcc1d6a",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_remote",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2830,
        "y": 220,
        "wires": [
            [
                "b1c5c3c3dfd094e3",
                "43c4af70b187801f"
            ]
        ]
    },
    {
        "id": "b1c5c3c3dfd094e3",
        "type": "switch",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 2030,
        "y": 40,
        "wires": [
            [
                "cb925ac5cdb94e98"
            ],
            [
                "0e3fd6ef478e82fd"
            ]
        ]
    },
    {
        "id": "30b9a725e93c931e",
        "type": "ui_dropdown",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "label": "DOSING:",
        "tooltip": "Starts or stops the pump",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 9,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "START",
                "value": true,
                "type": "bool"
            },
            {
                "label": "STOP",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 2020,
        "y": 340,
        "wires": [
            [
                "8889a3e77d72c897",
                "73d7dd197aac9352"
            ]
        ]
    },
    {
        "id": "8889a3e77d72c897",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2230,
        "y": 380,
        "wires": [
            []
        ]
    },
    {
        "id": "aeac7511c51d451e",
        "type": "ui_button",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "input_dosing",
        "group": "4368da8fe6ddbe0c",
        "order": 10,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "{{background}}",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 2590,
        "y": 340,
        "wires": [
            [
                "a41e37df0a74a3b9",
                "4b4e36e654333d43"
            ]
        ]
    },
    {
        "id": "a41e37df0a74a3b9",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2830,
        "y": 340,
        "wires": [
            [
                "5516996888df9aaa"
            ]
        ]
    },
    {
        "id": "cb925ac5cdb94e98",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "true",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2230,
        "y": 20,
        "wires": [
            [
                "30b9a725e93c931e"
            ]
        ]
    },
    {
        "id": "879350b7350a2747",
        "type": "function",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "change button red",
        "func": "msg.background = \"rgb(255, 51, 51)\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 2350,
        "y": 220,
        "wires": [
            [
                "93cdd11b59f438af"
            ]
        ]
    },
    {
        "id": "06583a16599152ef",
        "type": "function",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "change button black",
        "func": "msg.background = \"black\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 2600,
        "y": 160,
        "wires": [
            [
                "93cdd11b59f438af"
            ]
        ]
    },
    {
        "id": "e84faf494ba5d4d9",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "readPump.CIM500/ADR_201.ActRemoteAccess",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1810,
        "y": 220,
        "wires": [
            [
                "c3be85b95be91e89"
            ]
        ]
    },
    {
        "id": "fbdf668d81828a94",
        "type": "rbe",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 2170,
        "y": 220,
        "wires": [
            [
                "879350b7350a2747"
            ]
        ]
    },
    {
        "id": "e21c0a6cbbde2576",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "readPump.CIM500/ADR_204.Dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1810,
        "y": 340,
        "wires": [
            [
                "30b9a725e93c931e"
            ]
        ]
    },
    {
        "id": "73d7dd197aac9352",
        "type": "rbe",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 2170,
        "y": 340,
        "wires": [
            [
                "08974afca3adf4f5"
            ]
        ]
    },
    {
        "id": "08974afca3adf4f5",
        "type": "function",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "change button red",
        "func": "msg.background = \"rgb(255, 51, 51)\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 2350,
        "y": 340,
        "wires": [
            [
                "aeac7511c51d451e"
            ]
        ]
    },
    {
        "id": "4b4e36e654333d43",
        "type": "function",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "change button black",
        "func": "msg.background = \"black\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 2600,
        "y": 280,
        "wires": [
            [
                "aeac7511c51d451e"
            ]
        ]
    },
    {
        "id": "0e3fd6ef478e82fd",
        "type": "change",
        "z": "a9ed4fd40ab38e2f",
        "g": "d0fcc95aa6ce7aec",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 2230,
        "y": 60,
        "wires": [
            [
                "30b9a725e93c931e"
            ]
        ]
    },
    {
        "id": "4368da8fe6ddbe0c",
        "type": "ui_group",
        "name": "CONTROLPANEL",
        "tab": "4ad3c40739cbf998",
        "order": 2,
        "disp": true,
        "width": 14,
        "collapse": false,
        "className": ""
    },
    {
        "id": "4ad3c40739cbf998",
        "type": "ui_tab",
        "name": "PUMP A",
        "icon": "fa-tasks",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

So the issue is still the same as I mentioned at the beginning.

You are still feeding msg.payload true / false back into the drop down. I keep removing this and you keep adding it back in, with more and more unnecessary nodes :wink:

NOTE: If you add a property to a msg (eg enabled), this doesn't remove the existing property of msg.payload. The problem you are seeing is because you send enable property AND payload property in the SAME message, so the drop down reacts to both.

If you send msg.enabled to the dropdown and don't want to change the value displayed, then you need to delete the msg.payload property first.

I have modified you flow to correct this and hopefully you can now see what you need to do :wink:

[
    {
        "id": "c3be85b95be91e89",
        "type": "ui_dropdown",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "REMOTE:",
        "tooltip": "Activates Remote-control. Unable to control Pump when OFF",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 1,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "ON",
                "value": true,
                "type": "bool"
            },
            {
                "label": "OFF",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "test",
        "topicType": "msg",
        "className": "",
        "x": 505,
        "y": 720,
        "wires": [
            [
                "fbdf668d81828a94"
            ]
        ]
    },
    {
        "id": "c36f9376d47c9f21",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_remote",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "background",
                "pt": "msg",
                "to": "rgb(255, 51, 51)",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 810,
        "y": 720,
        "wires": [
            [
                "93cdd11b59f438af"
            ]
        ]
    },
    {
        "id": "93cdd11b59f438af",
        "type": "ui_button",
        "z": "d0f9a690e04bf3cd",
        "name": "check_remote",
        "group": "4368da8fe6ddbe0c",
        "order": 2,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "{{background}}",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 1030,
        "y": 720,
        "wires": [
            [
                "5fab407077ae83a8",
                "9c293200e2d4fb91"
            ]
        ]
    },
    {
        "id": "4b9452657fcc1d6a",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "set drop down value",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 290,
        "y": 870,
        "wires": [
            [
                "53c8ef23430cd71a"
            ]
        ]
    },
    {
        "id": "53c8ef23430cd71a",
        "type": "ui_dropdown",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "label": "DOSING:",
        "tooltip": "Starts or stops the pump",
        "place": "",
        "group": "4368da8fe6ddbe0c",
        "order": 4,
        "width": 4,
        "height": 1,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "START",
                "value": true,
                "type": "bool"
            },
            {
                "label": "STOP",
                "value": false,
                "type": "bool"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 510,
        "y": 900,
        "wires": [
            [
                "73d7dd197aac9352"
            ]
        ]
    },
    {
        "id": "aeac7511c51d451e",
        "type": "ui_button",
        "z": "d0f9a690e04bf3cd",
        "name": "input_dosing",
        "group": "4368da8fe6ddbe0c",
        "order": 5,
        "width": 1,
        "height": 1,
        "passthru": false,
        "label": "",
        "tooltip": "",
        "color": "white",
        "bgcolor": "{{background}}",
        "className": "",
        "icon": "fa-check",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 1040,
        "y": 900,
        "wires": [
            [
                "a41e37df0a74a3b9",
                "42a8ebb92f2c7159"
            ]
        ]
    },
    {
        "id": "a41e37df0a74a3b9",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "input_dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1250,
        "y": 900,
        "wires": [
            [
                "85aaec73340d36b7"
            ]
        ]
    },
    {
        "id": "e84faf494ba5d4d9",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "readPump.CIM500/ADR_201.ActRemoteAccess",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 295,
        "y": 720,
        "wires": [
            [
                "c3be85b95be91e89"
            ]
        ]
    },
    {
        "id": "fbdf668d81828a94",
        "type": "rbe",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 655,
        "y": 720,
        "wires": [
            [
                "c36f9376d47c9f21"
            ]
        ]
    },
    {
        "id": "e21c0a6cbbde2576",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "readPump.CIM500/ADR_204.Dosing",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 310,
        "y": 930,
        "wires": [
            [
                "53c8ef23430cd71a"
            ]
        ]
    },
    {
        "id": "73d7dd197aac9352",
        "type": "rbe",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 655,
        "y": 900,
        "wires": [
            [
                "e56de83b334c130d"
            ]
        ]
    },
    {
        "id": "5fab407077ae83a8",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "change button black",
        "rules": [
            {
                "t": "set",
                "p": "background",
                "pt": "msg",
                "to": "black",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1025,
        "y": 645,
        "wires": [
            [
                "93cdd11b59f438af"
            ]
        ]
    },
    {
        "id": "9c293200e2d4fb91",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "set enabled state",
        "rules": [
            {
                "t": "set",
                "p": "enabled",
                "pt": "msg",
                "to": "input_remote",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1245,
        "y": 720,
        "wires": [
            [
                "4b9452657fcc1d6a"
            ]
        ]
    },
    {
        "id": "e56de83b334c130d",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "input_dosing",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "background",
                "pt": "msg",
                "to": "rgb(255, 51, 51)",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 815,
        "y": 900,
        "wires": [
            [
                "aeac7511c51d451e"
            ]
        ]
    },
    {
        "id": "42a8ebb92f2c7159",
        "type": "change",
        "z": "d0f9a690e04bf3cd",
        "name": "change button black",
        "rules": [
            {
                "t": "set",
                "p": "background",
                "pt": "msg",
                "to": "black",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1045,
        "y": 825,
        "wires": [
            [
                "aeac7511c51d451e"
            ]
        ]
    },
    {
        "id": "85aaec73340d36b7",
        "type": "debug",
        "z": "d0f9a690e04bf3cd",
        "name": "input_dosing",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1520,
        "y": 900,
        "wires": []
    },
    {
        "id": "4368da8fe6ddbe0c",
        "type": "ui_group",
        "name": "CONTROLPANEL",
        "tab": "4ad3c40739cbf998",
        "order": 2,
        "disp": true,
        "width": 8,
        "collapse": false,
        "className": ""
    },
    {
        "id": "4ad3c40739cbf998",
        "type": "ui_tab",
        "name": "PUMP A",
        "icon": "fa-tasks",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]
1 Like

This is it.

Thank you very much for your patience and your help!

best regards

1 Like

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