# MQTT, messages from offline devices

**URL:** <https://discourse.nodered.org/t/mqtt-messages-from-offline-devices/59036>\
**Category:** General\
**Created:** [26 February 2022 20:29 UTC](https://discourse.nodered.org/t/mqtt-messages-from-offline-devices/59036 "2022-02-26T20:29:46Z")\
**Posts on this page:** 1\
**Showing post:** 52

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [4 March 2022 00:42 UTC](https://discourse.nodered.org/t/mqtt-messages-from-offline-devices/59036/52 "2022-03-04T00:42:35Z")

</div>

I really hope not.

But in the mean time I was populating the flow with `debug` nodes.

This is not looking good.  
Order of the `debug` nodes:  
RAW IFF  
After JSON  
Reformatted1  
Reformatted2

```auto
RAW IFF 11:22:49 TimePi
RAW IFF 11:22:49 BedPi

After JSON 11:22:50 TimePi
After JSON 11:11:50 BedPi

RAW IFF 11:22:50 TelePi

After JSON 11:22:50 TelePi sent 11:22:49

```

To here it looks good.  
3 devices sent their replies. All different messages out of the `JSON` node.

```auto
Reformatted1 11:22:50 TelePi sent 11:22:49
Reformatted1 11:22:50 TelePi sent 11:22:49

Reformatted2 11:22:50 TelePi sent 11:22:49
Reformatted2 11:22:50 TelePi sent 11:22:49

```

This is a worry. Suddenly I have TWO `TelePi` messages of which one didn't exist a second ago.

```auto
Reformatted1 11:22:50 TelePi sent 11:22:49

Reformatted2 11:22:50 TelePi sent 11:22:49

RAW IFF 11:22:53 GPS

After JSON 11:22:53 GPS

Reformatted1 11:22:53 GPS

Reformatted2 11:22:53 GPS

```

On the GUI side of things I have/see this:

![Screenshot from 2022-03-04 11-39-50](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/7/c7d722d2c5b08241bee8cd2ea9f2e564402e707d.png)

This is the actual flow.  
So there isn't really anywhere the messages can be _corrupted_.

 ![Screenshot from 2022-03-04 11-40-54](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/0/40333b250a5243c3384aadd9dd7cb1257f99e938.png)

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-messages-from-offline-devices/59036)._
