In my three installations of Node-RED the rbe node behaves differently. These are v4.1.11, v.4.2 and v5.0.0.
On deploy the previous value is stored - or not. Initially I expected that the node does not bother about being deployed and storing the previous value somewhere, but this is not the case - in general.
What confuses me is that on one of my three installations (v4.2) the value is stored and the node does what I assumed to be "normal".
Is there any hidden setting which may cause this varying behaviour?
Here's my test flow:
[
{
"id": "475a5d2e0711a454",
"type": "inject",
"z": "9287d1f74e2d9a4c",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 250,
"y": 540,
"wires": [
[
"655a73953d40cc97"
]
]
},
{
"id": "d0c7a564ee0ee82d",
"type": "inject",
"z": "9287d1f74e2d9a4c",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "false",
"payloadType": "bool",
"x": 240,
"y": 580,
"wires": [
[
"655a73953d40cc97"
]
]
},
{
"id": "655a73953d40cc97",
"type": "rbe",
"z": "9287d1f74e2d9a4c",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": true,
"property": "payload",
"topi": "topic",
"x": 440,
"y": 540,
"wires": [
[
"1b20c25a1df60bd2"
]
]
},
{
"id": "1b20c25a1df60bd2",
"type": "debug",
"z": "9287d1f74e2d9a4c",
"name": "debug 9",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 640,
"y": 540,
"wires": []
}
]