I would expect 80 to pass then 89 to pass but then 80 should fail. So only keeping the highest value until it's reset.
[
{
"id": "781440cf8f7577ec",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "8aebf30f.53c138",
"type": "inject",
"z": "781440cf8f7577ec",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "r",
"payload": "80",
"payloadType": "str",
"x": 370,
"y": 260,
"wires": [
[
"26b409ab.f80dae"
]
]
},
{
"id": "4ff87952.259528",
"type": "inject",
"z": "781440cf8f7577ec",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "r",
"payload": "89",
"payloadType": "str",
"x": 370,
"y": 320,
"wires": [
[
"26b409ab.f80dae"
]
]
},
{
"id": "40a1a7dc.1e3318",
"type": "debug",
"z": "781440cf8f7577ec",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 790,
"y": 280,
"wires": []
},
{
"id": "26b409ab.f80dae",
"type": "rbe",
"z": "781440cf8f7577ec",
"name": "",
"func": "deadband",
"gap": "1",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 580,
"y": 280,
"wires": [
[
"40a1a7dc.1e3318"
]
]
}
]