# Rbe is not working as espected

**URL:** <https://discourse.nodered.org/t/rbe-is-not-working-as-espected/85376>\
**Category:** General\
**Created:** [9 February 2024 16:02 UTC](https://discourse.nodered.org/t/rbe-is-not-working-as-espected/85376 "2024-02-09T16:02:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikarisan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ikarisan/32/86698_2.png) [@ikarisan](https://discourse.nodered.org/u/ikarisan)\
**Post date:** [9 February 2024 16:02 UTC](https://discourse.nodered.org/t/rbe-is-not-working-as-espected/85376/1 "2024-02-09T16:02:09Z")

</div>

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:

```auto
{"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"}

```

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [9 February 2024 16:06 UTC](https://discourse.nodered.org/t/rbe-is-not-working-as-espected/85376/2 "2024-02-09T16:06:37Z")

</div>

show us what you have set for property and topic  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/3/037c550a87ef2bf714e38d71adc924e16a0390f9.png)

> [@ikarisan](#):
>
> "msg.payload.state" ON or OFF

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](https://nodered.org/docs/user-guide/messages)) 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](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 May 2024 16:06 UTC](https://discourse.nodered.org/t/rbe-is-not-working-as-espected/85376/3 "2024-05-09T16:06:57Z")

</div>

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