# \[App\]\[Pro\] MQTT Broker for Homey

**URL:** <https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [December 8, 2018, 7:18pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129 "2018-12-08T19:18:31Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![scanno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/scanno/32/8358_2.png) [@scanno](https://community.homey.app/u/scanno)\
**Post date:** [January 29, 2024, 8:09pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/106 "2024-01-29T20:09:54Z")

</div>

Source code is public @ [GitHub - scanno/nl.scanno.mqttbroker](https://github.com/scanno/nl.scanno.mqttbroker)

---

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [February 2, 2024, 9:18am UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/107 "2024-02-02T09:18:13Z")

</div>

Lovely thanks. A question. If I do some tweaks to it do you want me to do a PR to you then? Or how do we get it live? I need to add a Web Socket to create a nice web dashboard over MQTT. So I can just add options to your code. Or if you prefer I can recreate it as a new one an and you as a developer for it.

---

<div class="post-metadata">

**Author:** ![feRon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/feron/32/34515_2.png) [@feRon](https://community.homey.app/u/feRon)\
**Post date:** [February 9, 2024, 4:58pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/108 "2024-02-09T16:58:18Z")

</div>

Hello

Today I updated my Home Assistant to the new version 2024.2.0. Now it shows me all MQTT names twice. In another forum I was told that this has something to do with the URL link below and that the Homey MQTT app needs to be updated. The topic was already announced in August 2023. Until then, the developers of the respective integrations had to make the adjustments.

This is the link:  
[PSA: MQTT Name changes in 2023.8 - Configuration - Home Assistant Community (home-assistant.io)](https://community.home-assistant.io/t/psa-mqtt-name-changes-in-2023-8/598099)

This is what it looks like for me:  
 ![Print-Screen](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2a9ff19460bb240455afce619ec730be9986f33e.png)

I’m now back to 2024.1.6, everything looks normal:  
 ![Screenshot 2024-02-09 144625](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/528d7239886270f6762335ba21e8783db92c21d0.png)

Anyone else having this problem? How can I solve the problem?

Gruss  
feron

---

<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:** [February 9, 2024, 6:10pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/109 "2024-02-09T18:10:59Z")

</div>

Which app are you using to pull in those devices from Home Assistant?

---

<div class="post-metadata">

**Author:** ![feRon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/feron/32/34515_2.png) [@feRon](https://community.homey.app/u/feRon)\
**Post date:** [February 9, 2024, 6:12pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/110 "2024-02-09T18:12:29Z")

</div>

On Homey I use “MQTT Client” and “MQTT Broker” from Menno van Grinsven and “MQTT Hub” from Harrie.

---

<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:** [February 9, 2024, 6:15pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/111 "2024-02-09T18:15:30Z")

</div>

It’s the MQTT Hub app that’s creating the devices then, I assume, so you better ask in that apps’ thread.

---

<div class="post-metadata">

**Author:** ![feRon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/feron/32/34515_2.png) [@feRon](https://community.homey.app/u/feRon)\
**Post date:** [February 9, 2024, 6:16pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/112 "2024-02-09T18:16:49Z")

</div>

I also wrote in the MQTT Hub thread. I don’t understand exactly which app is master for that.

---

<div class="post-metadata">

**Author:** ![scanno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/scanno/32/8358_2.png) [@scanno](https://community.homey.app/u/scanno)\
**Post date:** [February 9, 2024, 6:23pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/113 "2024-02-09T18:23:01Z")

</div>

The best is to make a Pull request with your changes.

---

<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:** [February 9, 2024, 6:24pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/114 "2024-02-09T18:24:43Z")

</div>

The MQTT Client (and Broker) don’t have anything to do with devices (and naming of them), that’s all done by the MQTT Hub app.

---

<div class="post-metadata">

**Author:** ![feRon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/feron/32/34515_2.png) [@feRon](https://community.homey.app/u/feRon)\
**Post date:** [February 9, 2024, 6:27pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/115 "2024-02-09T18:27:06Z")

</div>

Thank you very much for explaining. So I have to wait, that Harrie can fix it. Or is there another Hub app on the Homey, which I can use?

---

<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:** [February 9, 2024, 6:29pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/116 "2024-02-09T18:29:37Z")

</div>

AFAIK there isn’t, no.

---

<div class="post-metadata">

**Author:** ![Claus\_Mortensen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_mortensen/32/73211_2.png) [@Claus\_Mortensen](https://community.homey.app/u/Claus_Mortensen)\
**Post date:** [February 18, 2024, 6:29pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/117 "2024-02-18T18:29:13Z")

</div>

My broker will suddenly not run anymore. After restart is writes “crash” right away. It was been running perfectly for months. Nothing changed in the system, except auto updates of app and fw.

I tried to make a diagnostic report. Do not know if that tells anything?  
a8c3b2e1-1494-44fb-9e8a-f7fa85962f58

Kind regards, Claus

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [February 18, 2024, 7:09pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/118 "2024-02-18T19:09:21Z")

</div>

Is it a HomeyPro23? Did it happen after the upgrade to 10.3.0?

---

<div class="post-metadata">

**Author:** ![Claus\_Mortensen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_mortensen/32/73211_2.png) [@Claus\_Mortensen](https://community.homey.app/u/Claus_Mortensen)\
**Post date:** [February 18, 2024, 8:49pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/119 "2024-02-18T20:49:56Z")

</div>

Yes it is 2023.  
For sure it is latest firmware, but I think that is quite some days ago. I am 95% sure it worked after the update.

---

<div class="post-metadata">

**Author:** ![Claus\_Mortensen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_mortensen/32/73211_2.png) [@Claus\_Mortensen](https://community.homey.app/u/Claus_Mortensen)\
**Post date:** [February 19, 2024, 7:47am UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/120 "2024-02-19T07:47:56Z")

</div>

And this morning everything works again!  
I did a restart of Homey yesterday and it did not help. I got the same crash.  
I have a flow restarting as many apps as possible at 02:00. But restarting both broker and client yesterday did not help.

I do not know what caused it to suddenly work again 🙂

---

<div class="post-metadata">

**Author:** ![scanno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/scanno/32/8358_2.png) [@scanno](https://community.homey.app/u/scanno)\
**Post date:** [February 19, 2024, 1:46pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/121 "2024-02-19T13:46:18Z")

</div>

The log mentions that port 1883 is already in use. So there is a process blocking the port preventing the broker to start listening on port 1883. It is unclear to me what is causing this.

Does anyone know if it is possible with a homey pro 23 with SSH access enabled to see what process is using a specific port? I am still running the original kickstarter homey 🙂

---

<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:** [February 19, 2024, 1:57pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/122 "2024-02-19T13:57:15Z")

</div>

> [@scanno](#):
>
> It is unclear to me what is causing this.

In my experience, it’s possible on the HP2023 for multiple instances of an app to be running (or at least to get started). I regularly get crash reports for my HomeKitty app that point to that (port already in use, where the port is picked randomly the first time the app starts, so it’s not likely that _another_ process is using the exact same port).

I would think that a reboot should solve it.

---

<div class="post-metadata">

**Author:** ![Claus\_Mortensen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_mortensen/32/73211_2.png) [@Claus\_Mortensen](https://community.homey.app/u/Claus_Mortensen)\
**Post date:** [February 26, 2024, 6:40pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/123 "2024-02-26T18:40:40Z")

</div>

It keeps crashing all the time. Even a power cycle of Homey Pro 2023 will not help.  
I did write to support to see if they can suggest something. Until that I have no idea what to do. It worked for so many months without problems 🙂

---

<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:** [February 26, 2024, 6:42pm UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/124 "2024-02-26T18:42:00Z")

</div>

Have you tried uninstalling the app and reinstalling it?

Support will probably put the blame at the app developer ☹

---

<div class="post-metadata">

**Author:** ![Erbru](https://avatars.discourse-cdn.com/v4/letter/e/ad7895/32.png) [@Erbru](https://community.homey.app/u/Erbru)\
**Post date:** [March 14, 2024, 7:20am UTC](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129/125 "2024-03-14T07:20:56Z")

</div>

This morning my MQTT broker (Version V3.0.2) stopped working. Based on the review of the logs it seems to stopped at the moment of the last Homey update to version 10.3.2. Anyone else experiencing the same type of issues?

[Previous page](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129.md?page=5)

[Next page](https://community.homey.app/t/app-pro-mqtt-broker-for-homey/5129.md?page=7)
