### Current Behavior the RBE node in default configuration is blocking a payload of {} even if it is the first or a changed message. ### Expected Behavior not to block {} totally ### Steps To Reproduce import the demo flow and press: 1. {} 2. 1 3. {} 4. 1 You see that the {} is blocked, but the 1 is sent out both times. ### Example flow ``` [{"id":"9a81ee9df82e6420","type":"rbe","z":"dc41ce16b6e86328","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":490,"y":500,"wires":[["4a5693f710fd810e"]]},{"id":"4a5693f710fd810e","type":"debug","z":"dc41ce16b6e86328","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":640,"y":500,"wires":[]},{"id":"fcc75f6002c4f11c","type":"inject","z":"dc41ce16b6e86328","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"test","payload":"{}","payloadType":"json","x":330,"y":500,"wires":[["9a81ee9df82e6420"]]},{"id":"138ef847cc763562","type":"inject","z":"dc41ce16b6e86328","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"test","payload":"1","payloadType":"json","x":330,"y":540,"wires":[["9a81ee9df82e6420"]]}] ``` ### Environment - Node-RED version: 5.0.8 - Node.js version: 26.11.1 - npm version: - Platform/OS: Raspberry Pi 5 - Browser:
Activity
hardillb commentedon Oct 12, 2026
Hmm, the current code uses an empty object as it's place holder value.
Will need to investigate if that can be changed to something safely like
undefinedornull(null is probably safest)hardillb commentedon Oct 12, 2026
ahh, no
On closer inspection, the
node.previousis a map, which is keyed by themsg.topicvalue to store multiple previous values.hardillb commentedon Oct 12, 2026
I have a potential fix, will need to make sure it doesn't break anything
Allow empty object first for RBE
m-schaeffler commentedon Oct 15, 2026
tested it with a patched rbe.js as ok