Activating Sleep Focus based on Time and Location

Hi


My sleep focus currently activates at 10 pm and deactivates at 6 am. It currently activates and deactivates regardless of my location.


Is there a way I can add a location condition such that this focus only activates when I am at location = “Home”?


Hence, it should

a. activate / deactivate the sleep focus if my location = “Home” between 10 pm and 6 am,

b. not activates if my location <> “Home” between 10 pm and 6 am but should activate if my location = “Home” between 10 pm and 6 am (ie I have returned home).


Can anyone please advise how this can be done?


Thanks for your help.

iPhone 14 Pro Max, 17

Posted on Feb 10, 2024 10:53 PM

Reply
2 replies

Feb 10, 2024 11:35 PM in response to Stan-ng

To establish a Sleep Focus using the Shortcuts App with a location-based condition, follow these steps:


  1. Create a Sleep Focus Shortcut: Open the Shortcuts App and design a new Shortcut for setting up the Sleep Focus. Incorporate relevant actions such as adjusting brightness, enabling Do Not Disturb, and any other preferences you desire during your sleep.
  2. Save the Shortcut: Once you've configured the Sleep Focus Shortcut, save it to be easily accessed and utilized.
  3. Setup Automation:
    1. Navigate to the Automation tab within the Shortcuts App.
    2. Select the "Create Personal Automation" option.
    3. Choose the "Arrive" trigger, specifying the location as "Home."
  4. Link Shortcut to Automation: Connect your Sleep Focus Shortcut to the automation you just created. This ensures that the Sleep Focus activates automatically when you arrive at the specified location.


Implementing this process will seamlessly integrate automation into your sleep routine. The Sleep Focus Shortcut will be triggered automatically when you arrive at your designated "Home" location, creating a personalized and efficient way to manage your device settings for a restful night.


Watch the GIF below which gives a step-by-step process.


Feb 12, 2024 1:51 AM in response to SravanKrA

Dear SravanKrA


Thank you very much for your advice in this. It is very useful and helpful.


My apologies if I hadn’t been clearer.


I had failed to mention that my Sleep Focus was set up using the Health App and hence there is a sleep schedule set in the focus by Health. This currently runs regardless of where I am located as no location parameter can be set in the focus. Is there a way of “restricting” this to only trigger if/when my location = “Home” during the sleep schedule (Including wind down etc) timings?


I tried your suggestion above and the focus will still set if I am not at home. Would you have any other advice, please?


Thank you very much once again for your time.


stan

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Activating Sleep Focus based on Time and Location

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.