Rbe is not working as espected

Hi!

I am struggeling with the rbe node. A ZigBee device is sending periodical status messages with "msg.payload.state" ON or OFF. Sometimes it sends >5 mesages at once. So I tried to use a rbe to suppress all of these redundant mesages ("block unless values changes"). But it is not working. Every message passes through the RBE node, even though nothing has changed in the payload.

These four messages are all let through:

{"device":"Girier_1","payload":{"device":{"applicationVersion":67,"dateCode":"","friendlyName":"Girier_1","hardwareVersion":1,"ieeeAddr":"0xa4c1386b3db8e04b","manufacturerID":4417,"manufacturerName":"_TZ3000_6axxqqi2","model":"JR-ZDS01","networkAddress":22928,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"last_seen":"2024-02-09T16:41:46+01:00","linkquality":131,"power_on_behavior":"off","state":"OFF","switch_type":"toggle"},"_msgid":"7999b655a8b573c0"}

{"device":"Girier_1","payload":{"device":{"applicationVersion":67,"dateCode":"","friendlyName":"Girier_1","hardwareVersion":1,"ieeeAddr":"0xa4c1386b3db8e04b","manufacturerID":4417,"manufacturerName":"_TZ3000_6axxqqi2","model":"JR-ZDS01","networkAddress":22928,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"last_seen":"2024-02-09T16:41:46+01:00","linkquality":131,"power_on_behavior":"off","state":"OFF","switch_type":"toggle"},"_msgid":"3b47012b92abc295"}

{"device":"Girier_1","payload":{"device":{"applicationVersion":67,"dateCode":"","friendlyName":"Girier_1","hardwareVersion":1,"ieeeAddr":"0xa4c1386b3db8e04b","manufacturerID":4417,"manufacturerName":"_TZ3000_6axxqqi2","model":"JR-ZDS01","networkAddress":22928,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"last_seen":"2024-02-09T16:41:46+01:00","linkquality":131,"power_on_behavior":"off","state":"OFF","switch_type":"toggle"},"_msgid":"504915da83224636"}

{"device":"Girier_1","payload":{"device":{"applicationVersion":67,"dateCode":"","friendlyName":"Girier_1","hardwareVersion":1,"ieeeAddr":"0xa4c1386b3db8e04b","manufacturerID":4417,"manufacturerName":"_TZ3000_6axxqqi2","model":"JR-ZDS01","networkAddress":22928,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"last_seen":"2024-02-09T16:41:46+01:00","linkquality":131,"power_on_behavior":"off","state":"OFF","switch_type":"toggle"},"_msgid":"444a735744519207"}

show us what you have set for property and topic
image

Are you SURE it is msg.payload.state? It is a little hard to read in compact format.

Use the debug tools to be 100% certain:

There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

BX00Cy7yHi

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