# \[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:** 8

<div class="post-metadata">

**Author:** ![Busta999](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/busta999/32/10053_2.png) [@Busta999](https://community.homey.app/u/Busta999)\
**Post date:** [October 13, 2023, 12:40pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/144 "2023-10-13T12:40:05Z")

</div>

Probably a bit ambitious adding them all in one go … 🙂  
It is working through them but getting errors  
Will return once them finish

---

<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:** [October 13, 2023, 1:04pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/145 "2023-10-13T13:04:52Z")

</div>

Best restart the app when things settle. It will probably try to migrate the remainder of devices that gave errors on the first run.

---

<div class="post-metadata">

**Author:** ![Busta999](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/busta999/32/10053_2.png) [@Busta999](https://community.homey.app/u/Busta999)\
**Post date:** [October 13, 2023, 2:00pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/146 "2023-10-13T14:00:18Z")

</div>

They are all coming up

 ![Screenshot 2023-10-13 at 14.57.58](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f38b46508825430d91479c4c056c0fc4151d5884.png)

Will play with them over the weekend see what works what does not 🙂

Really like this idea 🙂

A better view with all in now

 ![Screenshot 2023-10-13 at 15.02.33](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9bfff0eab647159f46f4edfb953697dd80f33770.jpeg)

---

<div class="post-metadata">

**Author:** ![KeviinCosmos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/keviincosmos/32/87820_2.png) [@KeviinCosmos](https://community.homey.app/u/KeviinCosmos)\
**Post date:** [October 13, 2023, 3:05pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/147 "2023-10-13T15:05:48Z")

</div>

_Late reply; sorry_

Arh i thought it could run like it does in HA, where i everything is in HA. My Mqtt broker and Zigbee2MQTT… But i’s not possible with Homey?  
There’s no option to it like that?  
In HA we just install the broker and then the zigbee2mqtt app and then it works.  
And i can add my devices in HA paring with the Z2M

I hoped that i should not have any other hardware or service running.

---

<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:** [October 14, 2023, 8:19am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/148 "2023-10-14T08:19:23Z")

</div>

new version 2.0.5 was just released

- Fixed infinite migrating devices with duplicate capabilities.
- Added support for GreenPower devices.

Many thanks to @Vitaliy_Yakovchuk for finding and resolving these issues!

---

<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:** [October 14, 2023, 2:42pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/149 "2023-10-14T14:42:28Z")

</div>

> [@KeviinCosmos](#):
>
> In HA we just install the broker and then the zigbee2mqtt app and then it works.  
> And i can add my devices in HA paring with the Z2M

Yes, it works exactly the same for Homey! Homey can be used alongside HA, or as a full alternative without HA.

So install a broker and zigbee2mqtt with a zigbee adapter (e.g. on a rpi). You already have that as I understand, so nothing you need to do. Just start adding devices to Homey. But to be able to add devices on Homey, you first need to install the Zigbee2MQTT homey app.

---

<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:** [October 15, 2023, 3:10pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/150 "2023-10-15T15:10:15Z")

</div>

New version 2.1.0 is ready for testing: [Zigbee2MQTT | Homey](https://homey.app/a/com.gruijter.zigbee2mqtt/test/)

- Added Zigbee Group support (BETA).
- Fixed color mode for the lights.
- Added more class mappings.
- Added support for HUE wall switch.

Many thanks to @Vitaliy_Yakovchuk and @Sre for their contribution!

I have not been able to test the Zigbee Group support myself (since I don’t use Zigbee Groups). If you have questions or remarks please direct them to @Sre

---

<div class="post-metadata">

**Author:** ![Vitaliy\_Yakovchuk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vitaliy_yakovchuk/32/87193_2.png) [@Vitaliy\_Yakovchuk](https://community.homey.app/u/Vitaliy_Yakovchuk)\
**Post date:** [October 15, 2023, 5:53pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/151 "2023-10-15T17:53:51Z")

</div>

So far, getting such an error, while trying to add a group:

 ![IMG_5372](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/54a32ecc4a67ee8b9c75c56886a2687314aa96ad.jpeg)  
I will try to look more closed tomorrow.

---

<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:** [October 15, 2023, 5:57pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/152 "2023-10-15T17:57:17Z")

</div>

I managed to get it working with a group of 2 sockets. I used the z2m frontend to setup the group before I could add it to Homey.

---

<div class="post-metadata">

**Author:** ![Sre](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sre/32/73560_2.png) [@Sre](https://community.homey.app/u/Sre)\
**Post date:** [October 15, 2023, 6:04pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/153 "2023-10-15T18:04:11Z")

</div>

Thanks for beta testing!  
I can reproduce your error `Cannot read properties of undefined (reading 'definition')` by not adding devices to a group in Z2M, make sure you add devices to a group and I will make sure groups without devices do not appear in Homey

Resolved this and more in the following PR:

> <https://github.com/gruijter/com.gruijter.zigbee2mqtt/pull/10>
>
> Changes:
> \- Reduced duplicated Device & Driver code
> \- Added support for: Hue sm…art button
> \- Added support for: Aqara temperature, humidity and pressure sensor
> \- Filter groups without members to fix the error \`Cannot read properties of undefined (reading 'definition')\`

---

<div class="post-metadata">

**Author:** ![KeviinCosmos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/keviincosmos/32/87820_2.png) [@KeviinCosmos](https://community.homey.app/u/KeviinCosmos)\
**Post date:** [October 18, 2023, 6:57am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/154 "2023-10-18T06:57:29Z")

</div>

> [@Gruijter](#):
>
> o install a broker and zigbee2mqtt with a zigbee adapter (e.g. on a rpi). You al

Arh… I thought i could use the builtin zigbee in HP Pro. But I have to buy the adapter as well? That’s why it’s not working for me… Thanks! 👏

I want to see how HP works without HA, because i’m helping some friends out, and HA is my favorite, but it also requires way more maintenance.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [October 18, 2023, 5:20pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/155 "2023-10-18T17:20:01Z")

</div>

@KeviinCosmos so I understand you were hoping to install zigbee2mqtt bridge on homey pro to use the homey pro hardware for zigbee2mqtt? What is your use case for that configuration?  
Why not connect the zigbee devices to homey directly? Or do you want to broadcast the actions of the connected devices to other devices in your network? There is an other app for that…. [https://homey.app/nl-nl/app/nl.hdg.mqtt/MQTT-Hub/](https://homey.app/nl-nl/app/nl.hdg.mqtt/MQTT-Hub/)

---

<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:** [October 18, 2023, 5:40pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/156 "2023-10-18T17:40:49Z")

</div>

> [@Torch1969](#):
>
> Why not connect the zigbee devices to homey directly?

Because Homey’s Zigbee ~~sucks~~ is limited.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [October 18, 2023, 6:31pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/157 "2023-10-18T18:31:37Z")

</div>

> [@robertklep](#):
>
> Because Homey’s Zigbee ~~sucks~~ is limited.

Yep, somehow I expected this answer….. 😉 😂

But is that because of homey Zigbee hardware or Zigbee implementation in software? And if it is the software, then hypothetically (if possible….) a zigbee2mqtt bridge implementation, directly on homey hardware would improve this… 🙃

---

<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:** [October 18, 2023, 8:57pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/158 "2023-10-18T20:57:03Z")

</div>

It appears that not everybody understands how to use an ACTION, such as a button pressed. You need to create a flow for this:

[https://homey.app/f/Bf8A4J](https://homey.app/f/Bf8A4J)

---

<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:** [October 18, 2023, 9:27pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/159 "2023-10-18T21:27:36Z")

</div>

Guilty… 😬 😬 😬  
And Thanks!

---

<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:** [October 19, 2023, 6:05am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/160 "2023-10-19T06:05:45Z")

</div>

> [@Torch1969](#):
>
> But is that because of homey Zigbee hardware or Zigbee implementation in software?

Mostly software.

> [@](#):
>
> And if it is the software, then hypothetically (if possible….) a zigbee2mqtt bridge implementation, directly on homey hardware would improve this… 🙃

Well yes, hypothetically speaking that could work.

---

<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:** [October 21, 2023, 10:20am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/161 "2023-10-21T10:20:50Z")

</div>

New version 2.1.1 is published as stable: [Zigbee2MQTT App for Homey | Homey](https://homey.app/a/com.gruijter.zigbee2mqtt/)

- Zigbee Group support
- Fixed color mode for lights.
- Added more class mappings.
- Added support for HUE wall switch and smart button
- Added support for Aqara temperature, humidity and pressure sensor

Many thanks to @Vitaliy_Yakovchuk and @Sre for their contributions!

---

<div class="post-metadata">

**Author:** ![Vitaliy\_Yakovchuk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vitaliy_yakovchuk/32/87193_2.png) [@Vitaliy\_Yakovchuk](https://community.homey.app/u/Vitaliy_Yakovchuk)\
**Post date:** [October 21, 2023, 11:05am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/162 "2023-10-21T11:05:24Z")

</div>

I did not do sanity check for coloured lamps on test version. There’s a typo in the source code (a small PR is created on GitHub).

---

<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:** [October 21, 2023, 11:17am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/163 "2023-10-21T11:17:12Z")

</div>

fixed and published in v2.1.2

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

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