Difference between revisions of "Action: Alarm Clock"

Line 63: Line 63:
 
You only need to enter the name of the label you wish to deactivate.
 
You only need to enter the name of the label you wish to deactivate.
 
</pre><br/>
 
</pre><br/>
 
==<p><b>Example</b></p>==
 
 
''''' Remind me to take the following pills in 8 hours, use the trigger of your choice, every time you activate the macro, you will get an alarm within 8 hours. '''''
 
<br>
 
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
Empty Trigger
 
</pre>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set alarm
 
[Take medicine] One off (Relative) - Time
 
</pre>
 
 
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
 
</pre>
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
Time (Integer) = 480
 
</pre><br>
 

Revision as of 23:11, 23 January 2024

About

This action allows you to set an alarm for your alarm clock application.

Note

That this action relies on sending intents to your Alarm Clock application so it relies on the Alarm Clock correctly handling these intents.

Not all clock apps handle these intents, so in this case the action will not function.


Configuration available

Set alarm

Sets an alarm to sound at a specific time and date. You can set single or recurring alarms.


  • Alarm type:

One off

An alarm that will only be triggered once.

Repeated

Alarm that may be repeated on certain days of the week.
This configuration only allows you to select days of the week and time of activation.


  • Alarm time:

Fixed alarm

Allows you to set a one-time fixed alarm for a specific day and time.

Relative

Determined from the time this action was used.
For example if the current time is 10:00 am, the 1 hour alarm will sound at 11:00 am.

Time until alarm

Available for relative alarm only.
Admits the use of variable only of type Integer (only in minutes, for example for 3 hours is 180 (Minutes)).


Dismiss active alarm

Cancels an alarm that is already sounding.
No additional adjustment is required.


Disable alarm

Disable an alarm so that it will not sound in the future.
You only need to enter the name of the label you wish to deactivate.