# \[APP\] Aqara & Xiaomi Smart Home - Simplify your life with a smarter home

**URL:** <https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156>\
**Category:** Apps\
**Tags:** app, zigbee\
**Created:** [August 22, 2018, 8:18pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156 "2018-08-22T20:18:09Z")\
**Posts on this page:** 20\
**Page:** 55

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [October 15, 2019, 4:44am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1147 "2019-10-15T04:44:58Z")

</div>

@erik.fisher thanks, much appreciated!  
The Aqara B1 controller is in transit; hopefully delivered soon.

---

<div class="post-metadata">

**Author:** ![erik.fisher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik.fisher/32/8299_2.png) [@erik.fisher](https://community.homey.app/u/erik.fisher)\
**Post date:** [October 15, 2019, 6:03am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1148 "2019-10-15T06:03:46Z")

</div>

@TedTolboom That is awesome to hear! Looking forward to it:) Let me know if I can be if any assistance!

---

<div class="post-metadata">

**Author:** ![Igy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/igy/32/22144_2.png) [@Igy](https://community.homey.app/u/Igy)\
**Post date:** [October 16, 2019, 6:41am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1150 "2019-10-16T06:41:51Z")

</div>

English please.

---

<div class="post-metadata">

**Author:** ![chinswain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chinswain/32/8047_2.png) [@chinswain](https://community.homey.app/u/chinswain)\
**Post date:** [October 16, 2019, 10:31pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1151 "2019-10-16T22:31:25Z")

</div>

I have the same issue since the update, 7 motion sensors were very reliable but now very unstable.

---

<div class="post-metadata">

**Author:** ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)\
**Post date:** [October 17, 2019, 2:32am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1152 "2019-10-17T02:32:37Z")

</div>

Hmm, I’ve had my aqara motion sensors becoming slow responding in homey too.  
They seem to take longer than before since the update… I wondering what’s causing this.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [October 17, 2019, 9:06pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1153 "2019-10-17T21:06:33Z")

</div>

Hope this question isn’t answered yet. At least, I cannot find it.

I just installed a Motion sensor with lux meter from Aqara.  
Ik can make a flow with:  
WHEN the zone has become active  
AND it is after sunset  
THEN turn on lights.

Here I would like to replace the AND value to “light intensity is below “.  
The room is quite dark already, so “after sunset” it too late. With the suggestion above I am far more flexible.

There seems to be no such trigger. Am I doing something wrong, or is it not possible. Or is this a good suggestion for implementation in a next version?

Thx!

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kevin/32/7999_2.png) [@Kevin](https://community.homey.app/u/Kevin)\
**Post date:** [October 17, 2019, 9:43pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1154 "2019-10-17T21:43:29Z")

</div>

You have to use Logic to create such a flow.  
When motion alarm is activated AND brightness of sensor is below xx (using logic) THEN turn on lights

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

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [October 17, 2019, 10:04pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1155 "2019-10-17T22:04:54Z")

</div>

Thx @Kevin !  
Never done much yet with logic. But will look into it!  
Doesn’t seem too difficult.

---

<div class="post-metadata">

**Author:** ![Stievo9997](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stievo9997/32/12658_2.png) [@Stievo9997](https://community.homey.app/u/Stievo9997)\
**Post date:** [October 21, 2019, 7:44am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1156 "2019-10-21T07:44:35Z")

</div>

Hi all,

I bought an Aqara Wireless switch (WXKG11LM, productID `sensor_switch.aq2` )  
I installed the xiaomi / aqara smart app on Homey. And i added the Aqara switch. Once this was done, i checked in advanced setting the productID, in order the know which one i had and if i had choosen the correct one.

Only the problem is, i cant get the button working. It just wont trigger a flow. i use the if “a scene is actived” card. But i tried the other ones as well, but they dont work either.

It gives the battery status and the following values:

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

i’ve tried a few times to delete the device and reconnect it, also leaved the Homey unplugged for 10 min and then tried again, all with no luck.

When i press the button on the switch, it flashes quick 2 times blue, i dont know what the normal behavior should be?

Anybody who can point me in the right direction, to get it to work?. I searched about this problem, but i couldn’t find a relative topic or solution.

Homey version 2.5.2 (early 2016)

---

<div class="post-metadata">

**Author:** ![Snippem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/snippem/32/12631_2.png) [@Snippem](https://community.homey.app/u/Snippem)\
**Post date:** [October 21, 2019, 8:04am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1157 "2019-10-21T08:04:47Z")

</div>

I presume you have more zigbee devices ?? (Router devices)  
Also distance is not a isseu??  
More info is needed.

---

<div class="post-metadata">

**Author:** ![Stievo9997](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stievo9997/32/12658_2.png) [@Stievo9997](https://community.homey.app/u/Stievo9997)\
**Post date:** [October 21, 2019, 8:12am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1158 "2019-10-21T08:12:54Z")

</div>

No, this is my first zigbee device. The house is provided with KNX, so the most of the devices are controlled with KNX. Further i use the 433 mhz protocol for a KlikAanKlikUit(acm-100) dimmer, and a doorsensor (neo coolcam (z-wave)

I tried everything within max 1 to 2 meters between the 2 devices (homey & switch)

---

<div class="post-metadata">

**Author:** ![Snippem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/snippem/32/12631_2.png) [@Snippem](https://community.homey.app/u/Snippem)\
**Post date:** [October 21, 2019, 8:17am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1159 "2019-10-21T08:17:24Z")

</div>

If do not have any other devices on zigbee i would remove the switches and the aqara app.  
Than reset the zigbee network and readd the switches.  
Ignore the the screen where it says that something is wrong when you reset the zigbee network.  
Also reboot after resetting before adding devices.

---

<div class="post-metadata">

**Author:** ![Stievo9997](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stievo9997/32/12658_2.png) [@Stievo9997](https://community.homey.app/u/Stievo9997)\
**Post date:** [October 21, 2019, 8:46am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1160 "2019-10-21T08:46:26Z")

</div>

Individual i tried those options, and indeed i got an error when resetting zigbee network. (ebadf bad file descriptor)  
But let me try it in the order as you mentioned, will be reporting back. Thanks

---

<div class="post-metadata">

**Author:** ![Erik\_M\_Madsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik_m_madsen/32/18191_2.png) [@Erik\_M\_Madsen](https://community.homey.app/u/Erik_M_Madsen)\
**Post date:** [October 21, 2019, 12:48pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1161 "2019-10-21T12:48:26Z")

</div>

Could be handy if we could the whole flow, and not just: a scen has been activated 😉

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [October 22, 2019, 5:09am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1162 "2019-10-22T05:09:34Z")

</div>

Does the device have more flow triggers?

---

<div class="post-metadata">

**Author:** ![Stievo9997](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stievo9997/32/12658_2.png) [@Stievo9997](https://community.homey.app/u/Stievo9997)\
**Post date:** [October 22, 2019, 6:49am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1163 "2019-10-22T06:49:06Z")

</div>

So i tried it in the following order: remove the switch, deleted the Aqara app, reset zigbee network, deleted the flow, reinstalled Aqara app, reboot devices. added the switch again, made flow again --\> butt it still doesn’t work.

The device has only one flow to it:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/9140f92d6e8949db288ce1f4a7821ba3600618ce.jpeg)

p.s. yesterday i bought an hue dimmer switch, (with the same intention : to trigger flows) and i connected it directly to homey with the “Philips Hue ZigBee” app. and that works flawless. So i dont assume there’s no problem within the zigbee protocol.

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [October 22, 2019, 2:07pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1164 "2019-10-22T14:07:50Z")

</div>

Does the Aqara wireless switch have more triggers (Dutch: ‘als’ kaartjes).

---

<div class="post-metadata">

**Author:** ![Stievo9997](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stievo9997/32/12658_2.png) [@Stievo9997](https://community.homey.app/u/Stievo9997)\
**Post date:** [October 22, 2019, 6:46pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1165 "2019-10-22T18:46:07Z")

</div>

Yes they have, see picture. I tried all of them, yet with no luck.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/2/82ab958894ae96acbe305ac9e1936de3af03180a.jpeg)

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [October 22, 2019, 6:52pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1166 "2019-10-22T18:52:17Z")

</div>

And u also tried the device very close to Homey to check if it’s a distance or interference problem?  
2 meters is not very close, just for ur info.

---

<div class="post-metadata">

**Author:** ![Stievo9997](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stievo9997/32/12658_2.png) [@Stievo9997](https://community.homey.app/u/Stievo9997)\
**Post date:** [October 23, 2019, 6:33am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1167 "2019-10-23T06:33:16Z")

</div>

Oke, but yes i tried it aswell, with the switch only a few centimeters removed from the homey. I had it also on top of the homey with testing.

[Previous page](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156.md?page=54)

[Next page](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156.md?page=56)
