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

<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:** [December 23, 2024, 12:20pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/388 "2024-12-23T12:20:14Z")

</div>

I am now testing with Z2M v2.0.0-latest-dev. It seems to run fine with the Homey app. I did not encounter any issues so far.

Happy Hollidays 🎉

---

<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:** [December 23, 2024, 3:46pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/389 "2024-12-23T15:46:07Z")

</div>

Awesome thanks for testing!

---

<div class="post-metadata">

**Author:** ![SvenM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svenm/32/113028_2.png) [@SvenM](https://community.homey.app/u/SvenM)\
**Post date:** [December 30, 2024, 8:51am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/390 "2024-12-30T08:51:21Z")

</div>

Hello everyone. I have a problem. Due to the failure of the Tuya interface in November, I connected my Tuya Zigbee devices, i.e. switches and dimmers, to Homey via the Zigbee2MQTT interface. This worked very quickly and well. Now that I have completed the connection, I unfortunately have to realize that all devices registered to Homey via Zigbee2MQTT are not passed on to Alexa for control by Homey via the Alexa interface. The only strange exception, a Phillips Hue White 1100, which I also registered on Zigbee2MQTT for testing, appears in Alexa via Homey and can be controlled. If I create virtual switches in Homey and control a dimmer in Zigbee2MQTT via flows, for example, this virtual switch is also passed on from Homey to Alexa and the control works. But the direct connection to the Zigbee2MQTT devices in Alexa via Homey does not work.

What am I doing wrong? What can I do? The controls work as expected under Homey. All other Homey devices also work in Alexa. Please help me.

Happy Hollidays 👋🤓

---

<div class="post-metadata">

**Author:** ![dudu\_95](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dudu_95/32/93061_2.png) [@dudu\_95](https://community.homey.app/u/dudu_95)\
**Post date:** [January 1, 2025, 11:33am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/391 "2025-01-01T11:33:47Z")

</div>

Hello, I installed the latest Homey firmware as well as the Zigbee2MQTT application. I am trying to add an IKEA VALLHORN motion detector. I press the button 4 times, and it blinks red for pairing. However, when I try to add it in the Zigbee2MQTT application, it says that no device is found. I’ve been trying for an hour, but nothing works. On the other hand, if I use the IKEA application, it is detected immediately. Did I miss something? My goal is to retrieve the battery status of my IKEA devices, which is not possible with the IKEA app. Could you explain how to pair the module, please? Thank you. For your information, I do not have HA.

---

<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:** [January 1, 2025, 11:37am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/392 "2025-01-01T11:37:43Z")

</div>

> [@dudu\_95](#):
>
> when I try to add it in the Zigbee2MQTT application

You first have to pair the device with Zigbee2MQTT itself before you can import it into Homey.

---

<div class="post-metadata">

**Author:** ![dudu\_95](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dudu_95/32/93061_2.png) [@dudu\_95](https://community.homey.app/u/dudu_95)\
**Post date:** [January 1, 2025, 12:10pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/393 "2025-01-01T12:10:54Z")

</div>

> [@robertklep](#):
>
> Zigbee2MQTT

Well, apparently, I’m missing something because that’s exactly what I’m doing. I create a new device, select Zigbee2MQTT, then “Device,” while putting the module in pairing mode, but it doesn’t detect it. Is this not the correct procedure?

---

<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:** [January 1, 2025, 12:16pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/394 "2025-01-01T12:16:11Z")

</div>

Are you sure you know what Zigbee2MQTT actually is?

---

<div class="post-metadata">

**Author:** ![dudu\_95](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dudu_95/32/93061_2.png) [@dudu\_95](https://community.homey.app/u/dudu_95)\
**Post date:** [January 1, 2025, 12:23pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/395 "2025-01-01T12:23:03Z")

</div>

No, I don’t think so. For me, it’s an application like IKEA. Could you explain the procedure? And do I need additional devices to make Zigbee2MQTT work?

---

<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:** [January 1, 2025, 12:26pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/396 "2025-01-01T12:26:06Z")

</div>

It’s explained in the first post of this thread.

In short: Zigbee2MQTT is an _external_ Zigbee implementation that needs to be running on some other piece of hardware, like a Raspberry Pi or a NAS. The Homey app for Zigbee2MQTT (what this thread is about) can be used to import devices handled by Zigbee2MQTT into Homey.

The VALLHORN device is supported by the [“official” IKEA app for Homey](https://homey.app/a/com.ikea.tradfri/), so unless you have a specific reason not to use that app, you should.

---

<div class="post-metadata">

**Author:** ![dudu\_95](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dudu_95/32/93061_2.png) [@dudu\_95](https://community.homey.app/u/dudu_95)\
**Post date:** [January 1, 2025, 1:08pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/397 "2025-01-01T13:08:56Z")

</div>

Ok, thank you. It’s just to retrieve the battery information, which is not available in the official IKEA 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:** [January 6, 2025, 9:52pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/398 "2025-01-06T21:52:53Z")

</div>

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

- Added offline device counter in Bridge.
- Set device unavailable when Z2M device is offline.
- Added AI translations for all languages.

Besides having AI translate the app to all Homey languages, the app now will show a device as unavailable when it is offline in Z2M.

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

---

<div class="post-metadata">

**Author:** ![Gert\_Brussen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gert_brussen/32/80077_2.png) [@Gert\_Brussen](https://community.homey.app/u/Gert_Brussen)\
**Post date:** [January 7, 2025, 10:50am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/399 "2025-01-07T10:50:51Z")

</div>

Could you please help me? I installed the Zigbee2MQTT app and try to connect the ZG 204ZM but get a message saying ‘cannot find bridge device in Homey. Bridge needs to be added first’. But as I understood it the Homey is a bridge in itself so what am I missing? What do I need to do in order to connect a battery operated presence sensor like the ZG 204ZM? I admit that I am fairly new to this so I realize I probably ask a stupid question but I’m really stuck. Any help would be appreciated.

---

<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:** [January 7, 2025, 3:05pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/400 "2025-01-07T15:05:58Z")

</div>

@Gert_Brussen Did you read the ‘how to setup’ from the first post? You are missing Step 1. [[APP][PRO] Zigbee2MQTT](https://community.homey.app/t/app-pro-zigbee2mqtt/83214)

---

<div class="post-metadata">

**Author:** ![rogro82](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogro82/32/5168_2.png) [@rogro82](https://community.homey.app/u/rogro82)\
**Post date:** [January 7, 2025, 8:12pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/401 "2025-01-07T20:12:00Z")

</div>

Thanks for the update!

The latest version immediately sets all groups as unavailable as soon as the app starts. Don’t know if this is an issue on my end (z2m version or anything), but I can no longer control any groups

---

<div class="post-metadata">

**Author:** ![L3nny](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/l3nny/32/102010_2.png) [@L3nny](https://community.homey.app/u/L3nny)\
**Post date:** [January 8, 2025, 2:37am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/402 "2025-01-08T02:37:13Z")

</div>

Same for me. Zigbee Groups can no longer be controlled via homey and z2m

---

<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:** [January 8, 2025, 6:54am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/403 "2025-01-08T06:54:56Z")

</div>

Ill look into it.

---

<div class="post-metadata">

**Author:** ![L3nny](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/l3nny/32/102010_2.png) [@L3nny](https://community.homey.app/u/L3nny)\
**Post date:** [January 8, 2025, 10:58pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/404 "2025-01-08T22:58:46Z")

</div>

Quick Update. I removed all groups and re added them. They were working for a few hours. Now I cannot control them anymore again.  
This issue exists since the last update of the Z2M Homey App. I updated Z2M to the latest version a couple days ago. Everything was working until the recent App update.  
I think I should disable Auto Updates in the future, as there is no way to roll back ☹

---

<div class="post-metadata">

**Author:** ![rogro82](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogro82/32/5168_2.png) [@rogro82](https://community.homey.app/u/rogro82)\
**Post date:** [January 9, 2025, 1:16am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/405 "2025-01-09T01:16:07Z")

</div>

It is possible to manually “fix” it by publishing

```auto
{
  "state": "online"
}

```

to the availability topic of the group e.g. zigbee2mqtt/group\_name/availability

---

<div class="post-metadata">

**Author:** ![rogro82](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogro82/32/5168_2.png) [@rogro82](https://community.homey.app/u/rogro82)\
**Post date:** [January 9, 2025, 1:42am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/406 "2025-01-09T01:42:49Z")

</div>

Ok found out whats happening… If the zigbee2mqtt configuration has no availability setting it will default to availability enabled: false ([Device-Availability | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/configuration/device-availability.html))

If availability is not enabled devices will have no availability topic and thus will not be considered offline in homey, but group availability is determined by the availability of devices in that group ([Device-Availability | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/configuration/device-availability.html#groups)). According to the manual this should work when the availability is enabled, but if availability is not enabled it still (wrongly imo) publishes “offline” to the groups availability topic…

So basically somewhat of a bug on the side of zigbee2mqtt… Would be nice to have an option to disable availability checking entirely in the homey app

I have enabled availability in the zigbee2mqtt configuration and disabled availability for some switches and now everything seems to be working fine again 🙂

---

<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:** [January 9, 2025, 11:12am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/407 "2025-01-09T11:12:07Z")

</div>

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

- Ignore group unavailable/offline.

@rogro82 @L3nny can you please test and let me know?

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

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