# Who pressed the button?

**URL:** <https://community.homey.app/t/who-pressed-the-button/132522>\
**Category:** Questions & Help\
**Created:** [March 11, 2025, 5:46pm UTC](https://community.homey.app/t/who-pressed-the-button/132522 "2025-03-11T17:46:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoffer\_Gjerde](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christoffer_gjerde/32/72128_2.png) [@Christoffer\_Gjerde](https://community.homey.app/u/Christoffer_Gjerde)\
**Post date:** [March 11, 2025, 5:46pm UTC](https://community.homey.app/t/who-pressed-the-button/132522/1 "2025-03-11T17:46:02Z")

</div>

Hello, I’m struggling to come up with a function/flow…

I’m planning to have an HP23 to control some garage doors at work. There are 8+ people working there, and we will mainly only operate the gates during working hours and when we are present (in close proximity of the garage door).  
Sometimes we need to be able to open and close them outside of working hours, and when we are not present. In those cases I would like to use a “confirm question”- flow card to make it a little safer.  
The problem is that I would like to get this confirmation from the person that pressed the button/tile in the app, and not a fixed person every time.

If: “C” pressed “Open garage no.3”  
And: “C” must confirm: “Do you want to open garage no. 3”- “Yes/No”  
Then: “Garage no. 3” opens or not!

If :“A” pressed “Open garage no.5”  
And: “A” must confirm: “Do you want to open garage no. 5”- “Yes/No”  
Then: “Garage no. 5” opens or not!

Another possibility would be to use a PIN-code to be able to control the garage doors when not present?!

If: “B” pressed “Open garage no.2” outside working hours/ not present-  
And: “B” confirms with PIN-code  
Then: “Garage no. 2” opens or not!

Hopefully this makes sense 😉

Does anyone know how to get this function? Like a virtual button of some sort that is accesable in the app?

Thanx 😉

Chris

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [March 12, 2025, 6:54am UTC](https://community.homey.app/t/who-pressed-the-button/132522/2 "2025-03-12T06:54:07Z")

</div>

Suggestion 1.  
Create a virtual button for each co-worker, name them after their name.  
When PersonA presses the button “PersonA” a confirmation (using push notification card) is sent to the PersonA who presses Yes/No on the received notification.  
Uses “Smart Precense” if you have WiFi close by the gate, or Homeys built in for GPS position.

If you instead create a flow for each co-worker they can place a widget on the homescreen of their phone. It is not possible to place buttons as widges.

Suggestion 2.  
You could use the Telegram app to send PIN, virtual “button” and confirmation.

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [March 12, 2025, 11:16am UTC](https://community.homey.app/t/who-pressed-the-button/132522/3 "2025-03-12T11:16:38Z")

</div>

Another thought. You could use ‘pre-request’ confirmation. Rather than ‘post-request’. The door opening routine could look for a Boolean variable, say, ‘outOfHoursVerified’ if the request is made out of hours. If set false it would refuse the request. If set true it would allow the request. It could then disable out of hours immediately, or when the out of hours period expires. You would then create a ‘Verify out of hours operation’ flow that would need to be called in advance of the request and that would set the boolean to true.

Andy

---

<div class="post-metadata">

**Author:** ![Christoffer\_Gjerde](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christoffer_gjerde/32/72128_2.png) [@Christoffer\_Gjerde](https://community.homey.app/u/Christoffer_Gjerde)\
**Post date:** [March 12, 2025, 5:52pm UTC](https://community.homey.app/t/who-pressed-the-button/132522/4 "2025-03-12T17:52:22Z")

</div>

Thanx, I will look into the Telegram app 🙂

---

<div class="post-metadata">

**Author:** ![Christoffer\_Gjerde](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christoffer_gjerde/32/72128_2.png) [@Christoffer\_Gjerde](https://community.homey.app/u/Christoffer_Gjerde)\
**Post date:** [March 12, 2025, 5:54pm UTC](https://community.homey.app/t/who-pressed-the-button/132522/5 "2025-03-12T17:54:57Z")

</div>

(post deleted by author)
