# \[APP\]\[Pro\] MQTT Hub - Community version

**URL:** <https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463>\
**Category:** Apps\
**Tags:** app, mqtt, homey-pro\
**Created:** [July 26, 2024, 3:58pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463 "2024-07-26T15:58:53Z")\
**Posts on this page:** 20\
**Page:** 5

<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:** [August 16, 2024, 8:17pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/89 "2024-08-16T20:17:26Z")

</div>

Hi Ronny,

Thanks for the major improvements!

> [@RonnyW](#):
>
> Added setting to **choose a capability naming variant** (old: device name + capability name; new: capability name) to get compatible with **HomeAssistant** discovery since version **2023.8**

(Pro 2019)

I’ve tried all kinds of settings and made many comparisons, but devices still appear with double device names in HA, regardless of having selected “Capability name” to _Capability name_ or to _Device name - Capability name_

### Homey

A test device

 ![1000033069](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/151591909bb706b28025c0dde4c27849ed9006ee.jpeg)  
 ![1000033071](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/0/4039a89b57bfaaa539fc28b22dd84b1a721e1aaf.jpeg)

### MQTT Hub

Log snippet:

 ![1000033077](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/df9caef2a449f89e19704d2d0a96dbce4578fa4e.jpeg)

Settings:

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

### HA

 ![1000033073](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b69010a68f036a9d9a03784ddf0e344071e76416.jpeg)

 ![1000033082](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/5/2536e34c23b6c2ceb1ff0c6f22efa32c7caa85bb.jpeg)

---

<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:** [August 16, 2024, 9:32pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/90 "2024-08-16T21:32:27Z")

</div>

I only tested Homie device, not custom. Perhaps there is a second place where the Name is generated.

---

<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:** [August 17, 2024, 1:08am UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/91 "2024-08-17T01:08:50Z")

</div>

It crossed my mind, but I’ve no clue how different ‘homie’ is from my custom settings.  
All I know, I only use these custom settings because with the default ‘homie’ setting, Homey devices were unresponsive when operated using HA.

I’ll go experiment with the ‘homie’ setting.

---

<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:** [August 17, 2024, 8:50am UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/92 "2024-08-17T08:50:42Z")

</div>

Is HA discovery active?

---

<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:** [August 17, 2024, 1:45pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/93 "2024-08-17T13:45:11Z")

</div>

Yes.  
These were the settings, Ronny:

 ![1000033098](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a3af7867bcdfa18a722b2272d9e52a0a2b95c2f4.jpeg)

 ![1000033101](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/15adb9c252de5d35777e1d579319eec14794d8d3.jpeg)

Today I changed the custom settings to ‘homie convention’,  
Then I disabed and re-enabled some devices, and enabled some never enabled devices in MQTT Hub, but the device names still appear twice in HA

 ![1000033104](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/15715adf041ac490a05c26d8089e3c02d08afddb.jpeg)

Example of a never published device:

 ![1000033106](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/6/a6d81387ea53b35257e78c62dd1f7b2b273439c5.jpeg)

\_  
@ the HA MQTT integration, what MQTT protocol do you use, Ronny?  
I use 5.  
Just now I tried 3.1.1, but most, or all device entities didn’t appear?

---

<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:** [August 18, 2024, 9:54am UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/94 "2024-08-18T09:54:25Z")

</div>

New **test version 4.2.1** :

- Fixed **capability name setting for HA discovery**. It was added for Homie device export in last version. Now it’s added for HA discovery, too.
- Fixed **HA discovery restart** on settings saved/hub restart.

@Peter_Kawa FYI: thanks for the hint and examples

---

<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:** [August 18, 2024, 3:15pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/95 "2024-08-18T15:15:27Z")

</div>

New **test version 4.2.2** :

- Fixes a bug on app restart (settings/flow) where a MQTT topic “undefined” is created.  
If you have such a topic, you can remove it with MqttExplorer 4.x. With version 4.x you can remove more than 50 topics at once (the limit of MqttExporer 3.x).  
This issue should only appear if you have restarted the Hub from settings/flow or saved settings (wich also restarts).

---

<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:** [August 19, 2024, 3:22pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/96 "2024-08-19T15:22:34Z")

</div>

Version **4.2.2 is now live** with including changes since 4.1.4

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [August 19, 2024, 10:11pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/97 "2024-08-19T22:11:43Z")

</div>

Is there anyway to update the old version to the community version?

If I delete the old one and install the new one I guess that I loose all devices in HA which I paired via the old MQTT hub, so a lot of dead devices in HA is this correct?

---

<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:** [August 20, 2024, 5:20am UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/98 "2024-08-20T05:20:10Z")

</div>

A simple update is not possible. The app has a new ID and you have to install it again. Please deactivate the old app before installing The new one.

The HA enties won’t chang. The entity name is built using the Homey device title.  
You only have to ‘screenshot’ app settings to set then again.  
Only devices you can loose are Mqtt devices created for this app. But for them you also can save device settings (JSON).

---

<div class="post-metadata">

**Author:** ![MRCL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrcl/32/111224_2.png) [@MRCL](https://community.homey.app/u/MRCL)\
**Post date:** [August 20, 2024, 6:44pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/99 "2024-08-20T18:44:54Z")

</div>

Hi, awesome App, thanks for that!  
I’ve created a mqtt device. Is there a way to change the unit for energy?  
In addition to kWh, I also need Wh for energy.

---

<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:** [August 20, 2024, 6:54pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/100 "2024-08-20T18:54:22Z")

</div>

Possibly it’s a Homey default unit, presenting energy values as kWh

---

<div class="post-metadata">

**Author:** ![MRCL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrcl/32/111224_2.png) [@MRCL](https://community.homey.app/u/MRCL)\
**Post date:** [August 20, 2024, 6:59pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/101 "2024-08-20T18:59:44Z")

</div>

That would be sad, my mqtt device sends one value in Wh ☹

---

<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:** [August 20, 2024, 7:24pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/102 "2024-08-20T19:24:22Z")

</div>

Go to device settings and add a value template: `"value*1000"` 😉

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/d/7dd0b8ceb4f5809d03686f2d52804b309a927e36.png)

---

<div class="post-metadata">

**Author:** ![MRCL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrcl/32/111224_2.png) [@MRCL](https://community.homey.app/u/MRCL)\
**Post date:** [August 20, 2024, 7:27pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/103 "2024-08-20T19:27:29Z")

</div>

> [@RonnyW](#):
>
> value\*1000

I was hoping there was such a simple solution, thx ❤

---

<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:** [August 26, 2024, 4:58pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/104 "2024-08-26T16:58:44Z")

</div>

> [@RonnyW](#):
>
> Added workaround for wrong dim unit (norwegian).

Bug seems to be fixed now @ Pro23 RC firmware

> ![signal-2024-08-26-180308_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14afe865bd43f2e076794e4e93ecd76597ff7472.jpeg)

---

<div class="post-metadata">

**Author:** ![Thomas\_007](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomas_007/32/113465_2.png) [@Thomas\_007](https://community.homey.app/u/Thomas_007)\
**Post date:** [September 14, 2024, 4:14pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/105 "2024-09-14T16:14:04Z")

</div>

There’s not too much documented about the virtual device feature of MQTT Hub («Advanced» field under settings). Though it’s very easy to use I still have 4 questions:

1. Are there really not any other «capabilities» than the «speaker\_» media fields for text? The «musical note» tab selector and non-existant album art feels awkward and unnecessary for other kinds of strings. I know I could rather use the AVD/Device Capabilities app for this but I really like the simplicity of a virtual device that directly subscribes and publishes to my existing MQTT broker.

2. Is there any way to change the list items of an «enumerated» list capability like how the Homey API (and AVD) allows when choosing to add such a capability?

3. How can I activate or toggle one of several stateful button capabilities on the same device from a flow? The generic flow card for giving any capability a new value either doesn’t seem to reach eg. «button.2» etc., or «true» and «1» don’t work as values.

4. Also, when manually activating one of several such similar stateful buttons in the UI of one device I get an error about «missing capability listener». Probably because I use a dot separator in the IDs of the buttons (as per Homey SDK) ? Is this a bug?

EDIT: No. 4 seems to have got fixed by restarting the app, and/or possibly by using numerical labels instead of letters after the dot(?).

---

<div class="post-metadata">

**Author:** ![Dirk\_Storck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_storck/32/48817_2.png) [@Dirk\_Storck](https://community.homey.app/u/Dirk_Storck)\
**Post date:** [September 16, 2024, 11:20am UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/106 "2024-09-16T11:20:21Z")

</div>

Hi,

I thought it is time for an update of my “MQTT Hub”.  
Currently I am using the “official” Version 3.5.5

1. Can I simply install you version?
2. Do they exist side by side, meaning I have to remove the old version?
3. Is there a way to go back to the old version, if something doesn’t work as excepted?
4. Will the device be published under the same name?

Thank you! 🙂

EDIT: already answered above 🙂

---

<div class="post-metadata">

**Author:** ![Fabien\_Schmitz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabien_schmitz/32/8472_2.png) [@Fabien\_Schmitz](https://community.homey.app/u/Fabien_Schmitz)\
**Post date:** [October 6, 2024, 12:43pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/107 "2024-10-06T12:43:23Z")

</div>

Hi,

I tried to migrate from the Harrie version to this version, but I ran in the problem that I can’t select Normalize topics… under the custom settings instead of homie convention. so now my HA installation doesn’t recognize the devices from homey because of the capitals in the names… I can select include device class in topic and the publish messages for all device state changes but the include zone in topic and normalize topics checkbox not… installed the latest available 4.2.2. version on a HP19. is this a bug or am I doing something wrong?

---

<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:** [October 6, 2024, 1:35pm UTC](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463/108 "2024-10-06T13:35:46Z")

</div>

Based on a first check it’s a bug. I will check it later…

[Previous page](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463.md?page=4)

[Next page](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463.md?page=6)
