# Get notified when I don t receive mqtt messages anymore

**URL:** <https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165>\
**Category:** General\
**Created:** [27 December 2018 15:03 UTC](https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165 "2018-12-27T15:03:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucianv](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Post date:** [27 December 2018 15:03 UTC](https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165/1 "2018-12-27T15:03:37Z")

</div>

Hi,  
I am working on a flow where I am connected to a mqtt topic and receive values of a sensor. Everything works fine but if sensor stop sending new values, then nodered display last value received forever. I want to do some kind of alarm like if since last message there is more than 1 minute pop up a message or something.  
Any clue how can I achieve this?  
Thanks in advance

---

<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:** [27 December 2018 15:07 UTC](https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165/2 "2018-12-27T15:07:32Z")

</div>

The topmost thread when you posted this asks the same question and contains all the answers...

> [@How can I get feedback from MQTT](https://discourse.nodered.org/t/how-can-i-get-feedback-from-mqtt/6130):
>
> Hi, I'm creating my first project. I want to control the start of my boiler. The system is very simple, an ESP32 reads the temperature and sends it once a minute to mosquito on a raspberry, node-red reads the temperature and commands the boiler. I realized that there might be a problem. If the boiler is on and the ESP32 board no longer sends the temperature, the boiler will never turn off. How can I tell with node-red if the sensor is still working? Thank you

---

<div class="post-metadata">

**Author:** ![lucianv](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Post date:** [27 December 2018 22:48 UTC](https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165/3 "2018-12-27T22:48:19Z")

</div>

Thanks a lot. Means my way of searching this was pretty poor since I couldn t find that topic. I will read it.  
Thanks again
