Snooze an alarm

350 views
Skip to first unread message

avi.l...@gmail.com

unread,
Mar 1, 2016, 2:35:16 PM3/1/16
to Automate
Hi,
Is there a way to snooze and/or dismiss an alarm using Automate?
I thought maybe the broadcast send block will allow this, but couldn't find anything.
The flow I'm trying to create is rather simple.
I want to use my "Flic" Bluetooth button to snooze an alarm when I click it once, and dismiss it when double-clicking.

Thank you.
Avi

Henrik "The Developer" Lindqvist

unread,
Mar 1, 2016, 3:10:32 PM3/1/16
to Automate, avi.l...@gmail.com
Yes, for Android 6+ at least:
http://developer.android.com/intl/es/reference/android/provider/AlarmClock.html#ACTION_DISMISS_ALARM

Use the App start block:
Action: "android.intent.action.DISMISS_ALARM"
Extras: {
"android.intent.extra.alarm.SEARCH_MODE": "android.next" }

andrea....@gmail.com

unread,
Apr 10, 2016, 1:14:53 PM4/10/16
to Automate, avi.l...@gmail.com
Could you please expand on this? I have almost zero experience on the issue and I'd love to just dismiss my alarm through Flic

Avi Levi

unread,
Apr 10, 2016, 1:18:40 PM4/10/16
to andrea....@gmail.com, Automate

What I eventually did was use the "Alarm Pad" app.
It has a tasker plugin that lets you set an alarm.
You can also configure it to snooze on volume up/down buttons, so if you emulate a "volume up" press, you will be able to use Flic to snooze the Alarm.
I might be a little vague here, so if you need further details, let me know.
I can post the flow here.

andrea....@gmail.com

unread,
Apr 10, 2016, 1:46:25 PM4/10/16
to Automate, andrea....@gmail.com, avi.l...@gmail.com
That's nice, thanks! Unfortunately the "volume up" flic does not seem to work to dismiss the alarm, even though when I click the volume button it does. Can you give me more details about the flow you used?
Reply all
Reply to author
Forward
0 new messages