# Stop message payload from repeatedly sending

**URL:** <https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [19 February 2022 19:16 UTC](https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660 "2022-02-19T19:16:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luminary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/luminary/32/56950_2.png) [@Luminary](https://discourse.nodered.org/u/Luminary)\
**Post date:** [19 February 2022 19:16 UTC](https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660/1 "2022-02-19T19:16:57Z")

</div>

Hello all, I'm new to node red (and code in general), and I could use some tips on this one. We have a sauna with a temperature sensor inside that's hooked up to our Home Assistant. I have an events state node set up to monitor the temperature and sends us a notification once it's reached a certain temp, but my problem is that it keeps sending that message every couple minutes after the temperature has been reached. How can I make it only send one message? My husband mentioned something about using a boolean logic gate, but I don't even know where to begin with that, and it seems like it might be... overkill?  
TIA for advice!

 ![node red](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/f/4f6050d6cd7e5d3d73c9f224142b3d1414925181.png)

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [19 February 2022 20:00 UTC](https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660/2 "2022-02-19T20:00:31Z")

</div>

The filter node (core node-red node) has modes to only send values that have changed since the last one, so if the node is sending the same value over and over again, the filter node will ensure it is only sent once

---

<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:** [6 March 2022 07:09 UTC](https://discourse.nodered.org/t/stop-message-payload-from-repeatedly-sending/58660/3 "2022-03-06T07:09:51Z")

</div>

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