# MQTT keeps stopping or not recieving messages

**URL:** https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030
**Category:** Questions & Help
**Tags:** app, mqtt
**Created:** [July 17, 2024, 12:49pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030 "2024-07-17T12:49:05Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)
#### Post date: [July 17, 2024, 12:49pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/1 "2024-07-17T12:49:05Z")

</div>

Hi All,

I have Homey Pro 2023 running with some flows that use MQTT client to listen for messages on topics. it only seems to work when the MQTT app restarts and then it stops working after a short while, i have MQTT explorer running so i can see messages on topic being sent.

It is also possible that it might be working but receives the messages much much later like over an hour or more, yet my MQTT server receives them instantly.

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [July 17, 2024, 1:03pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/2 "2024-07-17T13:03:15Z")

</div>

What’s the system load? Look [here](https://tools.developer.homey.app/tools/system) for `loadavg`.

The MQTT client app stopping working sounds like a network issue, but if it takes more than an hour to pass a received message to the flow system it might be indicative of a seriously overloaded Homey (since MQTT typically doesn’t store any data, the MQTT client app apparently _is_ receiving the messages).

---

<div class="post-metadata">

### Author: ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)
#### Post date: [July 17, 2024, 1:55pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/3 "2024-07-17T13:55:35Z")

</div>

Thank you for quick response.

loadavg [0.82,0.31,0.25]

Regards  
Adrian

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [July 17, 2024, 1:57pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/4 "2024-07-17T13:57:19Z")

</div>

Those values are fine, so overload doesn’t seem to be the reason. Do you have other random issues with Homey? Like other apps that don’t work properly, Homey regularly being marked as offline, errors, etc?

---

<div class="post-metadata">

### Author: ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)
#### Post date: [July 17, 2024, 2:14pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/5 "2024-07-17T14:14:17Z")

</div>

No not at all, if i reset then it works for a little while the stops, all other apps work ok just MQTT receive on topic, MQTT explorer is instant. Just for better information, I have a Nodered instance running, and based on certain conditions sends out a message on a MQTT topic, the MQTT explorer receives it in real time yet Homey will only receive if i restart MQTT Client app. the only weird data i have is also from a received message on MQTT through Home Assistant which again updates real time on MQTT exploer but Homey triggers hours later.

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [July 17, 2024, 2:20pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/6 "2024-07-17T14:20:49Z")

</div>

How often are messages being published? The MQTT client app has a [trigger queue](https://github.com/scanno/nl.scanno.mqtt/blob/beta/TriggerQueue.js) to work around rate limits imposed by the flow system, perhaps the delay is caused by either an incorrect implementation of that queue, or just a lot of messages that get queued.

---

<div class="post-metadata">

### Author: ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)
#### Post date: [July 17, 2024, 2:35pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/7 "2024-07-17T14:35:10Z")

</div>

Now that would make sense.

I will look into that as I do have some triggers that update per second.

Thank you for your assistance.

---

<div class="post-metadata">

### Author: ![shweta\_Shweta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shweta_shweta/32/120883_2.png) [@shweta\_Shweta](https://community.homey.app/u/shweta_Shweta)
#### Post date: [February 19, 2025, 4:50am UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/8 "2025-02-19T04:50:26Z")

</div>

Hi, did you find the solution what was happening exactly?

---

<div class="post-metadata">

### Author: ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)
#### Post date: [February 19, 2025, 5:47pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/9 "2025-02-19T17:47:52Z")

</div>

No I gave up in the end and have not been back to it, no reasons for it to stop working as far as I can see. Even reduced things down so only a couple of messages send. Often have to restart the plugin and other times did not send or receive.

---

<div class="post-metadata">

### Author: ![Michael\_Fritzsche](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_fritzsche/32/96689_2.png) [@Michael\_Fritzsche](https://community.homey.app/u/Michael_Fritzsche)
#### Post date: [March 25, 2026, 10:31pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/10 "2026-03-25T22:31:56Z")

</div>

I have currently the same issue.. .my MQTT server is stuck on stopping … if there would be a way to force stop..

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/4/b4061d086f7e4c856ce6f19e174ec575b9f64d6a.png)

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [March 25, 2026, 11:01pm UTC](https://community.homey.app/t/mqtt-keeps-stopping-or-not-recieving-messages/113030/11 "2026-03-25T23:01:40Z")

</div>

You’d best report to the app developer: [emile@emile.nl](mailto:emile@emile.nl) (as per app page @ homey.app store).

Alternatively there’s a fantastic community app set available for MQTT:

 ![Screenshot_20260326_000641_Ecosia](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e0254f4744df594aa42c4aa6b1b66d2e82ade008.jpeg)
