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

<div class="post-metadata">

### Author: ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)
#### Post date: [January 8, 2021, 7:36pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2743 "2021-01-08T19:36:44Z")

</div>

My experience with a tilt/vibration sensor on a Velux tilt window was at best doubtful. Your best bet is to act on the tilt and or vibration alarm, which proved more accurate than the tilt angle itself. I found the latter to be close to useless.

A door sensor will probably be way more accurate, but the parts need to be out of the way of the newspapers and other big deliveries so they won’t be pushed off by the postman.

---

<div class="post-metadata">

### Author: ![prosumer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/prosumer/32/166478_2.png) [@prosumer](https://community.homey.app/u/prosumer)
#### Post date: [January 8, 2021, 7:46pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2744 "2021-01-08T19:46:11Z")

</div>

Unfortunately I’m not sure that I will be able to align the door sensor and the magnet in such a way that both the flap being closed and the flap being open will be properly detected.

For reference: I have a flap on both the outside and the inside of the front door. Whichever sensor I use, I plan to use them on the inside, with a flap that resembles this one:

![doorline](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f5cd0c2c987209986f9ac360c4c7462ac5fa63b.jpeg)

(because of the thickness of the frame I think I would need to glue something “behind” the door sensor to align it with the magnet)

Well, I guess I should not cancel my order and just try that vibration sensor first. Worst case I lost around €20, but had some fun tinkering with such a sensor.

BTW: Because I will use such sensors with a Homey I don’t need an Aqara Hub, right?

---

<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: [January 8, 2021, 7:57pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2745 "2021-01-08T19:57:21Z")

</div>

Maybe you could add an door sensor as well and only triger if there is tilt/vibration but no alarm on the door sensor?

---

<div class="post-metadata">

### Author: ![prosumer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/prosumer/32/166478_2.png) [@prosumer](https://community.homey.app/u/prosumer)
#### Post date: [January 8, 2021, 8:10pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2746 "2021-01-08T20:10:40Z")

</div>

I was thinking of using two vibration sensors (one on the flap, one on the door) and do something as you suggested, but using a (real) door sensor for reference is a better idea!

Thanks (though I hope it won’t be necessary).

---

<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: [January 8, 2021, 8:12pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2747 "2021-01-08T20:12:01Z")

</div>

At least you’ve got a backup plan now 😉

---

<div class="post-metadata">

### Author: ![prosumer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/prosumer/32/166478_2.png) [@prosumer](https://community.homey.app/u/prosumer)
#### Post date: [January 8, 2021, 8:13pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2748 "2021-01-08T20:13:33Z")

</div>

Indeed.

All under the assumption I don’t need the Hub, if I have a Homey…

(because I’m not sure I want to buy two sensors and a hub just for this purpose)

---

<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: [January 8, 2021, 8:16pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2749 "2021-01-08T20:16:26Z")

</div>

No, they are both supported bij the app for Homey.  
I have multiple door/window sensors directly connected to Homey.

---

<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: [January 9, 2021, 12:52am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2750 "2021-01-09T00:52:59Z")

</div>

Can’t you stick a doorsensor on the OUTside of the white flap that you posted earlier (on the inside of the door)? That way the sensor is not in the way of thick newspapers. The sensor is then lifted and can make contact with the magnet that you stick on top op the white flap (the part that does not tilt).

In Homey you might want to reverse the action (setting of the added sensor device), so the sensor shows as closed normally and shows open as the mailman delivers.

Might take a bit fuzzing with the right location, but should be doable.  
And the flap won’t open so far if you slam the door (a bit). Especially with the extra weight of the sensor on it.  
If the magnet is heavier, you can of course switch sensor and magnet too…

---

<div class="post-metadata">

### Author: ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)
#### Post date: [January 9, 2021, 1:10am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2751 "2021-01-09T01:10:56Z")

</div>

@prosumer

