# Garage door monitor

**URL:** https://f.ruuvi.com/t/garage-door-monitor/3800
**Category:** 🇬🇧 Tell about your own use-case
**Created:** [27 October 2019 23:37 UTC](https://f.ruuvi.com/t/garage-door-monitor/3800 "2019-10-27T23:37:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dgerman](https://f.ruuvi.com/user_avatar/f.ruuvi.com/dgerman/32/154_2.png) [@dgerman](https://f.ruuvi.com/u/dgerman)
#### Post date: [27 October 2019 23:37 UTC](https://f.ruuvi.com/t/garage-door-monitor/3800/1 "2019-10-27T23:37:53Z")

</div>

Attached a Ruuvi to garage door and “watched” the door open and close!

Now if it’s late in the evening and I forgot to close the garage door I get a reminder!

influxdb command:

> select accelerationZ from ruuvi\_measurements where time \> ‘2019-10-27 17:30:34’ and mac = ‘D6F3DADAC85E’ and time \< ‘2019-10-27 18:22:00’ limit 50 tz(‘America/New\_York’)

See GarageDoorOpen-closeGraph.png[Graph](http://MyBeacons.info/GarageDoorOpen-closeGraph.png)

[RuuviTagOnGarageDoor](http://mybeacons.info/GarageDoorRuuvi.png)

[GarageDoorClosing](http://mybeacons.info/GarageDoorClosing.MOV)

Maybe I’ll give a Ruuvi to my neighbor( I can monitor that one too), he leaves the door open more often than I do!

---

<div class="post-metadata">

### Author: ![ptrapnes](https://f.ruuvi.com/user_avatar/f.ruuvi.com/ptrapnes/32/485_2.png) [@ptrapnes](https://f.ruuvi.com/u/ptrapnes)
#### Post date: [28 October 2019 11:45 UTC](https://f.ruuvi.com/t/garage-door-monitor/3800/2 "2019-10-28T11:45:27Z")

</div>

Did you add the postbox check also 🙂

---

<div class="post-metadata">

### Author: ![dgerman](https://f.ruuvi.com/user_avatar/f.ruuvi.com/dgerman/32/154_2.png) [@dgerman](https://f.ruuvi.com/u/dgerman)
#### Post date: [28 October 2019 11:53 UTC](https://f.ruuvi.com/t/garage-door-monitor/3800/3 "2019-10-28T11:53:00Z")

</div>

We have a mail slot in the door so no need for postbox check.

---

<div class="post-metadata">

### Author: ![alex](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@alex](https://f.ruuvi.com/u/alex)
#### Post date: [31 October 2019 18:30 UTC](https://f.ruuvi.com/t/garage-door-monitor/3800/4 "2019-10-31T18:30:14Z")

</div>

Nice and easy. The Ruuvis are perfect for windows, garage doors etc. Detection rate from ACC sensor in my tests are 100% but how to do this with horizontal doors? I don’t see any other reliable option than a hall sensor or a reed switch attached.  
In practice is possible to monitor Movement Counter combined with fluctuations in RSSI in order to detect a movement in a static area (like opening a door or movement in an empty apartment). Quite reliable but has some disadvantages. It’s not what I’m looking for, only a way around.

I wish one could prepare a firmware with one GPIO port prepared for a easy way to connect a simple sensor. A lot of home automation could be done this way…

---

<div class="post-metadata">

### Author: ![dgerman](https://f.ruuvi.com/user_avatar/f.ruuvi.com/dgerman/32/154_2.png) [@dgerman](https://f.ruuvi.com/u/dgerman)
#### Post date: [31 October 2019 20:12 UTC](https://f.ruuvi.com/t/garage-door-monitor/3800/5 "2019-10-31T20:12:41Z")

</div>

Not the acceleration, rather the orientation!

This is a new (for me ) understanding of how the sensor works.

Sorry I left that whole idea out of the post! ( the discussion was on slack)

After changing the orientation of a tag and observing the Z value it seems that it can be used to determine if the tag is tilted, inverted (as seen with a negative -1.) or positioned nearly vertically (a small absolute value like .004 or -.004)

so when the door is closed, the tag is vertical and the Z reports a very small value.

When the door is open the tag is horizontal (like laying upside down on a table) and Z reports a close to -1.0 value. Notice on the [GarageDoorClosing](http://mybeacons.info/GarageDoorClosing.MOV)video that the ruuvi is mounted upside down with the cover off.

VERY Easy to evaluate and not time critical at all!
