If 10mp does not arrive payload

Hello! I would like to test a feature that if no payload is received for 10 seconds, then .... code
(so if nothing comes from the mqtt in flow)
How to do this? (sorry, I still don't speak English)

Use a trigger node. The node has to be triggered once and you can specify that no message is sent at start. Then specify that a message is sent after 10 seconds. Switch on the option that the time is prolonged with each new message. Specify a message you want to send after the 10s. The result is that the message is sent when no message arrives within 10s.

I am a very beginner, could you give an example of a flow?

[
    {
        "id": "cabdb88e34d8c7a6",
        "type": "mqtt in",
        "z": "4735369af5996aeb",
        "name": "",
        "topic": "",
        "qos": "2",
        "datatype": "auto",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 370,
        "y": 1300,
        "wires": [
            [
                "29f08731b067e931"
            ]
        ]
    },
    {
        "id": "29f08731b067e931",
        "type": "trigger",
        "z": "4735369af5996aeb",
        "name": "",
        "op1": "",
        "op2": "true",
        "op1type": "nul",
        "op2type": "bool",
        "duration": "10",
        "extend": true,
        "overrideDelay": false,
        "units": "s",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 530,
        "y": 1300,
        "wires": [
            []
        ]
    }
]

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