# Prevent my garage or frontdoor from accidentally opening with a "code" in the devicebutton

**URL:** https://community.homey.app/t/prevent-my-garage-or-frontdoor-from-accidentally-opening-with-a-code-in-the-devicebutton/13132
**Category:** Ideas & Suggestions
**Tags:** zigbee
**Created:** [May 14, 2019, 9:11pm UTC](https://community.homey.app/t/prevent-my-garage-or-frontdoor-from-accidentally-opening-with-a-code-in-the-devicebutton/13132 "2019-05-14T21:11:04Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)
#### Post date: [May 14, 2019, 10:46pm UTC](https://community.homey.app/t/prevent-my-garage-or-frontdoor-from-accidentally-opening-with-a-code-in-the-devicebutton/13132/3 "2019-05-14T22:46:44Z")

</div>

> [@How do I prevent my garage door from accidentally opening?](https://community.homey.app/t/how-do-i-prevent-my-garage-door-from-accidentally-opening/12788):
>
> I use the Fibaro pulse switch to open my garage door. When I’m home, fine. The moment I accidentally press the “device button” when I am not at home, the gate will also open unintentionally. How can I prevent this? Can I protect the button? Can I build in a flow into a code that must be actively entered as security to prevent unwanted opening? Who needs a flowchart solution for this? Or do you have another idea to incorporate this protection?

---

_[View the full topic](https://community.homey.app/t/prevent-my-garage-or-frontdoor-from-accidentally-opening-with-a-code-in-the-devicebutton/13132)._
