# 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:** 1\
**Showing post:** 2

<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:

---

_[View the full topic](https://community.smartthings.com/t/window-latch-position-sensor/294496)._
