# 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:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MarcoBrood](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcobrood/32/9492_2.png) [@MarcoBrood](https://community.homey.app/u/MarcoBrood)
#### Post date: [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/1 "2019-05-14T21:11:04Z")

</div>

Flows are the regular way to open. But a protectioncode on the devicebutton makes is not possible to press the device with out a code. You don’t want to come back from vacation and your door is open bij accidentally opening. Now a use a fibaro puls switch for opening my garagedoor. Is is possible to block the device with a code?

---

<div class="post-metadata">

### Author: ![Ferry\_van\_E](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_van_e/32/10953_2.png) [@Ferry\_van\_E](https://community.homey.app/u/Ferry_van_E)
#### Post date: [May 14, 2019, 10:06pm UTC](https://community.homey.app/t/prevent-my-garage-or-frontdoor-from-accidentally-opening-with-a-code-in-the-devicebutton/13132/2 "2019-05-14T22:06:45Z")

</div>

What do you mean by ‘device button’? The play button from a flow or a virtual button on your homescreen?

Can’t you just simply disable the flow that contains your garage door before you go on holiday?

---

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

---

<div class="post-metadata">

### Author: ![MarcoBrood](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcobrood/32/9492_2.png) [@MarcoBrood](https://community.homey.app/u/MarcoBrood)
#### Post date: [May 15, 2019, 7:03am UTC](https://community.homey.app/t/prevent-my-garage-or-frontdoor-from-accidentally-opening-with-a-code-in-the-devicebutton/13132/4 "2019-05-15T07:03:35Z")

</div>

this device button i mean. Disable a flow is a solution indeed. But i am looking for a safe solotion for daily use.

 ![IMAGE%202019-05-15%2009%3A00%3A32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/4a4300015b453baf0f87ec16c1a82299b3f2c27d.jpeg)
