# Time frame based report-by-exception (RBE)?

**URL:** <https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718>\
**Category:** General\
**Created:** [29 June 2019 09:03 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718 "2019-06-29T09:03:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nodecentral](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodecentral/32/10432_2.png) [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Post date:** [29 June 2019 09:03 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/1 "2019-06-29T09:03:50Z")

</div>

Hi

I’m using RBE with my Harmony Remote (HWS Observe) node as multiples of the same command are captured when an Activity is kicked off on the remote.

As that repeating payload only lasts for a short period, e.g 2 seconds - I only want the RBE to work for a specific time frame/duration, so if the command is sent again e.g 10 seconds later it will get through ?

Does anyone know of a node that does that ?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [29 June 2019 09:20 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/2 "2019-06-29T09:20:50Z")

</div>

Have you tried sending a `msg.reset` message through?

Split flow before the RBE node, send one through a delay node set to your 2ish seconds, change message payload to null and set `msg.reset`, and then feed into RBE node. Send teh other direct to your RBE node

---

<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:** [29 June 2019 09:30 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/3 "2019-06-29T09:30:40Z")

</div>

Would that be better with a Trigger node rather than Delay, set to send nothing then send the reset after 5 seconds and set to extend delay if new messages arrive?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [29 June 2019 09:37 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/4 "2019-06-29T09:37:00Z")

</div>

if a trigger node was used instead, set to send original msg object - wait for 2.5 secs - and extend - then send nothing, there may be no need for the rbe at all as the original message will only go once per time period.

---

<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:** [29 June 2019 09:38 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/5 "2019-06-29T09:38:28Z")

</div>

@dceejay trumps us all yet again with the cleanest solution.

---

<div class="post-metadata">

**Author:** ![nodecentral](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodecentral/32/10432_2.png) [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Post date:** [29 June 2019 09:48 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/6 "2019-06-29T09:48:35Z")

</div>

😂 thanks all - some good healthy competition I see !

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [29 June 2019 11:01 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/7 "2019-06-29T11:01:24Z")

</div>

> [@Colin](#):
>
> @dceejay trumps us all yet again with the cleanest solution.

He's got insider information! 🙂

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [29 June 2019 15:48 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/8 "2019-06-29T15:48:59Z")

</div>

I've been at this game a while now...

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [29 June 2019 19:52 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/9 "2019-06-29T19:52:37Z")

</div>

Must be like riding a bike… 🙃

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [29 June 2019 20:09 UTC](https://discourse.nodered.org/t/time-frame-based-report-by-exception-rbe/12718/10 "2019-06-29T20:09:08Z")

</div>

Ha Ha. (For those that don’t know- I came off my bike 8 wks ago and snapped the end of my collar bone).
