# Push notification with buttons

**URL:** <https://community.homey.app/t/push-notification-with-buttons/116538>\
**Category:** Questions & Help\
**Created:** [September 22, 2024, 4:19pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538 "2024-09-22T16:19:15Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Heemskerk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_heemskerk/32/114149_2.png) [@Peter\_Heemskerk](https://community.homey.app/u/Peter_Heemskerk)\
**Post date:** [September 22, 2024, 4:19pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/1 "2024-09-22T16:19:15Z")

</div>

is there a way to create notifications with buttons so that you can confirm a notification. You could then use this to control something!

for example:

when the 3D printer is ready, send a notification with: disable 3D printer yes/no! If you press yes, the 3D printer turns off, if you press no, it stays on.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [September 22, 2024, 4:28pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/2 "2024-09-22T16:28:16Z")

</div>

> [@Peter\_Heemskerk](#):
>
> disable 3D printer yes/no

Something like  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2ad612f291dbb0619793dbd78b4483525ee91351.png)  
?

---

<div class="post-metadata">

**Author:** ![Peter\_Heemskerk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_heemskerk/32/114149_2.png) [@Peter\_Heemskerk](https://community.homey.app/u/Peter_Heemskerk)\
**Post date:** [September 22, 2024, 4:40pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/3 "2024-09-22T16:40:56Z")

</div>

Yes but than with buttons in the push notification! A button with yes and a button with no! So you can control something directly in your notification. You know what i mean?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [September 22, 2024, 4:49pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/4 "2024-09-22T16:49:21Z")

</div>

Have you tried it?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/9/e9ea7a5948d74e34ce5a75cb03af0ce0d97160a1.jpeg)

 ![Screenshot_20240922_184859_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/01143bc1890e9a51f309b68e4b8ccfb676e8602f.jpeg)

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec33417c26bbc13351e77408bb5d036e3189541a.jpeg "Top 10 Hidden Features on Homey") ](https://www.youtube.com/watch?v=t83kLeVoiLo&t=649)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:07pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/5 "2024-09-22T17:07:46Z")

</div>

> [@Dijker](#):
>
> Have you tried it?

This doesn’t work the same on iOS:

 ![01EB904D-E981-4CAB-B541-468A8F99BCCB_4_5005_c](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3d8bb6b5f8056f7d13df28926c2da3b3bea80e34.jpeg)

But it’s a limitation of iOS I think.

---

<div class="post-metadata">

**Author:** ![Peter\_Heemskerk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_heemskerk/32/114149_2.png) [@Peter\_Heemskerk](https://community.homey.app/u/Peter_Heemskerk)\
**Post date:** [September 22, 2024, 5:19pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/6 "2024-09-22T17:19:00Z")

</div>

I think it will work like that! You have to swipe down the notification! I will test it and let you know!

 ![IMG_2369](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4ad158c2d8f0b450665b287fb632939d95ba214e.jpeg)

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 22, 2024, 5:25pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/7 "2024-09-22T17:25:17Z")

</div>

You can also tap the notification, after which Homey shows you the options:

 ![IMG_1515](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e1f6f11f628f2de4fd2f3f21685585a2a453ea68.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:33pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/8 "2024-09-22T17:33:28Z")

</div>

Not on iOS: after the Homey app opens, nothing happens.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [September 22, 2024, 5:40pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/9 "2024-09-22T17:40:45Z")

</div>

> [@robertklep](#):
>
> Homey app opens, nothing happens.

pls check your App and iOS settings 😉

Re-tested for you on iOS …

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/e/4e8b6586e2f3f1d485dfba29aaef3579c051c5fe.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/91a87624b77e6c9ef1b721c8507ad6b63564bd31.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:44pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/10 "2024-09-22T17:44:37Z")

</div>

Which iOS version?

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 22, 2024, 5:49pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/11 "2024-09-22T17:49:30Z")

</div>

For me in works both on iOS 17.6/17.7 and iPadOS 18.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:55pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/12 "2024-09-22T17:55:35Z")

</div>

Doesn’t work for me on iOS18 (long-pressing does, but short-pressing doesn’t).

There’s no setting that I can change to enable this because it’s something that’s handled in the app, and I think it might be related to having to reinstall the Homey app because notifications weren’t working at all anymore (and even after a reinstall it wasn’t working until I performed a workaround).

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 22, 2024, 6:13pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/13 "2024-09-22T18:13:42Z")

</div>

Strange. I initially was also not able to receive notifications when I installed my Homey Pro two months ago. But I found a way to trigger the ‘enable notifications’ prompt in the iOS app. Since then it works, including the above subsequent confirmation pop-up screen in the Homey app.

Which work-around did you apply?

---

<div class="post-metadata">

**Author:** ![Peter\_Heemskerk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_heemskerk/32/114149_2.png) [@Peter\_Heemskerk](https://community.homey.app/u/Peter_Heemskerk)\
**Post date:** [September 22, 2024, 6:26pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/14 "2024-09-22T18:26:26Z")

</div>

Here it works!

 ![IMG_2370](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03dd459f71b633d31551e2dbb6202e49f46c9bda.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Heemskerk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_heemskerk/32/114149_2.png) [@Peter\_Heemskerk](https://community.homey.app/u/Peter_Heemskerk)\
**Post date:** [September 22, 2024, 6:29pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/15 "2024-09-22T18:29:14Z")

</div>

now the next question! I now receive this notification, but how can I ensure that I control a device when I press one of the buttons? I’m quite a novice when it comes to this!

How do i make a good flow with it?

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 22, 2024, 8:28pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/16 "2024-09-22T20:28:14Z")

</div>

The confirmation push message card has two outputs/connectors:

- one for True (you answered Yes) and
- one for False (you answered No).

It actually also has a third output: the Error option. That option applies when you don’t respond to the pop-up notification (if I recall after 10 minutes). This third option is only available when using Advanced Flows.

In a Basic Flow it would look something like this:

 ![IMG_1516](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/9/29fcfd6d2531453a796254b2d60f8b0998b2f351.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 23, 2024, 5:30am UTC](https://community.homey.app/t/push-notification-with-buttons/116538/17 "2024-09-23T05:30:48Z")

</div>

> [@SunBeech](#):
>
> Which work-around did you apply?

Select my other Homey, which triggered the “Do you want to receive notifications?” question from iOS.

---

<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:** [September 23, 2024, 6:42am UTC](https://community.homey.app/t/push-notification-with-buttons/116538/18 "2024-09-23T06:42:54Z")

</div>

This is also possible with the Telegram app (and Pushover I think).

---

<div class="post-metadata">

**Author:** ![Peter\_Heemskerk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_heemskerk/32/114149_2.png) [@Peter\_Heemskerk](https://community.homey.app/u/Peter_Heemskerk)\
**Post date:** [September 23, 2024, 1:57pm UTC](https://community.homey.app/t/push-notification-with-buttons/116538/19 "2024-09-23T13:57:12Z")

</div>

Thanks! It works like a charm! 😀
