# How to use rbe-node with multiple sensors

**URL:** <https://discourse.nodered.org/t/how-to-use-rbe-node-with-multiple-sensors/28546>\
**Category:** General\
**Created:** [18 June 2020 10:54 UTC](https://discourse.nodered.org/t/how-to-use-rbe-node-with-multiple-sensors/28546 "2020-06-18T10:54:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mortentj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mortentj/32/51173_2.png) [@mortentj](https://discourse.nodered.org/u/mortentj)\
**Post date:** [18 June 2020 10:54 UTC](https://discourse.nodered.org/t/how-to-use-rbe-node-with-multiple-sensors/28546/1 "2020-06-18T10:54:18Z")

</div>

Hi Node-RED experts

I'm using Node-RED to develop a flow for sending alarms (SMS), when values exceed a certain threshold. In the flow I'm using the rbe-node to prevent alarms being send every time payload arrives. It works fine with one sensor, but not with multiple sensors! Any idea how to solve this - so the rbe-node kan dinstinguish between values (e.g. temperature) from different sensors?

Thanks in advance!

Regards,  
Morten (a Node-RED newbie)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 June 2020 11:13 UTC](https://discourse.nodered.org/t/how-to-use-rbe-node-with-multiple-sensors/28546/2 "2020-06-18T11:13:05Z")

</div>

If you make sure the message from each sensor has a unique topic (so topics are "sensor1", "sensor2" or other unique strings) then the RBE node will work separately for each topic.

---

<div class="post-metadata">

**Author:** ![mortentj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mortentj/32/51173_2.png) [@mortentj](https://discourse.nodered.org/u/mortentj)\
**Post date:** [18 June 2020 12:45 UTC](https://discourse.nodered.org/t/how-to-use-rbe-node-with-multiple-sensors/28546/3 "2020-06-18T12:45:45Z")

</div>

Thanks a lot, Colin 👍 I'll try that!

/Morten

---

<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:** [2 July 2020 12:45 UTC](https://discourse.nodered.org/t/how-to-use-rbe-node-with-multiple-sensors/28546/4 "2020-07-02T12:45:57Z")

</div>

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