Page 1 of 1

New Action: Enable/Disable Alarm

Posted: 12 Mar 2013 05:02
by altufaltu
I've landed to Automagic trying to find a solution for location controlled alarm, where an alarm gets triggered only if I'm at a configured location.

I plan to use stock alarm clock (for snooze, stop & lock screen functionality). If automagic supports enabling / disabling of alarm, I can configure a flow to check for location and conditionally disable alarm 1 minute before its triggered time. Alarm may be re-enabled through another flow or after waiting for few minutes after disabling it.

Re: New Action: Enable/Disable Alarm

Posted: 12 Mar 2013 12:00
by inReinbek
How about checking an available SSID or being connected to a WLAN?

Re: New Action: Enable/Disable Alarm

Posted: 12 Mar 2013 14:18
by altufaltu
Exactly. Based on available SSID, I want to disable alarm. Automagic lets me check SSID but doesn't give option to enable / disable alarm. That's the feature request.

It can sound alarm tone but then one will miss snooze option that shows up even when the device is locked.

Re: New Action: Enable/Disable Alarm

Posted: 13 Mar 2013 20:10
by TadW
I think so far automagic has no interface to communicate at all with the built-in Android alarm. It would be very nice though... :)

Re: New Action: Enable/Disable Alarm

Posted: 29 Apr 2013 13:39
by otinanai
I would also like a way to create/enable/disable/delete Alarms

Re: New Action: Enable/Disable Alarm

Posted: 29 Apr 2013 13:58
by syndromtr
i need this too,
currently, i use 3 shortcuts on my desktop, (home-outside-sleep)
when sleep shortcut is activated, wifi & 3g & auto sync state becomes OFF

i need one of these 2 ways:
when an alarm for tomorrow morning (it's already created in stock alarm app) is enabled, i need to execute that "sleep" shortcut..

or the opposite, after i run "sleep" shortcut manually, its ability of enabling pre-created alarm will be great!

i tried this with start activity-broadcast of stock alarm app with variables, but no luck for now..

Re: New Action: Enable/Disable Alarm

Posted: 30 Apr 2013 06:42
by syndromtr
maybe this plugin may help until automagic supports it internally,
https://play.google.com/store/apps/deta ... .autoalarm autoalarm plugin

and i found info for a variable, android.provider.Settings.System.NEXT_ALARM_FORMATTED
it seems this variable holds value of next alarm but i couldn't use it in broadcast-activity yet..

Re: New Action: Enable/Disable Alarm

Posted: 30 Apr 2013 06:57
by Martin
Triggering on the next alarm is available with trigger Next Alarm. A condition would be possible but is not available yet.

The stock alarm app only allows to create a new alarm (see action Set Alarm), enabling/disabling existing alarms seems not to be possible.