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

<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 22, 2020, 6:31pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2313 "2020-10-22T18:31:52Z")

</div>

> [@Sharkys](#):
>
> Anyone using double-tap on this device?

It’s not double tapping **on** the device, it is double tapping **with** the device. As in knocking with the cube on the table…

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 22, 2020, 6:47pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2314 "2020-10-22T18:47:39Z")

</div>

Wow, you are right. Definitively not going to use that, that will damage table and-or cube 😉  
Thank you Ted!

---

<div class="post-metadata">

**Author:** ![Max\_Menther](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/max_menther/32/31562_2.png) [@Max\_Menther](https://community.homey.app/u/Max_Menther)\
**Post date:** [October 22, 2020, 8:01pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2315 "2020-10-22T20:01:49Z")

</div>

Hello Ted,

I‘ve a question about the Aqara Motion Sensor.  
Why is the lowest setting at „Disable Motion Alarm After“ 60 seconds?  
Is there a reason, that I can‘t set lower values?

I checked the drivers code and could find the setting:

“settings”: [  
{  
“id”: “alarm\_motion\_reset\_window”,  
“type”: “number”,  
“label”: {  
“en”: “Disable motion alarm after”,  
“nl”: “Schakel bewegingsalarm uit na”  
},  
“hint”: {  
“en”: “This setting will disable the motion alarm after the given time (in seconds) has expired. Every time motion is observed by the device it will reset this timeout.\nRange: 60 - 86400, default: 300 [s]”,  
“nl”: “Deze instelling zal het bewegingsalarm uitschakelen na de tijd (in seconden) is verstreken. Elke keer dat opnieuw beweging wordt gedetecteerd wordt deze timer herstart.\nBereik: 60 - 86400, Standaard: 300 [s]”  
},  
“value”: 300,  
“attr”: {  
“min”: 60,  
“max”: 86400  
}

What‘s going to happen with lower setting than 60 seconds?

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [October 22, 2020, 8:45pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2316 "2020-10-22T20:45:58Z")

</div>

Read a bit back in the topic:

> [@\[APP\] Aqara & Xiaomi Smart Home - A different kind of Smart Home solution (Zigbee App)](https://community.homey.app/t/aqara-xiaomi-smart-home-zigbee-app-v0-8-0-test-v1-1-4/156/1176):
>
> When i look in advanced settings i can only change “Schakel bewegingsalarm uit na” to a minimum of 60 seconds. When i take a lower value then 60 the app not accept it.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 22, 2020, 8:58pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2317 "2020-10-22T20:58:02Z")

</div>

> **[Making Xiaomi Motion Sensor a Super Motion Sensor](https://community.smartthings.com/t/making-xiaomi-motion-sensor-a-super-motion-sensor/139806)**
>
> Usually Xiaomi motion sensor is detected every two minutes. But with a little work, you can change that time to 5 seconds. A year ago I made my Xiaomi motion sensors to Super motion sensors. Even after a year, Xiaomi motion sensors are working very...

---

<div class="post-metadata">

**Author:** ![Hannes85](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@Hannes85](https://community.homey.app/u/Hannes85)\
**Post date:** [October 22, 2020, 9:12pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2319 "2020-10-22T21:12:54Z")

</div>

If you’d read the quote (and replies on them) from Peter you’d know that this is a physical limitation by the xiaomi motion sensors so allowing it in Homey’s aqara code doesn’t make it respond any faster than every 60 seconds, hence to prevent confusion it is hardcoded

---

<div class="post-metadata">

**Author:** ![Max\_Menther](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/max_menther/32/31562_2.png) [@Max\_Menther](https://community.homey.app/u/Max_Menther)\
**Post date:** [October 22, 2020, 9:13pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2320 "2020-10-22T21:13:36Z")

</div>

@Sharkys  
My information is, that the threshold is 60 seconds, not 120.

And as far I know, the sensor can just report activity, NOT inactivity.

Basically it wouldn‘t brake anything when the threshold for inactivity is set to a value below 60 seconds.  
It would just mean, that you have to wait for 60 seconds until the motion sensor can detect a new motion.

---

<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 22, 2020, 9:17pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2321 "2020-10-22T21:17:08Z")

</div>

@Max_Menther can you please read the info being provided?

---

<div class="post-metadata">

**Author:** ![Max\_Menther](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/max_menther/32/31562_2.png) [@Max\_Menther](https://community.homey.app/u/Max_Menther)\
**Post date:** [October 22, 2020, 9:17pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2322 "2020-10-22T21:17:13Z")

</div>

@Hannes85 tks, for hint, I just red the quoted message  
@PetervdK sry for the misunderstanding

---

<div class="post-metadata">

**Author:** ![Max\_Menther](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/max_menther/32/31562_2.png) [@Max\_Menther](https://community.homey.app/u/Max_Menther)\
**Post date:** [October 22, 2020, 9:21pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2323 "2020-10-22T21:21:10Z")

</div>

I did and now itˋs clear why you hardcoded the lower limit.  
Sorry for the inconvenience.

---

<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 22, 2020, 9:33pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2324 "2020-10-22T21:33:34Z")

</div>

Good, we’re getting there… 😉

Then you’ll also noticed the pencil hack and corresponding advanced setting, that will overrule the lower limit and provide the option you’re looking for.

---

<div class="post-metadata">

**Author:** ![Max\_Menther](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/max_menther/32/31562_2.png) [@Max\_Menther](https://community.homey.app/u/Max_Menther)\
**Post date:** [October 22, 2020, 9:45pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2325 "2020-10-22T21:45:11Z")

</div>

Tks, for help✌️

Do you check/accept pulls on Git?  
I could support a bit and add/complete the german translations.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 22, 2020, 9:53pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2326 "2020-10-22T21:53:01Z")

</div>

A pity though we can’t get. lux values out of the motion sensor, as its reported only upon motion…

---

<div class="post-metadata">

**Author:** ![Max\_Menther](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/max_menther/32/31562_2.png) [@Max\_Menther](https://community.homey.app/u/Max_Menther)\
**Post date:** [October 22, 2020, 9:56pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2327 "2020-10-22T21:56:12Z")

</div>

I agree, but maybe there will be a hack for that in the future too.

---

<div class="post-metadata">

**Author:** ![rvdeijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rvdeijk/32/22542_2.png) [@rvdeijk](https://community.homey.app/u/rvdeijk)\
**Post date:** [October 23, 2020, 4:27am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2328 "2020-10-23T04:27:30Z")

</div>

But is it possible to do the following?

1. When motion is detected
2. And lux is lower than X lx
3. Then turn on the light with X % (based on lux value that will be read during step1)?

Cause that would be nice for my entrance, hallway.

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [October 23, 2020, 4:56am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2329 "2020-10-23T04:56:12Z")

</div>

The Lux only gets updated at motion, so if it is night but the last motion was during day, the last value is a high lux. After it detects motion then it updated the lux value to 0 for example.

You could built in a delay. Movement is detected, start other flow with delay of 1 second and have that flow turn in the light based on the lux.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [October 23, 2020, 5:21am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2330 "2020-10-23T05:21:32Z")

</div>

Or if he create a flow like (When X zone gets active, and lux is below X then turn on X light)  
It will work great as well, i use my aqara sensors like this and it never fails.  
I believe homey receives the lux update slightly sooner then it sets the zones to active so it always has the current lux updated for this scenario  
(That is of course, if setting a zone active is possible for it’s needs, if need just a specific sensor, then what i sayd worths nothing 😅)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 23, 2020, 5:40am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2331 "2020-10-23T05:40:09Z")

</div>

Or creating variable - 0 or 1 - that’s how I’m using it.  
All lights have condition to turn on only when this variable equals to 1 - and that variable is set based on several factors : lux/luminance values &time, sunset event & month or light percentage from Weather forecast etc.  
But here we are sightly off topic already.

---

<div class="post-metadata">

**Author:** ![Onno\_Sloof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/onno_sloof/32/17168_2.png) [@Onno\_Sloof](https://community.homey.app/u/Onno_Sloof)\
**Post date:** [October 23, 2020, 7:25am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2332 "2020-10-23T07:25:34Z")

</div>

Hi Ted,

I recently installed version 0.8.1 thru CLI so I could add 2 lumi.sen\_ill.mgl01 light sensors from XIAOMI.  
This is working great and the devices are recognized by adding.  
But in the Advanced settings there are properties to set motion detection while this device doesn’t have motion detection. Also it’s possible to set Hacked sensor.  
Is this correct?  
The light sensor is sending an update every 10 minutes, but there is no setting to change this to for example 1 minute.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [October 23, 2020, 7:47am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2333 "2020-10-23T07:47:06Z")

</div>

I have the same advanced settings with v1.1.4 experimental and Homey FW rc38. I guess this isn’t correct.  
But the light values are refreshed approximately every 1-2 seconds.

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

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

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