# Window latch position sensor

**URL:** <https://community.smartthings.com/t/window-latch-position-sensor/294496>\
**Category:** Projects & Stories\
**Tags:** developers\
**Created:** [January 28, 2025, 6:31pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496 "2025-01-28T18:31:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lou\_Knebel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/lou_knebel/32/191324_2.png) [@Lou\_Knebel](https://community.smartthings.com/u/Lou_Knebel)\
**Post date:** [January 28, 2025, 6:31pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/1 "2025-01-28T18:31:48Z")

</div>

I have been searching for a smart device that can identify the position of the window latches in my house. There are plenty of options to identify if a window is open or closed, but I want to know if they’re latched or locked. Has anyone seen a device that can do this? Where would I start on having it designed or developed?

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [January 28, 2025, 8:18pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/2 "2025-01-28T20:18:53Z")

</div>

There are a few latches that have that as a built-in option, but they tend to be very expensive. What country are you in? The device selection does vary.

More commonly, depending on the specifics of the latch design, you can probably go a DIY route just with a contact sensor. These come in different sizes and shapes and it’s just going to let you know when the bolt is pushed all the way in. Several community members have done these for dumb deadbolts, for example.

Can you post a picture of the window latch so we can see the exact mechanism?

Meanwhile, in the following post, you can see how one community member made one for a manual deadbolt. The post is from almost 10 years ago, so you would probably be using different specific device models now, but the approach would be the same.

> [@Home made door lock sensor](https://community.smartthings.com/t/home-made-door-lock-sensor/25354/7):
>
> @djtucker @JDRoberts, I used an Ecolink zwave sensor and a tiny microswitch that I mounted inside the lock itself. I also created a device type for it as well. Needs a little cleaning up, but it works:

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [January 28, 2025, 8:21pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/3 "2025-01-28T20:21:13Z")

</div>

And if you happen to be in Europe, Siegenia has a smart latch that uses matter. But it is expensive per window.

> **[Smart window handle](https://www.siegenia.com/en/products/smart-systems/smart-home/smart-handle)**
>
> It’s magic: security that works like a charm. | SIEGENIA

---

<div class="post-metadata">

**Author:** ![Lou\_Knebel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/lou_knebel/32/191324_2.png) [@Lou\_Knebel](https://community.smartthings.com/u/Lou_Knebel)\
**Post date:** [January 28, 2025, 10:40pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/4 "2025-01-28T22:40:46Z")

</div>

I live in South Florida and had to replace all my windows in order to keep my windstorm insurance. My old windows couldn’t be opened from the outside when fully closed so a contact sensor was suitable.

 ![IMG_8596](https://global.discourse-cdn.com/smartthings/original/3X/2/7/27619fca2c5b31f6b69a96ac952c6b0602367e7e.jpeg)

---

<div class="post-metadata">

**Author:** ![h0ckeysk8er](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/h0ckeysk8er/32/195141_2.png) [@h0ckeysk8er](https://community.smartthings.com/u/h0ckeysk8er)\
**Post date:** [January 28, 2025, 10:53pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/5 "2025-01-28T22:53:52Z")

</div>

> [@Lou\_Knebel](#):
>
> I live in South Florida and had to replace all my windows in order to keep my windstorm insurance. My old windows couldn’t be opened from the outside when fully closed so a contact sensor was suitable.
> 
> ![IMG_8596](https://global.discourse-cdn.com/smartthings/original/3X/2/7/27619fca2c5b31f6b69a96ac952c6b0602367e7e.jpeg)

Do you need it to be a simple state test of “is my window lock latched”? For example, I’ll assume that the lever pointing to the left is “latched” and any other position is “unlatched”?

---

<div class="post-metadata">

**Author:** ![Lou\_Knebel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/lou_knebel/32/191324_2.png) [@Lou\_Knebel](https://community.smartthings.com/u/Lou_Knebel)\
**Post date:** [January 28, 2025, 11:58pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/6 "2025-01-28T23:58:50Z")

</div>

Actually that window is open/unlatched, but you get the idea, I want to be able to tell which windows are latched or unlatched . Here’s another example

 ![IMG_8595](https://global.discourse-cdn.com/smartthings/original/3X/d/7/d7dbad08d20896c0496b2f569e41f8e42c1a89bf.jpeg)

---

<div class="post-metadata">

**Author:** ![h0ckeysk8er](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/h0ckeysk8er/32/195141_2.png) [@h0ckeysk8er](https://community.smartthings.com/u/h0ckeysk8er)\
**Post date:** [January 29, 2025, 1:58am UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/7 "2025-01-29T01:58:48Z")

</div>

> [@Lou\_Knebel](#):
>
> Actually that window is open/unlatched, but you get the idea, I want to be able to tell which windows are latched or unlatched .

A contact sensor could do the trick, but it’s a matter of finding one with a small enough magnet and how to attach it to the lever. Might be a bit unsightly however.

The Aeotec door and window sensor 7 and 7 Pro have a really small magnet portion (0.31" x 0.78" x 0.43") that you might be able to somehow mount on the lever. [https://aeotec.com/products/aeotec-door-window-sensor-7/](https://aeotec.com/products/aeotec-door-window-sensor-7/)

---

<div class="post-metadata">

**Author:** ![Lou\_Knebel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/lou_knebel/32/191324_2.png) [@Lou\_Knebel](https://community.smartthings.com/u/Lou_Knebel)\
**Post date:** [January 29, 2025, 6:49pm UTC](https://community.smartthings.com/t/window-latch-position-sensor/294496/8 "2025-01-29T18:49:53Z")

</div>

This looks Like it may work, thanks so much for your time and effort
