# Easy flow but difficult for me

**URL:** <https://discourse.nodered.org/t/easy-flow-but-difficult-for-me/21796>\
**Category:** General\
**Created:** [16 February 2020 14:17 UTC](https://discourse.nodered.org/t/easy-flow-but-difficult-for-me/21796 "2020-02-16T14:17:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [16 February 2020 14:54 UTC](https://discourse.nodered.org/t/easy-flow-but-difficult-for-me/21796/2 "2020-02-16T14:54:07Z")

</div>

There are boolean nodes (search the node red flows site) but if the values are coming in on different paths then you may need to use a Join node to get them into one message. See [this post](https://cookbook.nodered.org/basic/join-streams) in the cookbooks. Also worth looking through the cookbook to see what is there. Also all the node red docs of course. You can use a Trigger node with a bit of extra logic to do the 15 min bit, have a look at this post earlier today for how to do it for a slightly simpler case. See what you can get going and then come back if still stuck.

> [@Queue or gate or function](https://discourse.nodered.org/t/queue-or-gate-or-function/21774):
>
> Need some advice on the direction that I need to search for. I have a MQTT node with msg.payload ON that stays ON for 3 sec and then goes OFF until MQTT sends out a new message. (Motion sensor) Sometimes when the sun is shining harder the motion sensor is triggered and I get false messages. So I would like to delay or trigger or gate or Queue. I don't know. So only when MQTT sends longer than 5 seconds there has to be an output otherwise the message needs to be skipped. Delay works but does…

---

_[View the full topic](https://discourse.nodered.org/t/easy-flow-but-difficult-for-me/21796)._
