# \[APP\]\[Pro\] Zigbee2MQTT - Use Zigbee devices via MQTT

**URL:** <https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214>\
**Category:** Apps\
**Tags:** app, zigbee, tools, homey-pro\
**Created:** [June 26, 2023, 7:02am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214 "2023-06-26T07:02:44Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Lipas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lipas/32/72447_2.png) [@Lipas](https://community.homey.app/u/Lipas)\
**Post date:** [July 12, 2023, 10:31am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/62 "2023-07-12T10:31:55Z")

</div>

OK, so I must use 1883 as a port.  
I suppose I have had the proper credentials (only login “addons” without password), but it didn’t work. I also disabled “Reject unauthorized” connections. Even though - it didn’t help.  
I will try today afternoon.

[EDIT]  
I have MQTT Broker and MQTT Client active on Homey. I suppose it can be a problem. Am I right or it is not important at all?

---

<div class="post-metadata">

**Author:** ![Thomas\_Neumann1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomas_neumann1/32/71368_2.png) [@Thomas\_Neumann1](https://community.homey.app/u/Thomas_Neumann1)\
**Post date:** [July 12, 2023, 10:37am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/63 "2023-07-12T10:37:37Z")

</div>

I am happy to help, and test. Is it also possible to add “duration” capabillity?

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 12, 2023, 10:42am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/64 "2023-07-12T10:42:37Z")

</div>

You can help by donating a device that needs duration capability. See first post how to donate for this: [[APP][PRO] Zigbee2MQTT](https://community.homey.app/t/app-pro-zigbee2mqtt/83214)

---

<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:** [July 12, 2023, 10:51am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/65 "2023-07-12T10:51:08Z")

</div>

> [@Lipas](#):
>
> I have MQTT Broker and MQTT Client active on Homey.

You should use one broker.

> [@Lipas](#):
>
> I have had the proper credentials (only login “addons” without password)

Why no pw? Just use, like, 123 to start with

---

<div class="post-metadata">

**Author:** ![Thomas\_Neumann1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomas_neumann1/32/71368_2.png) [@Thomas\_Neumann1](https://community.homey.app/u/Thomas_Neumann1)\
**Post date:** [July 12, 2023, 10:55am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/66 "2023-07-12T10:55:06Z")

</div>

Sorry for my misstype. It’s called “Transition” in Z2M.

---

<div class="post-metadata">

**Author:** ![Thomas\_Neumann1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomas_neumann1/32/71368_2.png) [@Thomas\_Neumann1](https://community.homey.app/u/Thomas_Neumann1)\
**Post date:** [July 12, 2023, 10:58am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/67 "2023-07-12T10:58:23Z")

</div>

One more update. I have a hue sensor, i am using the illuminance to set flags, when i add a sensor via your app, ill get the illuminance value, and not the illuminance\_lux value.

---

<div class="post-metadata">

**Author:** ![Lipas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lipas/32/72447_2.png) [@Lipas](https://community.homey.app/u/Lipas)\
**Post date:** [July 12, 2023, 11:03am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/68 "2023-07-12T11:03:51Z")

</div>

Ok, so I will check, if switching off MQTT Broker in Homey makes a difference.  
No password, cause I just want to make it simple 🙂

[SOLVED]

So, the thing was to ADD NEW USER in Home Assistant and allow him to login to HA from local network. Maybe it is because I have updated HA to 2023.07.01.

Now I have the bridge added correctly and all devices registered in HA Zigbee network available (also Blitzwolf SHP-13).

---

<div class="post-metadata">

**Author:** ![Pipsen86](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pipsen86/32/80787_2.png) [@Pipsen86](https://community.homey.app/u/Pipsen86)\
**Post date:** [July 17, 2023, 8:12pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/70 "2023-07-17T20:12:46Z")

</div>

Hi @Gruijter,

Thanks for the great effort bringing this app to live. Do you think it’s possible for you to add support for this devices

> **[Sunricher SR-ZGP2801K4-DIM control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/SR-ZGP2801K4-DIM.html)**
>
> Integrate your Sunricher SR-ZGP2801K4-DIM via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway.

In the past I used deConz app to get the device into homey but as the deConz app has been shutdown, I’m a bit in a bit pressured to find a way to support my 20 switches controlling my house lights 😂

I know z2m does support the devices running Zigbee green power.

Happy to donate!

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 17, 2023, 9:43pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/71 "2023-07-17T21:43:36Z")

</div>

Hi @Pipsen86  
You can help by donating a device. See first post how to donate for this: [[APP][PRO] Zigbee2MQTT](https://community.homey.app/t/app-pro-zigbee2mqtt/83214)

---

<div class="post-metadata">

**Author:** ![DickO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dicko/32/78103_2.png) [@DickO](https://community.homey.app/u/DickO)\
**Post date:** [July 20, 2023, 9:56pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/72 "2023-07-20T21:56:45Z")

</div>

Hi @Gruijter, would you be interested in adding a driver for a [Tuya 2-gang dimmer](https://www.zigbee2mqtt.io/devices/TS110E_2gang_1.html) and a [Tuya 2-gang switch](https://www.zigbee2mqtt.io/devices/TS0002_switch_module.html) (both in-wall modules)?  
Both are functional in Z2M and their 1-gang counterparts are OK in Homey via Z2M; but the 2-gang versions only show LQI (in Homey, that is; in Z2M they are fully functional).  
If you like, I can provide the modules (both 2-g dimmer and 2-g switch) and the .svg files.

.  
Addendum:  
I recently got a radar-based human presence sensor (like a PIR sensor, but with radar) [TuYa ZY-M100-L](https://www.zigbee2mqtt.io/devices/ZY-M100-L.html) which exposes “illuminance\_lux” (instead of “illuminance” like a PIR sensor with lux I have).  
Would it be possible to add ‘illuminance\_lux’ to the Z2M app? (Presence-by-radar already works, like a PIR presence.)  
I have only one so I can’t provide the device, but I can provide temporary acces to my Z2M Pi if that would be beneficial.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 21, 2023, 12:19am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/73 "2023-07-21T00:19:59Z")

</div>

> [@DickO](#):
>
> can provide the modules (both 2-g dimmer and 2-g switch) and the .svg files.

Yes pls

> [@DickO](#):
>
> add ‘illuminance\_lux

Should be possible. Will try to add it to the next release.

---

<div class="post-metadata">

**Author:** ![DickO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dicko/32/78103_2.png) [@DickO](https://community.homey.app/u/DickO)\
**Post date:** [July 21, 2023, 2:52pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/74 "2023-07-21T14:52:45Z")

</div>

> [@DickO](#):
>
> […] their 1-gang counterparts are OK in Homey via Z2M; […]

It seems I was too optimistic about the 1-gang dimmer. It can be switched on and off from Homey (via Z2M) but the dim level can’t be changed. Which is quite a bummer …

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 21, 2023, 3:08pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/75 "2023-07-21T15:08:39Z")

</div>

When I work on the 2-gang dimmer I will probably be able to get the single gang working as well.

---

<div class="post-metadata">

**Author:** ![DickO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dicko/32/78103_2.png) [@DickO](https://community.homey.app/u/DickO)\
**Post date:** [July 22, 2023, 8:45pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/76 "2023-07-22T20:45:53Z")

</div>

In the case of to illuminance\_lux: I think I found a fix. In the capability mapping, Illuminance\_lux is written with a capital I instead of an i (line 52).  
Changing to lower case ‘i’ fixed it for a local install.

---

<div class="post-metadata">

**Author:** ![DickO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dicko/32/78103_2.png) [@DickO](https://community.homey.app/u/DickO)\
**Post date:** [July 24, 2023, 11:35am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/77 "2023-07-24T11:35:11Z")

</div>

Another one for the wish list: the [Ikea E1743 button](https://www.zigbee2mqtt.io/devices/E1743.html).  
This button exposes an ‘acion’ (enumeration) with the values _on, off, brightness\_move\_down, brightness\_move\_up_ and _brightness\_stop_. In de Z2M frontend is the option to add a ‘brightness diff’ to a move\_up or move\_down action (e.g. every 200 ms, increase brightness with 25).

I do have a button available.

BTW: it seems I fixed the dim level for 1-gang dimmers, by removing both the division and multiplication with a factor 100 from the capability mapping. Succesfully tested with 2 different types of dimmer (Tuya and Nordtronic).  
It now reads:  
`brightness: (val) => ['dim', Number(val) / 254, { brightness: Number(val) * 254 }],`

There’s a bit of a delay in Homey though, as the level jumps back and forth for one time in the Homey GUI upon changing. But as far as I can tell that’s only a cosmetic inconvenience for the GUI.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [August 3, 2023, 8:30pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/78 "2023-08-03T20:30:53Z")

</div>

A HUGE update to Zigbee2MQTT is ready as test version: [Zigbee2MQTT | Homey](https://homey.app/a/com.gruijter.zigbee2mqtt/test/)

V2.0: Greatly extended capability support, including buttons, actions, color lights. Added many flow cards.

Big thanks to @DickO who donated some special devices so I could integrate them. I also bought some new device types myself for testing and integration.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [August 3, 2023, 8:37pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/79 "2023-08-03T20:37:02Z")

</div>

> [@DickO](#):
>
> There’s a bit of a delay in Homey though, as the level jumps back and forth for one time in the Homey GUI upon changing. But as far as I can tell that’s only a cosmetic inconvenience for the GUI.

Yes, I noticed that too. Is a bug in the Homey Mobile app. Nothing I can change there myself.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [August 5, 2023, 2:50pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/80 "2023-08-05T14:50:56Z")

</div>

@Kringloper many thx for your kind donation. Much appreciated ❤

---

<div class="post-metadata">

**Author:** ![Kringloper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kringloper/32/70714_2.png) [@Kringloper](https://community.homey.app/u/Kringloper)\
**Post date:** [August 6, 2023, 3:35pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/81 "2023-08-06T15:35:49Z")

</div>

On my mmwave sensor, is see three capabilities. Only, for presence there is no trigger card (value presence changed). I can see it for lux and link quality. There is a tag for ‘presence’ to check within a logics-and card. Is it possible to also add the trigger for presence. That way i can respond on movement (besides zone activity).

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/898a5149262fe5a28b2e6fdb08615437d1f55887.jpeg)

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

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [August 9, 2023, 8:49am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/82 "2023-08-09T08:49:39Z")

</div>

New version 2.0.1 available as test: [Zigbee2MQTT | Homey](https://homey.app/a/com.gruijter.zigbee2mqtt/test/)

- Added several trigger flowcards.
- Stability improvements.

@Kringloper can you please check the new trigger flowcards?

[Previous page](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214.md?page=3)

[Next page](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214.md?page=5)
