What It Is


Know when the next system alarm is going to be and act on it in Tasker, with AutoAlarm!

You could make a pre-alarm task like the very cool one Andreas Ødegård describes in his SLEEP MODE here: http://goo.gl/rRw0I. He uses it to create his own personal sunrise by making his room light up gradually before the actual alarm fires.

(WARNING: YOU MUST HAVE TASKER INSTALLED FOR THIS APP TO BE OF ANY USE: AutoAlarm will not show up on your homescreen or app drawer. It is only usable as a plugin in Tasker)

To use, setup the AutoAlarm action (Actions->Plugin->AutoAlarm) whenever you want to check when the next alarm is.
Then create a new profile with an AutoAlarm Context (Contexts->State->Plugin->AutoAlarm) and an Action of your choice. In that action you will have access to following variables related to the next System Alarm:

Absolute values:
“%day”
“%month”
“%year”
“%hour”
“%minute”
“%second”

Times to next alarm:
“%milis”
“%seconds”
“%minutes”
“%hours”

Cumulative times to next alarm:
“%secondsc”
“%minutesc”
“%hoursc”
“%daysc”

String variables:
“%raw” (will have the time as reported by the system, i.e. “Sun 14:00”)

Also, very important, if there’s an error while retrieving the next alarm it will be in the “%error” variable.

Drop me an email if something goes wrong and I’ll always try to fix it!