# MQTT Hub/Gateway

**URL:** <https://community.homey.app/t/mqtt-hub-gateway/6766>\
**Category:** Apps\
**Created:** [January 14, 2019, 6:59pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766 "2019-01-14T18:59:50Z")\
**Posts on this page:** 20\
**Page:** 27

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 19, 2019, 10:11pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/528 "2019-03-19T22:11:12Z")

</div>

@Tobster can you send me (pm) the device details for the blinds from the [developer page](https://developer.athom.com/tools/devices)?

---

<div class="post-metadata">

**Author:** ![xAPPO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xappo/32/13726_2.png) [@xAPPO](https://community.homey.app/u/xAPPO)\
**Post date:** [March 19, 2019, 10:27pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/529 "2019-03-19T22:27:35Z")

</div>

> [@HarriedeGroot](#):
>
> discuss missing features, etc.

Not missing but the other side of the integration.  
Maybe another app…

How do I get an MQTT device into Homey, maybe via discovery ? 🤔  
Avoiding flows if possible.

…playing with your aspirations 😉

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 19, 2019, 10:50pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/530 "2019-03-19T22:50:19Z")

</div>

@xAPPO Discovery of external mqtt devices has been somewhere on my list from the beginning… it was also already requested in one of the earliest posts in this thread.

This one is a much harder though and needs a lot to be implemented. I even thought about creating a separate app for it…but I’m afraid I won’t start this project soon.

---

<div class="post-metadata">

**Author:** ![xAPPO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xappo/32/13726_2.png) [@xAPPO](https://community.homey.app/u/xAPPO)\
**Post date:** [March 19, 2019, 10:56pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/531 "2019-03-19T22:56:59Z")

</div>

> [@HarriedeGroot](#):
>
> soon

soon == maybe == 🔜 in Athom speak … so I’m happy it’s on the radar.

I’ll pop it on Santa’s list in 2020 if I don’t hear anything from the elves.

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 19, 2019, 11:05pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/532 "2019-03-19T23:05:40Z")

</div>

Who knows…maybe even Athom will pickup this one up. It’s default functionality for most other platforms after all. Actually the first thing you see when you start: “we found these devices already, do you want to add them”?

---

<div class="post-metadata">

**Author:** ![xAPPO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xappo/32/13726_2.png) [@xAPPO](https://community.homey.app/u/xAPPO)\
**Post date:** [March 19, 2019, 11:07pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/533 "2019-03-19T23:07:44Z")

</div>

Well yes… I’d like to add them 😄 Feeling a sense of anticipation … hey Athom ?

Everything working very well with this app (bar a few non cooperative devices)

---

<div class="post-metadata">

**Author:** ![Ferry\_van\_E](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_van_e/32/10953_2.png) [@Ferry\_van\_E](https://community.homey.app/u/Ferry_van_E)\
**Post date:** [March 19, 2019, 11:25pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/534 "2019-03-19T23:25:57Z")

</div>

Really awesome that it is possible to play with the lay out and bring everything together. Below a screenshot from my iPhone Xr. Thanks @HarriedeGroot

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/7027c12477feb79e5d30d82da0b8a0e0169b7bbe.jpeg)

---

<div class="post-metadata">

**Author:** ![Viktor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viktor/32/8030_2.png) [@Viktor](https://community.homey.app/u/Viktor)\
**Post date:** [March 20, 2019, 2:34pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/535 "2019-03-20T14:34:48Z")

</div>

Hi @HarriedeGroot here output from my fibaro roller shutter, maybe is usable:

##### Storen Wohnzimmer

###### Properties

| Property | Value |
| --- | --- |
| ID | 27a8a4a6-04ff-493f-b6c5-c159d3a43fe8 |
| Class | windowcoverings |
| Driver | homey:app:com.fibaro — FGR-222 |
| Ready | Yes |
| Available | Yes |
| Custom icon | Yes |

###### Settings

| Key | Value |
| --- | --- |
| reports\_type | “1” |
| operating\_mode | “2” |
| switch\_type | “1” |
| power\_level\_change | 10 |
| periodic\_power\_level\_reports | 3600 |
| start\_calibration | true |
| invert\_direction | false |
| zw\_node\_id | “20” |
| zw\_manufacturer\_id | “271” |
| zw\_product\_type\_id | “770” |
| zw\_product\_id | “4096” |
| zw\_secure | “⨯” |
| zw\_battery | “⨯” |
| zw\_device\_class\_basic | “BASIC\_TYPE\_ROUTING\_SLAVE” |
| zw\_device\_class\_generic | “GENERIC\_TYPE\_SWITCH\_MULTILEVEL” |
| zw\_device\_class\_specific | “SPECIFIC\_TYPE\_CLASS\_B\_MOTOR\_CONTROL” |
| zw\_firmware\_id | “” |
| zw\_wakeup\_interval | 0 |
| zw\_group\_1 | “” |
| zw\_group\_2 | “” |
| zw\_group\_3 | “1” |
| zw\_configuration\_value | “3,1,1;10,1,2;12,2,110;13,1,0;29,1,1” |
| invertWindowCoveringsDirection | false |

###### Capabilities

| Capability | Type | Value | Edit value | Last Updated |
| --- | --- | --- | --- | --- |
| windowcoverings\_state | enum | up | upidledown | 22 hours ago |
| dim | number | 0.02 | | 3 days ago |
| measure\_power | number | 0 | | 28 minutes ago |

---

<div class="post-metadata">

**Author:** ![Blarp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/blarp/32/10278_2.png) [@Blarp](https://community.homey.app/u/Blarp)\
**Post date:** [March 20, 2019, 10:21pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/536 "2019-03-20T22:21:27Z")

</div>

> [@HarriedeGroot](#):
>
> @xAPPO Discovery of external mqtt devices has been somewhere on my list from the beginning… it was also already requested in one of the earliest posts in this thread

Ow yes, still interested.  
Reading along here. 😉

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 23, 2019, 10:48pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/537 "2019-03-23T22:48:52Z")

</div>

The [BETA branch](https://github.com/harriedegroot/nl.hdg.mqtt/tree/beta) contains a first implementation for HA Discovery of **covers/blinds**.

Can anyone test and report back (@Viktor, @Tobster)?

---

<div class="post-metadata">

**Author:** ![Viktor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viktor/32/8030_2.png) [@Viktor](https://community.homey.app/u/Viktor)\
**Post date:** [March 23, 2019, 11:40pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/538 "2019-03-23T23:40:27Z")

</div>

Hi @HarriedeGroot thanks for the implementation. Only my virtual window coverings are imported in HA, but are not working:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/88599e0564d6cb8b4a98243f236040ea17a1c051.png)

This one, fibaro, is not showed:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2d9aa8e5a63d1a63dcc3c3fd9cf788286d467826.png)

HA:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/ee7fdbbd1958ae9b78891f0ac51e3f7527bb6bb8.png)

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 24, 2019, 12:35am UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/539 "2019-03-24T00:35:26Z")

</div>

@Viktor Thanks for the feedback!

Made some changes. Can you try again?  
Don’t forget to reboot HA to force a new trigger of the MQTT discovery.

If the Fibaro shutters still don’t show up:

- Does a ‘homeassistant/cover/{fibaro shutter name}’ topic exist?
- if yes? Can you provide the config json payload?

---

<div class="post-metadata">

**Author:** ![Tobster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobster/32/7888_2.png) [@Tobster](https://community.homey.app/u/Tobster)\
**Post date:** [March 24, 2019, 7:26am UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/540 "2019-03-24T07:26:01Z")

</div>

I’ll test this tonight!

---

<div class="post-metadata">

**Author:** ![Viktor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viktor/32/8030_2.png) [@Viktor](https://community.homey.app/u/Viktor)\
**Post date:** [March 24, 2019, 5:38pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/541 "2019-03-24T17:38:59Z")

</div>

Hi @HarriedeGroot , thanks. Now are both, virtual and physical window coverings, discovered and working. Thank you.

---

<div class="post-metadata">

**Author:** ![Tobster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobster/32/7888_2.png) [@Tobster](https://community.homey.app/u/Tobster)\
**Post date:** [March 24, 2019, 9:36pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/542 "2019-03-24T21:36:42Z")

</div>

Hi @HarriedeGroot - thany you for implementing this! I have now tested with my blinds and screens, and HA discovery works very well, and I am able to both close and open them. However, if I use the stop button half-way up or down, I am not able to continue in the same direction (the arrow is grayed out).

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 24, 2019, 10:11pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/543 "2019-03-24T22:11:24Z")

</div>

Available in the [store](https://apps.athom.com/app/nl.hdg.mqtt)

#### Version 2.1.7

- PR: MQTT Explorer url
- Updated readme
- Athom api update (2.1.178)
- Bug fixes & stability improvements

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 24, 2019, 10:12pm UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/544 "2019-03-24T22:12:16Z")

</div>

Available in the [store](https://apps.athom.com/app/nl.hdg.mqtt) ( **beta version** )

#### Version 2.1.8:

- HA Discovery: Covers/blinds

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 25, 2019, 11:19am UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/545 "2019-03-25T11:19:36Z")

</div>

Available in the [store](https://apps.athom.com/app/nl.hdg.mqtt) now.

#### Version 2.1.9

- Retry topic subscriptions on failure & manual broadcast

---

<div class="post-metadata">

**Author:** ![roel\_hendr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roel_hendr/32/2900_2.png) [@roel\_hendr](https://community.homey.app/u/roel_hendr)\
**Post date:** [March 28, 2019, 10:24am UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/546 "2019-03-28T10:24:52Z")

</div>

While broadcasting all my devices from Homey, I see them nicely added to HA. But when I look in the log, I’m getting these kind of messages:

Exception in color\_temp\_received when handling msg on ‘homie/homey/kitchenspot2/color/v’: ‘61’  
Traceback (most recent call last):  
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/light/schema\_basic.py”, line 346, in color\_temp\_received  
self.\_color\_temp = int(payload)  
ValueError: invalid literal for int() with base 10: ‘364.66999999999996’

Is this a known issue? Can I resolve this myself somehow?

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 28, 2019, 11:06am UTC](https://community.homey.app/t/mqtt-hub-gateway/6766/547 "2019-03-28T11:06:03Z")

</div>

Can be a small bug in the hub (or HA?). What values do you see in MQTT explorer?

[Previous page](https://community.homey.app/t/mqtt-hub-gateway/6766.md?page=26)

[Next page](https://community.homey.app/t/mqtt-hub-gateway/6766.md?page=28)
