Difference between revisions of "Action: Alarm Clock"
m (→Example) |
|||
Line 73: | Line 73: | ||
Empty Trigger | Empty Trigger | ||
− | </pre> | + | </pre> |
− | |||
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> | ||
Actions | Actions | ||
Line 85: | Line 84: | ||
Constraints | Constraints | ||
− | </pre | + | </pre> |
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;"> | <pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;"> | ||
Local variables | Local variables |
Revision as of 18:06, 22 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