# Aqara vibration sensor and window shutters flow

**URL:** <https://community.homey.app/t/aqara-vibration-sensor-and-window-shutters-flow/14870>\
**Category:** Questions & Help\
**Created:** [June 26, 2019, 6:56pm UTC](https://community.homey.app/t/aqara-vibration-sensor-and-window-shutters-flow/14870 "2019-06-26T18:56:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marius\_van\_der\_Werff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_van_der_werff/32/8815_2.png) [@Marius\_van\_der\_Werff](https://community.homey.app/u/Marius_van_der_Werff)\
**Post date:** [June 26, 2019, 6:56pm UTC](https://community.homey.app/t/aqara-vibration-sensor-and-window-shutters-flow/14870/1 "2019-06-26T18:56:55Z")

</div>

Hi there,

can someone help me with a flow?

What I want is to let the shutters (somfy) go up when the sun is down but only when my tilted window is closed. If got a aqara vibration sensor mounted on the window and it detects the angle if the window is open.

I thought to create a flow: When sunset and Sensor angle is … then close the shutter but I cant select anything but battery level in the vibration sensor.

Maybe someone had an idea?

Regards Marius

---

<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:** [June 26, 2019, 7:07pm UTC](https://community.homey.app/t/aqara-vibration-sensor-and-window-shutters-flow/14870/2 "2019-06-26T19:07:15Z")

</div>

Get urself a logic card in the AND part and pick “Is less than” . Then find the tag of the sensor:

![chrome_2019-06-26_21-04-56](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d4373655fd2814164e8c3c9a40a69f043f61d5ec.png)

---

<div class="post-metadata">

**Author:** ![Marius\_van\_der\_Werff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_van_der_werff/32/8815_2.png) [@Marius\_van\_der\_Werff](https://community.homey.app/u/Marius_van_der_Werff)\
**Post date:** [June 26, 2019, 7:24pm UTC](https://community.homey.app/t/aqara-vibration-sensor-and-window-shutters-flow/14870/3 "2019-06-26T19:24:42Z")

</div>

Great that did the trick thanks !!!

---

<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:** [June 26, 2019, 7:25pm UTC](https://community.homey.app/t/aqara-vibration-sensor-and-window-shutters-flow/14870/4 "2019-06-26T19:25:15Z")

</div>

Anytime.