> [@prosumer](#):
>
> For reference: I have a flap on both the outside and the inside of the front door. Whichever sensor I use, I plan to use them on the inside, with a flap that resembles this one:
> 
> ![doorline](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f5cd0c2c987209986f9ac360c4c7462ac5fa63b.jpeg)
> 
> (because of the thickness of the frame I think I would need to glue something “behind” the door sensor to align it with the magnet)

If I use an aqara door sensor and I hold them together on the long sides and lift the sensor part then I can lift it up to 2 centimeters and the contact is still not broken.  
So there can be quite a bit of height difference in the magnet and sensor.  
Don’t have to sit exactly against each other.

---

<div class="post-metadata">

### Author: ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)
#### Post date: [January 9, 2021, 7:38am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2752 "2021-01-09T07:38:01Z")

</div>

Exactly, so by varying the distance you can finetune sensitivity. I use that the opposite way: at a few windows I have two sensors, that that detects if it’s open even a little bit, and one less sensitive (placed more in the direction of the hinge) that won’t trigger until the window is further open. That way I can tell if it’s ajar.

If it’s wide open I can’t close the roller blinds, and I have Homey warn me when it starts raining, or when it’s really hot to open or close it to keep the house as cool as possible.

---

<div class="post-metadata">

### Author: ![Wout-1976](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout-1976/32/175413_2.png) [@Wout-1976](https://community.homey.app/u/Wout-1976)
#### Post date: [January 9, 2021, 8:16pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2753 "2021-01-09T20:16:06Z")

</div>

After an update from the app some flows dont work.  
The flow where the Aqara device stands says: this card is unavailable.

But the Aqara device still exist.  
After adding the device the flow works again.

---

<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: [January 9, 2021, 8:32pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2754 "2021-01-09T20:32:16Z")

</div>

Can you be a bit more specific? Which app update and which device / flow card do you mean?

---

<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: [January 10, 2021, 5:17pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2755 "2021-01-10T17:17:32Z")

</div>

I have based on cover text Aquara WXKG12LM but when I add it, it seems it’s added as WXKG11LM - as I can use only scenes : ‘Key Pressed 1 time’, ‘Key Pressed 2 times’, ‘Key Pressed 3 times’, ‘Key Pressed 4 times’ - and it’s added as lumi.sensor\_switch.aq2 - I guess in this case it’s fake WXKG12LM without gyro, any thought ?

---

<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: [January 10, 2021, 5:27pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2756 "2021-01-10T17:27:43Z")

</div>

> [@Sharkys](#):
>
> I have based on cover text Aquara WXKG12LM but when I add it, it seems it’s added as WXKG11LM - as I can use only scenes : ‘Key Pressed 1 time’, ‘Key Pressed 2 times’, ‘Key Pressed 3 times’, ‘Key Pressed 4 times’ - and it’s added as lumi.sensor\_switch.aq2 - I guess in this case it’s fake WXKG12LM without gyro, any thought ?

The WXKG12LM should identify itself as `lumi.sensor_switch.aq3`.

If it doesn’t and it’s identifying itself as `lumi.sensor_switch.aq2` it isn’t a true wireless switch with Gyro.

---

<div class="post-metadata">

### Author: ![Wout-1976](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout-1976/32/175413_2.png) [@Wout-1976](https://community.homey.app/u/Wout-1976)
#### Post date: [January 10, 2021, 6:58pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2757 "2021-01-10T18:58:08Z")

</div>

I did send you an mail in Dutch 😉

---

<div class="post-metadata">

### Author: ![prosumer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/prosumer/32/166478_2.png) [@prosumer](https://community.homey.app/u/prosumer)
#### Post date: [January 12, 2021, 8:09pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2758 "2021-01-12T20:09:28Z")

</div>

Received the Aqara vibration sensor, but I’m unable to add it:

- If I press the reset button for more than 5 seconds, as instructed by the App, the blue light flashes only twice, instead of 3 times. Nothing else happens.
- If I only briefly press the reset button, the blue light flashes once. Nothing else happens.
- If I first press the reset button for more than 5 seconds, release it, and briefly press it again, the blue light does flash 3 times. The App then says a device will be added, but it times out every time I try.

Tips?

---

<div class="post-metadata">

### Author: ![prosumer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/prosumer/32/166478_2.png) [@prosumer](https://community.homey.app/u/prosumer)
#### Post date: [January 12, 2021, 9:04pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2759 "2021-01-12T21:04:56Z")

</div>

Someone on Reddit mentioned repeatedly pressing the button. That seems to have done the trick!

I’m not sure how accurate the sensor is. Does not always seem to detect tilt, even I completely open the flap (move the sensor 90 degrees).

What’s the title reference vector in the advanced settings?

---

<div class="post-metadata">

### Author: ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)
#### Post date: [January 12, 2021, 10:00pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2760 "2021-01-12T22:00:43Z")

</div>

If you check “set tilt vector”, save the advanced options, and then tilt the device to the default position and leave it still, angles will reset to 0. The offsets are saved in the advanced options.

---

<div class="post-metadata">

### Author: ![Sjalabert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjalabert/32/11432_2.png) [@Sjalabert](https://community.homey.app/u/Sjalabert)
#### Post date: [January 13, 2021, 7:54am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2761 "2021-01-13T07:54:02Z")

</div>

This was a great tip. I had some issues with 2 temp sensors. Now i pushed every second on the button (after 3 times blinking). And they are added!

---

<div class="post-metadata">

### Author: ![prosumer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/prosumer/32/166478_2.png) [@prosumer](https://community.homey.app/u/prosumer)
#### Post date: [January 13, 2021, 8:50am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/2762 "2021-01-13T08:50:59Z")

</div>

What do the 3 values for the tilt reference vector mean?

(Current values are `90,90,0`)

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

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