# Did I lock my doors?

**URL:** <https://community.homey.app/t/did-i-lock-my-doors/155548>\
**Category:** Questions & Help\
**Tags:** sensors, doorlock\
**Created:** [May 30, 2026, 6:23pm UTC](https://community.homey.app/t/did-i-lock-my-doors/155548 "2026-05-30T18:23:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/loek/32/47884_2.png) [@Loek](https://community.homey.app/u/Loek)\
**Post date:** [May 30, 2026, 6:23pm UTC](https://community.homey.app/t/did-i-lock-my-doors/155548/1 "2026-05-30T18:23:04Z")

</div>

I noticed there are devices available which can lock and unlock your doors with Homey. I prefer usual key. Bit oldfashioned, my age goes with it. Forgetting to lock my doors goes with my age too. We have 5 outside (slide-) doors, so chance of forgetting one when we leave home, is high.

I am search for a sensor which can check for me if doors are closed and locked when i start the flow “good night” or “see you later”.

Any ideas?

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [May 30, 2026, 6:43pm UTC](https://community.homey.app/t/did-i-lock-my-doors/155548/2 "2026-05-30T18:43:41Z")

</div>

There are also devices like the Switchbot Lock, Tedee and Nuki which just turn the key on the inside, so you can still use your regular lock

---

<div class="post-metadata">

**Author:** ![Jonathan\_Draper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_draper/32/33978_2.png) [@Jonathan\_Draper](https://community.homey.app/u/Jonathan_Draper)\
**Post date:** [May 30, 2026, 6:43pm UTC](https://community.homey.app/t/did-i-lock-my-doors/155548/3 "2026-05-30T18:43:43Z")

</div>

I use a contact sensor on each door, a button next to it and a virtual door lock device. Then I set up flows so that when the door opens and the lock was locked then unlock it. And if the button is pressed while door closed lock it. It actually works very reliably and has done for years.

If you use the virtual devices app to create virtual locks then these publish to HomeKit as locks so you can ask Siri whether all doors locked. Maybe works with non Apple as well but I’m an all Apple house here.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 1, 2026, 10:00am UTC](https://community.homey.app/t/did-i-lock-my-doors/155548/4 "2026-06-01T10:00:51Z")

</div>

i use contact sensors on doors & windows, and the “leave” & “sleep” modes start this Homeyscript, which sends an alert on the actually opened doors & windows:

> [@Report any open doors/windows](https://community.homey.app/t/report-any-open-doors-windows/77972/2):
>
> Hi Marcel, I use this Homeyscript script for that. It sends a timeline report, so you just have to call this script in a flow: (I use the same script for rain/snow/storm alerts) // Check if certain doors or windows is open? let devices = await Homey.devices.getDevices(); let windowText = ""; let currentText = ""; let logText = ""; let windowOpen = false; \_.some(devices, device =\> { if ( device.class == 'sensor' ) // device.class is found at https://tools.developer.homey.app/tools/devices …

.

I also made a “master” indicator, (on when any door/window is open, plus the number of opened doors/windows).

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/88):
>
> Master Doors and Windows status indicator This device + accompanying flow shows the status of 3 door/window sensors. It’s off and shows 0 #Open when all are closed It’s on and shows 1 #Open when 1 is opened It’s on and shows 2 #Open when 2 are opened and so forth Device tile: All contact sensors overview in the device settings: Flow: Apps …

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/88):
>
> All closed:
> 
> ![signal-2024-03-02-042457_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/7041c0398d0e12cff55821a723a1a9182faa58d2.jpeg)
> 
> Two opened:
> 
> ![signal-2024-03-02-042457_003](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/05f4d25bde626b2789fff8d6b40e84cbc5eda373.jpeg)
