قالب وردپرس درنا توس
Home / Tips and Tricks / Set an alarm for sunrise or sunset on iPhone

Set an alarm for sunrise or sunset on iPhone



Ocean sunrise or sunset
VRStudio / Shutterstock

Get up and shine! Do you want to set an iPhone alarm that goes off automatically every day at sunrise or sunset? By using shortcuts on iPhones with iOS 1

3 or later, it is possible to create an automation that does just that. Here’s how to set it up.

First, you need to find and open shortcuts. If you can’t find it, swipe down the center of your screen with one finger. When a search bar appears, type “Shortcuts” and tap the Shortcuts app icon that appears.

Type

In Shortcuts, tap “Automation” from the menu at the bottom of the screen.

In Apple Shortcuts on iPhone, tap the automation button at the bottom of the screen.

If you’ve previously created an automation, tap the plus (+) button and select ‘Create Personal Automation’. If you haven’t used automation before, just tap ‘Create Personal Automation’.

In Apple Shortcuts on iPhone, tap

On the “New automation” screen we will set the conditions under which the automation will be activated. In this case, since we’re setting an alarm for sunrise or sunset, tap Time.

In iPhone Shortcuts, tap

From the list that appears, tap “Sunrise” or “Sunset”. In our example, we choose ‘Sunset’.

In iPhone Shortcuts, tap

After tapping sunrise or sunset, you will see a new screen where you can choose a time difference, such as ’30 minutes before sunset ‘or ’15 minutes after sunset’. In our example, we’re aiming for the exact sunset, so we’ll choose At Sunset. Tap “Done” when you are done.

In iPhone Shortcuts, tap

Next, decide if you want your alarm to repeat daily, weekly or monthly and tap the corresponding selection so that it has a check mark next to it.

In iPhone Shortcuts, tap

Then tap “Next” and you will be taken to the Actions screen. Here you define what you want to happen at sunrise or sunset.

Ideally, it would be perfect if we could use a system-wide iPhone alarm like the one you would set in the Clock app. It is possible to create a traditional clock app alarm for a set time using shortcuts, but using that feature will greatly increase the complexity of your automation. One reason for this is that every time your automation runs, it creates a different alarm and your Clock app quickly fills up with alarms. We don’t want that.

RELATED: The two fastest ways to set an alarm on iPhone or iPad

So instead, we found a nice solution with the Timer feature, which will break the iPhone’s silent and do not disturb modes just like a regular alarm. Other notification options in Shortcuts are usually muted when your volume is low or your ringtone is turned off. This method ensures that you always hear the alarm as long as the iPhone is on and the automation is active.

So on the “Actions” screen, tap the “Add Action” button.

In Apple Shortcuts on iPhone, tap

A panel will appear. Tap the search bar and type ‘timer’ then scroll down and tap ‘Start timer’.

Search

Once you see the “Start timer for” action on the screen, tap its properties and set it to 1 second. The idea is that once triggered by sunrise or sunset, a 1 second timer counts down and rings.

Next, we’ll add a message telling you what this alarm is for. Tap the big plus (+) button directly below the timer action.

Set the timer

When a panel appears, search for “notification”, then scroll down and select “Show notification” from the list.

Search

When the action has been added to your automation, tap the “Hello world” field and add a label describing what the alarm is for. In our case, our official How-To Geek chickens are eaten in the dark if we don’t close the hen house, so we wrote “Close hen house at sunset” as a reminder.

Change the notification message.

There are other ways to display messages in shortcuts (like the “Alert” feature), but the nice thing about using a notification is that it later appears on your notification screen as a report of what happened. It also creates its own audible and vibration alarm, so if you want to use this instead of the timer method, you can clear the “Start timer” section. The main downside to relying solely on a notification is that it can be muted by certain settings on your iPhone, potentially causing you to miss the alarm.

When you’re done, tap “Next” and you’ll see an overview of the automation. At the bottom of the screen, toggle the Ask Before Run switch to Off. If you leave that turned on, your automation won’t work unless you open your iPhone and tap a confirmation message first.

Crane

Then tap “Done” and your automation will be set.

In practice, the idea of ​​sunrise or sunset on your iPhone may not match yours (for example, dawn, sunset, and dusk, plus elevation and other factors must also be taken into account.). So if you ever need to change the automation, return to your automation list in Shortcuts and tap the automation in the list, where you can adjust the sunrise or sunset, or adjust the length of the timer to suit your needs.

If you ever need to turn off the sunrise or sunset alarm, tap the automation in Shortcuts and toggle the Enable this automation switch to Off.

Crane

When you’re done, you can ride into the sunset in style – at just the right time every day! Lots of fun.




Source link