# Aqara windows sensor - How to create a flow to stop alarm?

**URL:** <https://community.homey.app/t/aqara-windows-sensor-how-to-create-a-flow-to-stop-alarm/61225>\
**Category:** Devices\
**Tags:** flow\
**Created:** [March 1, 2022, 6:20pm UTC](https://community.homey.app/t/aqara-windows-sensor-how-to-create-a-flow-to-stop-alarm/61225 "2022-03-01T18:20:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DV76](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dv76/32/34271_2.png) [@DV76](https://community.homey.app/u/DV76)\
**Post date:** [March 1, 2022, 6:20pm UTC](https://community.homey.app/t/aqara-windows-sensor-how-to-create-a-flow-to-stop-alarm/61225/1 "2022-03-01T18:20:29Z")

</div>

I have installed an Aqara windows sensor on a mailbox where I will receive a signal when it opens. However, I have a problem with the alarm not returning to normal status.  
Is there flow to set to return to “normal” mode?

Any tips?

---

<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:** [March 1, 2022, 6:47pm UTC](https://community.homey.app/t/aqara-windows-sensor-how-to-create-a-flow-to-stop-alarm/61225/2 "2022-03-01T18:47:44Z")

</div>

Assuming that the Aqara app didn’t suddenly develop a bug, the issue is with either the sensor not resetting itself back to normal or (more likely) Homey not receiving the signal.

Could the sensor be located on the edge of your Zigbee network (so any interference might cause issues)? Or is the magnet perhaps not positioned close enough to the sensor that it may miss the closing of the mailbox?
