Difference between revisions of "Action: Alarm Clock"

m
Line 1: Line 1:
This action allows you to set an alarm for your alarm clock application.<br/>
+
== About ==
<br/>'''Note<br/>
+
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
This action allows you to set an alarm for your alarm clock application.
 +
</pre>
 +
'''''Note'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
That this action relies on sending intents to your Alarm Clock application so it relies on the Alarm Clock correctly handling these intents.
 
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.<br/>
+
Not all clock apps handle these intents, so in this case the action will not function.
<br/>'''Features available'''<br/>
+
</pre><br/>
<br/>
+
==<p><b>Configuration available</b></p>==
*'''Set alarm:''' Set a single alarm at a defined time or a repeated alarm, for example, an alarm from Monday to Friday.
+
 
You can also choose a scheduled alarm, for example, an alarm for Monday at 7 a.m. with the label "it's time to work"<br/>
+
=== Set alarm ===
*'''Disable alarm:''' Deactivate an alarm set with the label, in the example above the alarm is called "it's time to work".<br/>
+
 
*'''Dismiss active alarm:''' Dismiss an active alarm.
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Sets an alarm to sound at a specific time and date. You can set single or recurring alarms.
 +
</pre><br/>
 +
 
 +
* ''''' Alarm type:'''''
 +
 
 +
''''' One off'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
An alarm that will only be triggered once.
 +
</pre>
 +
 
 +
''''' Repeated'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
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.
 +
</pre><br/>
 +
 
 +
* ''''' Alarm time:'''''
 +
 
 +
''''' Fixed alarm'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Allows you to set a one-time fixed alarm for a specific day and time.
 +
</pre>
 +
 
 +
''''' Relative '''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
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.
 +
</pre>
 +
 
 +
''''' Time until alarm'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
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)).
 +
</pre><br/>
 +
 
 +
=== Dismiss active alarm ===
 +
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Cancels an alarm that is already sounding.
 +
No additional adjustment is required.
 +
</pre><br/>
 +
 
 +
=== Disable alarm ===
 +
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
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.
 +
</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><br>
 +
 
 +
<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><br>
 +
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 +
Local variables
  
<br/>'''Note'''<br/>The first time you perform this action, you may be prompted to choose the application that will take care of it, press the always option when choosing the application, so that it will run automatically in the future.<br/>
+
Time (Integer) = 480
 +
</pre><br>

Revision as of 00:08, 19 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.


Example

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.

Triggers

Empty Trigger


Actions

Set alarm
[Take medicine] One off (Relative) - Time
Constraints


Local variables

Time (Integer) = 480