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

<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 9, 2023, 9:10am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/83 "2023-08-09T09:10:49Z")

</div>

> [@Gruijter](#):
>
> @Kringloper can you please check the new trigger flowcards?

Yes, working. Thanks!

---

<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 18, 2023, 7:39am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/84 "2023-08-18T07:39:25Z")

</div>

Verry happy with this zigbee2mqtt implementation. It made it possible to easily integrate zigbee devices which aren’t yet supported by a Homey app.

I’ve even learned how to integrate external connectors for devices which aren’t implemented in the regular version 😉.

My mmwave sensors are working and I use the detection functionality within flows as wanted. However, somehow the detection is not registered as zone activity. I’ve set the type as ‘sensor’.

Just wondering if there has to be set something to connect the alarm capability to the zone activity setting.  
First a quick check here before I create a support issue for Athom.

---

<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 20, 2023, 2:51pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/85 "2023-08-20T14:51:09Z")

</div>

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

- Typo fixes.
- Added trigger flowcard.
- Stability improvements

---

<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 20, 2023, 2:52pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/86 "2023-08-20T14:52:27Z")

</div>

> [@Kringloper](#):
>
> Just wondering if there has to be set something to connect the alarm capability to the zone activity setting.

I did not create anything special for this in the app. Maybe there is a standard Homey setting for this?

---

<div class="post-metadata">

**Author:** ![Deroy](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@Deroy](https://community.homey.app/u/Deroy)\
**Post date:** [August 20, 2023, 6:14pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/87 "2023-08-20T18:14:41Z")

</div>

hey

alarm\_motion and alarm\_contact trigger a zone activity at Homey.

sub-capabilities do not trigger Homey functions.

The same is with flows with "Turn all lights in zone X on“.  
onoff.l1 is not triggered.

However, I do not know whether it is possible to manually integrate the functions for sub-capabilities as a flow in the app.

---

<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 23, 2023, 1:41pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/88 "2023-08-23T13:41:25Z")

</div>

> [@Gruijter](#):
>
> Maybe there is a standard Homey setting for this?

The only difference as far as i can see is a setting (“zone\_activity\_disabled”:bool false). I can find this line in other motion sensors, but not in the setting for the MMWave sensor i connected through the zigbee2mqtt app.

I tried to solve it via Homeyscript, but didn’t succeed.

```auto
"settings":{7 items
"uid":string"---- dummy ---------------"
"friendly_name":string"MotionMMWave_A"
"bridge_uid":string"------dummy --------"
"model":string"TS0225"
"description":string"24Ghz human presence sensor"
"homeyclass":string"sensor"
"energy_value_constant":int0
}

```

vs. a Ikea motion sensor

```auto
"settings":{10 items
"zb_product_id":string"TRADFRI motion sensor"
"zb_manufacturer_name":string"IKEA of Sweden"
"zb_receive_when_idle":string"⨯"
"zb_device_type":string"enddevice"
"zb_ieee_address":string"---- dummy --------"
"zb_sw_build_id":string"2.0.022"
"zb_touchlink_group_ids":string""
"enable_battery_alarm":boolfalse
"energy_value_constant":NULL
"zone_activity_disabled":boolfalse
}

```

---

<div class="post-metadata">

**Author:** ![Jegern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jegern/32/43296_2.png) [@Jegern](https://community.homey.app/u/Jegern)\
**Post date:** [August 29, 2023, 6:12pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/89 "2023-08-29T18:12:13Z")

</div>

Hi,

I have some IKEA Trådfri 5 button remotes that send the same “action” attribute value when the same button is pushed several times. The center button has the “action” attribute value “toggle”. I see that the MQTT messages are published if I press the same button over and over, but in Homey there is only the option to trigger on a change in the “action” attribute. This means I can’t use the same button to actually toggle a light, since the second press does not change the “action” attribute.

In the case of this type of remote, the maybe the MQTT messages should be treated like events and not state changes? Maybe I am doing something wrong?

---

<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 29, 2023, 7:03pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/90 "2023-08-29T19:03:12Z")

</div>

> [@Jegern](#):
>
> messages should be treated like events and not state changes

I could introduce a change for this. But my backlog is huge (I am maintaining 20+ apps). So hope I dont forget about it when I get around working on a next release.

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [August 30, 2023, 8:29am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/91 "2023-08-30T08:29:29Z")

</div>

Good morning,

Very nice & stable (base of an)

Sorry if this was already asked/requested :

Could you PLEASE ADD conditions/ as “AND” for motion and presence sensors sI can check the state of a motion or presence alarm and act on its condition (ON /OFF)

Like "when I push a (aqara) button) AND (/ CONDITION) there is a Motion / Presence ALARM ON / or OFF then …

Until now I can only check the Battery Percentage of some only a few but not all Motion sensors/alarms as a condition.(The mmwave/presence sensors don’t show up at all. So also don’t the aqara P1 motion sensors. as the “AND” /CONDITION )

Be happy test it with mu several different Presence an motion sensors and report to you.

THANK YOU.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [August 30, 2023, 9:12am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/92 "2023-08-30T09:12:20Z")

</div>

Did you check that there isn’t any tags fir the logic-cards?

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [August 30, 2023, 11:38am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/93 "2023-08-30T11:38:40Z")

</div>

Sorry. I Don’t undersatnd what you mean.

Do you mean just no support (for now) or never in your Zigbee2MQTT app ?

---

<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:** [August 30, 2023, 11:42am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/94 "2023-08-30T11:42:22Z")

</div>

> [@DoctorBazinga](#):
>
> I Don’t undersatnd what you mean.

You don’t know what tags are for logic cards?

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [August 30, 2023, 11:44am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/95 "2023-08-30T11:44:31Z")

</div>

Only my (Old) Osram Lightify Motion sensor shows up (with only the battery (low) alarm as a condition/logic instead the Aqars P1 motion and the Aqara FP1 presence/mmwave sensor which are in the same area/room.

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

this is the En/AND/Logic/Conditional card/tag (menu) in the webinterface …

I can send you the links of the devices from the Zigbee2MQTT website if that helps.

Red Iphonitis rigorosa : level 11

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [August 30, 2023, 11:59am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/96 "2023-08-30T11:59:58Z")

</div>

Ok. These are my Motion and Presence/mmwave sensors connected and fully funtional on my HA MQTT Broker and ist ZigBee2MQTT instance :

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

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

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

> **[TuYa TS0601\_human\_presence\_sensor control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/TS0601_human_presence_sensor.html#tuya-ts0601_human_presence_sensor)**
>
> Integrate your TuYa TS0601\_human\_presence\_sensor via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway.

> **[TuYa ZY-M100-S\_2 control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/ZY-M100-S_2.html#tuya-zy-m100-s_2)**
>
> Integrate your TuYa ZY-M100-S\_2 via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway.

and only the Osram motion sensor shows up in the AND/Conditoinal/Logic tab/menu 🙂 [OSRAM AC01353010G control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/AC01353010G.html#osram-ac01353010g)

I Use a this USB Dongle on my HAOS & HA system (A Dell 3040 Think Client) with Zigbee2MQTT (for HA) : [**Sonoff | ZigBee 3.0 | Dongle Plus-E**](https://www.sonoff.nl/a-69234890/accessoires/sonoff-zigbee-3-0-dongle-plus-e/#description)

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [August 30, 2023, 12:04pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/97 "2023-08-30T12:04:03Z")

</div>

Sorry for the SPAM. Don’t know I I made it clear/detailed enough.

Thank You

---

<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:** [August 30, 2023, 12:13pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/98 "2023-08-30T12:13:31Z")

</div>

> [@Tag Basics for the absolute beginner](https://community.homey.app/t/tag-basics-for-the-absolute-beginner/11896):
>
> Homey uses “Tags” to save information / data that you can reuse in your flows. A tag is a variable and can be one of the following types: String, Number, Boolean or Image. A variable is a placeholder for a value that can be changed while the flow is running. By using variables the information that is retrieved from a device or calculated in a flow can, in the form of Tags, be used elsewhere in the same flow or in another flow. Some variables are set by devices or functions, such as e.g. tempe…

Look for tags that are made available to the regular Logic cards.

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

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [August 30, 2023, 12:18pm UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/99 "2023-08-30T12:18:23Z")

</div>

OK Thanks. I"ll try that. Keep you posted (if that works).

---

<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:** [September 2, 2023, 10:15am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/100 "2023-09-02T10:15:18Z")

</div>

> [@Jegern](#):
>
> second press does not change the “action” attribute.

This will be changed in the next release. When an action is (re-)triggered, the content of ACTION will always briefly change, and thus it will always trigger the flow card now.

---

<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:** [September 2, 2023, 11:04am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/101 "2023-09-02T11:04:41Z")

</div>

> [@Deroy](#):
>
> manually integrate the functions for sub-capabilities as a flow in the app.

I tried all I could. Not possible it seems. I think it is a bug in Homey itself that subcapabilities like `alarm_motion.vibration` do not trigger zone activity.

---

<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:** [September 2, 2023, 11:12am UTC](https://community.homey.app/t/app-pro-zigbee2mqtt-use-zigbee-devices-via-mqtt/83214/102 "2023-09-02T11:12:36Z")

</div>

v2.0.3 is published 🎉

- Actions are now always triggered, even when action didn’t change.
- Stability improvements

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

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