Config trigger from dashboard

Hi. Is it possible to enter a numeric value into the trigger from the dashboard for user change values? If yes How?

On dashboard, yes, use ui_numeric
image



Not directly, trigger is a server-side node, not a dashboard node.



I suspect what you want is a dashboard with a numeric input and when the user (changes number value -OR- clicks a button) for that value to be sent in msg.payload to the next node - is that right?

  • Can you clarify exact requirements?
  • What have you tried so far (show us)?

@jenicek welcome to the forum!

You need to explain a bit more. When you say

what node are you talking about? Have you got a small example you can provide showing the issue?

You could use the ui-form and specify a numeric field or the ui-text node and set it to numeric. Here are two examples for you

[{"id":"4b3bee481ddee85d","type":"ui_form","z":"5575de10a54432e0","name":"","label":"","group":"0d0d52388bfa9b29","order":1,"width":0,"height":0,"options":[{"label":"number","value":"numb","type":"number","required":true,"rows":null}],"formValue":{"numb":""},"payload":"","submit":"submit","cancel":"cancel","topic":"topic","topicType":"msg","splitLayout":"","x":460,"y":320,"wires":[["d5a1e4c8ca6ce5d2"]]},{"id":"d5a1e4c8ca6ce5d2","type":"debug","z":"5575de10a54432e0","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":650,"y":320,"wires":[]},{"id":"1dfc9e877d7a5293","type":"ui_text_input","z":"5575de10a54432e0","name":"","label":"","tooltip":"","group":"0d0d52388bfa9b29","order":2,"width":0,"height":0,"passthru":true,"mode":"number","delay":300,"topic":"topic","topicType":"msg","x":460,"y":260,"wires":[["9a7f6a2a0244ce27"]]},{"id":"9a7f6a2a0244ce27","type":"debug","z":"5575de10a54432e0","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":670,"y":260,"wires":[]},{"id":"0d0d52388bfa9b29","type":"ui_group","name":"Default","tab":"ead25aa0bfe0ccf7","order":1,"disp":true,"width":"6","collapse":false},{"id":"ead25aa0bfe0ccf7","type":"ui_tab","name":"Home","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

Yes, that's exactly it. It is a control unit for an automatic solid fuel boiler - control of the application cycle. Change of fuel dosing values, change of emergency values, etc.

[
    {
        "id": "7eb3894d34189c95",
        "type": "tab",
        "label": "Automatika kotle",
        "disabled": false,
        "info": ""
    },
    {
        "id": "4350539b6b93cbd6",
        "type": "rpi-gpio out",
        "z": "7eb3894d34189c95",
        "name": "Relé podavače/Relay Feeder",
        "pin": "8",
        "set": false,
        "level": "1",
        "freq": "",
        "out": "out",
        "x": 1820,
        "y": 100,
        "wires": []
    },
    {
        "id": "b077c631bd89e04e",
        "type": "thermostat",
        "z": "7eb3894d34189c95",
        "name": "Provozní termostat/Operating thermostat",
        "highLimit": "55",
        "lowLimit": "50",
        "x": 300,
        "y": 80,
        "wires": [
            [],
            [
                "ebe0e03ff8858218",
                "e929974c20ac1b78"
            ]
        ]
    },
    {
        "id": "7162467dd417d1af",
        "type": "ds18b20",
        "z": "7eb3894d34189c95",
        "name": "Čidlo teploty kotle/Boiler temperature sensor",
        "sensorid": "28-0517c3e331ff",
        "timer": "0.05",
        "x": 190,
        "y": 640,
        "wires": [
            [
                "b077c631bd89e04e",
                "a302bf45a6e5141b"
            ]
        ]
    },
    {
        "id": "df5eb5ef00b8a9b4",
        "type": "InvertUltimate",
        "z": "7eb3894d34189c95",
        "name": "Změna kontaktu pro relé",
        "x": 1550,
        "y": 100,
        "wires": [
            [
                "4350539b6b93cbd6"
            ]
        ]
    },
    {
        "id": "a60573858b081aa7",
        "type": "inject",
        "z": "7eb3894d34189c95",
        "name": "",
        "props": [
            {
                "p": "payload",
                "v": "stop",
                "vt": "str"
            },
            {
                "p": "topic",
                "v": "",
                "vt": "string"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "stop",
        "payloadType": "str",
        "x": 590,
        "y": 400,
        "wires": [
            [
                "521283247438de7a"
            ]
        ]
    },
    {
        "id": "35d9917e01e38f2b",
        "type": "trigger",
        "z": "7eb3894d34189c95",
        "name": "Doba prodlevy/Break",
        "op1": "true",
        "op2": "0",
        "op1type": "bool",
        "op2type": "str",
        "duration": "-10",
        "extend": false,
        "overrideDelay": false,
        "units": "s",
        "reset": "stop",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 1020,
        "y": 100,
        "wires": [
            [
                "916d3525dda0c034"
            ]
        ]
    },
    {
        "id": "916d3525dda0c034",
        "type": "trigger",
        "z": "7eb3894d34189c95",
        "name": "Doba podávání paliva/Dosage",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "2",
        "extend": false,
        "overrideDelay": false,
        "units": "s",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 1270,
        "y": 100,
        "wires": [
            [
                "df5eb5ef00b8a9b4"
            ]
        ]
    },
    {
        "id": "521283247438de7a",
        "type": "ui_button",
        "z": "7eb3894d34189c95",
        "name": "",
        "group": "974654fbb326da37",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "label": "Vypni automatiku natápění/Turn of the heating",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "icon": "",
        "payload": "stop",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 880,
        "y": 400,
        "wires": [
            [
                "35d9917e01e38f2b",
                "fb38939d80faf48e"
            ]
        ]
    },
    {
        "id": "e929974c20ac1b78",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "true",
                "fromt": "bool",
                "to": "start",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "false",
                "fromt": "bool",
                "to": "stop",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 740,
        "y": 100,
        "wires": [
            [
                "35d9917e01e38f2b",
                "fb38939d80faf48e"
            ]
        ]
    },
    {
        "id": "290b4f4d67ae2e65",
        "type": "InvertUltimate",
        "z": "7eb3894d34189c95",
        "name": "Změna kontaktu pro relé",
        "x": 1550,
        "y": 160,
        "wires": [
            [
                "333641bba4bebedc"
            ]
        ]
    },
    {
        "id": "333641bba4bebedc",
        "type": "rpi-gpio out",
        "z": "7eb3894d34189c95",
        "name": "Relé ventilátoru/Relay Ventilator",
        "pin": "10",
        "set": false,
        "level": "1",
        "freq": "",
        "out": "out",
        "x": 1830,
        "y": 160,
        "wires": []
    },
    {
        "id": "fb38939d80faf48e",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "start",
                "fromt": "str",
                "to": "true",
                "tot": "bool"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "stop",
                "fromt": "str",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 740,
        "y": 160,
        "wires": [
            [
                "290b4f4d67ae2e65"
            ]
        ]
    },
    {
        "id": "0047be7bbce7eaff",
        "type": "stoptimer",
        "z": "7eb3894d34189c95",
        "duration": "90",
        "units": "Minute",
        "payloadtype": "bool",
        "payloadval": "false",
        "name": "",
        "x": 520,
        "y": 260,
        "wires": [
            [
                "e929974c20ac1b78"
            ],
            []
        ]
    },
    {
        "id": "ebe0e03ff8858218",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "true",
                "fromt": "bool",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 460,
        "y": 180,
        "wires": [
            [
                "0047be7bbce7eaff"
            ]
        ]
    },
    {
        "id": "0516901398016f3e",
        "type": "ui_switch",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "Podavač/Feeder",
        "tooltip": "",
        "group": "974654fbb326da37",
        "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,
        "x": 1100,
        "y": 220,
        "wires": [
            [
                "2d8e72e9d380f4f0",
                "df5eb5ef00b8a9b4"
            ]
        ]
    },
    {
        "id": "196e3fa9b26aac46",
        "type": "stoptimer",
        "z": "7eb3894d34189c95",
        "duration": "10",
        "units": "Minute",
        "payloadtype": "bool",
        "payloadval": "false",
        "name": "",
        "x": 1580,
        "y": 300,
        "wires": [
            [
                "df5eb5ef00b8a9b4"
            ],
            []
        ]
    },
    {
        "id": "2d8e72e9d380f4f0",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "true",
                "fromt": "bool",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1340,
        "y": 220,
        "wires": [
            [
                "196e3fa9b26aac46"
            ]
        ]
    },
    {
        "id": "4e852872cdebdb82",
        "type": "ui_switch",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "Ventilátor",
        "tooltip": "",
        "group": "974654fbb326da37",
        "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,
        "x": 1100,
        "y": 480,
        "wires": [
            [
                "6211f3087a9c28e0",
                "290b4f4d67ae2e65"
            ]
        ]
    },
    {
        "id": "6211f3087a9c28e0",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "true",
                "fromt": "bool",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1360,
        "y": 480,
        "wires": [
            [
                "7a0f60b0bf8bba8f"
            ]
        ]
    },
    {
        "id": "7a0f60b0bf8bba8f",
        "type": "stoptimer",
        "z": "7eb3894d34189c95",
        "duration": "60",
        "units": "Minute",
        "payloadtype": "bool",
        "payloadval": "false",
        "name": "",
        "x": 1600,
        "y": 560,
        "wires": [
            [
                "290b4f4d67ae2e65"
            ],
            []
        ]
    },
    {
        "id": "c536feb68dba4061",
        "type": "rpi-gpio out",
        "z": "7eb3894d34189c95",
        "name": "Napájení relé - havarijní kontakt/Emergency contact",
        "pin": "12",
        "set": false,
        "level": "0",
        "freq": "",
        "out": "out",
        "x": 1650,
        "y": 640,
        "wires": []
    },
    {
        "id": "14654768d599b3b3",
        "type": "inject",
        "z": "7eb3894d34189c95",
        "name": "start",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "false",
        "payloadType": "bool",
        "x": 1310,
        "y": 700,
        "wires": [
            [
                "c536feb68dba4061"
            ]
        ]
    },
    {
        "id": "af0c72dffdf6412a",
        "type": "inject",
        "z": "7eb3894d34189c95",
        "name": "stop",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 1310,
        "y": 760,
        "wires": [
            [
                "c536feb68dba4061"
            ]
        ]
    },
    {
        "id": "044f23eac72d018c",
        "type": "trigger",
        "z": "7eb3894d34189c95",
        "name": "",
        "op1": "true",
        "op2": "0",
        "op1type": "bool",
        "op2type": "str",
        "duration": "0",
        "extend": false,
        "overrideDelay": false,
        "units": "ms",
        "reset": "reset",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 880,
        "y": 560,
        "wires": [
            [
                "c536feb68dba4061"
            ]
        ]
    },
    {
        "id": "a302bf45a6e5141b",
        "type": "switch",
        "z": "7eb3894d34189c95",
        "name": "Přehřátí kotle/Overheating",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "gt",
                "v": "85",
                "vt": "num"
            },
            {
                "t": "lt",
                "v": "85",
                "vt": "num"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 530,
        "y": 640,
        "wires": [
            [
                "044f23eac72d018c"
            ],
            [
                "03827abe1b60b473"
            ]
        ]
    },
    {
        "id": "e4df933c04f427cb",
        "type": "inject",
        "z": "7eb3894d34189c95",
        "name": "Kvitace poruchy/Fault unblocking",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "reset",
        "payloadType": "str",
        "x": 730,
        "y": 800,
        "wires": [
            [
                "7d788da5efb5e944"
            ]
        ]
    },
    {
        "id": "03827abe1b60b473",
        "type": "trigger",
        "z": "7eb3894d34189c95",
        "name": "",
        "op1": "false",
        "op2": "0",
        "op1type": "bool",
        "op2type": "str",
        "duration": "0",
        "extend": false,
        "overrideDelay": false,
        "units": "ms",
        "reset": "reset",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 880,
        "y": 600,
        "wires": [
            [
                "c536feb68dba4061"
            ]
        ]
    },
    {
        "id": "7d788da5efb5e944",
        "type": "ui_button",
        "z": "7eb3894d34189c95",
        "name": "",
        "group": "974654fbb326da37",
        "order": 4,
        "width": 0,
        "height": 0,
        "passthru": true,
        "label": "Kvitace poruchy/Fault unblocking",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "icon": "",
        "payload": "reset",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 750,
        "y": 740,
        "wires": [
            [
                "044f23eac72d018c",
                "03827abe1b60b473",
                "cb0f5815f2c64219",
                "88844cb6c9b51655"
            ]
        ]
    },
    {
        "id": "514fc7546c998d8b",
        "type": "ui_button",
        "z": "7eb3894d34189c95",
        "name": "",
        "group": "974654fbb326da37",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "label": "Zapni automatiku natápění/Turn on the heating",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "icon": "",
        "payload": "80",
        "payloadType": "num",
        "topic": "topic",
        "topicType": "msg",
        "x": 880,
        "y": 340,
        "wires": [
            [
                "b077c631bd89e04e"
            ]
        ]
    },
    {
        "id": "824284c5b3dab0f9",
        "type": "inject",
        "z": "7eb3894d34189c95",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "start",
        "payloadType": "str",
        "x": 590,
        "y": 340,
        "wires": [
            [
                "514fc7546c998d8b"
            ]
        ]
    },
    {
        "id": "cb0f5815f2c64219",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "reset",
                "fromt": "str",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 320,
        "y": 320,
        "wires": [
            [
                "0047be7bbce7eaff"
            ]
        ]
    },
    {
        "id": "88844cb6c9b51655",
        "type": "change",
        "z": "7eb3894d34189c95",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "reset",
                "fromt": "str",
                "to": "60",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 260,
        "y": 240,
        "wires": [
            [
                "b077c631bd89e04e"
            ]
        ]
    },
    {
        "id": "a84115951bcdb11a",
        "type": "ui_numeric",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "I want to enter hop values",
        "tooltip": "",
        "group": "974654fbb326da37",
        "order": 14,
        "width": 0,
        "height": 0,
        "wrap": false,
        "passthru": true,
        "topic": "topic",
        "topicType": "msg",
        "format": "{{value}}",
        "min": 0,
        "max": 10,
        "step": 1,
        "x": 170,
        "y": 820,
        "wires": [
            [
                "0047be7bbce7eaff"
            ]
        ]
    },
    {
        "id": "78e4ce139b16548c",
        "type": "ui_numeric",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "I want to enter hop values",
        "tooltip": "",
        "group": "974654fbb326da37",
        "order": 14,
        "width": 0,
        "height": 0,
        "wrap": false,
        "passthru": true,
        "topic": "topic",
        "topicType": "msg",
        "format": "{{value}}",
        "min": 0,
        "max": 10,
        "step": 1,
        "x": 170,
        "y": 860,
        "wires": [
            [
                "35d9917e01e38f2b"
            ]
        ]
    },
    {
        "id": "5704c74bbe2a5b2e",
        "type": "ui_numeric",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "I want to enter hop values",
        "tooltip": "",
        "group": "974654fbb326da37",
        "order": 14,
        "width": 0,
        "height": 0,
        "wrap": false,
        "passthru": true,
        "topic": "topic",
        "topicType": "msg",
        "format": "{{value}}",
        "min": 0,
        "max": 10,
        "step": 1,
        "x": 170,
        "y": 900,
        "wires": [
            [
                "916d3525dda0c034"
            ]
        ]
    },
    {
        "id": "b8634c4186422cd0",
        "type": "ui_numeric",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "I want to enter hop values",
        "tooltip": "",
        "group": "974654fbb326da37",
        "order": 14,
        "width": 0,
        "height": 0,
        "wrap": false,
        "passthru": true,
        "topic": "topic",
        "topicType": "msg",
        "format": "{{value}}",
        "min": 0,
        "max": 10,
        "step": 1,
        "x": 170,
        "y": 940,
        "wires": [
            [
                "196e3fa9b26aac46"
            ]
        ]
    },
    {
        "id": "7314c6f59df1fcaa",
        "type": "ui_numeric",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "I want to enter hop values",
        "tooltip": "",
        "group": "974654fbb326da37",
        "order": 14,
        "width": 0,
        "height": 0,
        "wrap": false,
        "passthru": true,
        "topic": "topic",
        "topicType": "msg",
        "format": "{{value}}",
        "min": 0,
        "max": 10,
        "step": 1,
        "x": 170,
        "y": 980,
        "wires": [
            [
                "7a0f60b0bf8bba8f"
            ]
        ]
    },
    {
        "id": "d36edbf595a507d4",
        "type": "ui_numeric",
        "z": "7eb3894d34189c95",
        "name": "",
        "label": "I want to enter hop values",
        "tooltip": "",
        "group": "974654fbb326da37",
        "order": 14,
        "width": 0,
        "height": 0,
        "wrap": false,
        "passthru": true,
        "topic": "topic",
        "topicType": "msg",
        "format": "{{value}}",
        "min": 0,
        "max": 10,
        "step": 1,
        "x": 170,
        "y": 780,
        "wires": [
            [
                "b077c631bd89e04e"
            ]
        ]
    },
    {
        "id": "974654fbb326da37",
        "type": "ui_group",
        "name": "Automatika kotle",
        "tab": "069938bb8842257a",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "069938bb8842257a",
        "type": "ui_tab",
        "name": "Automatika kotle",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]

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