Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

campingsk8er

macrumors 6502a
Original poster
Feb 4, 2011
548
248
Elizabethtown, PA
So I completely forgot that the Shortcuts app existed until my friend sent me a super useful one last week. Well I’ve been creating some of my own and I’m now stuck on the “programming” of this one and what I want it to do. BASICALLY, what I WANT it to do is when I start it, Turn my system volume to a certain level, Then ask what time Do Not Disturb will be set to (8AM, 9AM, 10AM, or Other). When I click Other, I want it to ask me what time? It turns WiFi on, then Runs my Good Night HomeKit scene. At that point, I want it to grab tomorrow’s weather forecast, read it to me. Finally, it starts my chill mix playlist, starts a 30 minute timer (which at the end turns the music off) and ends with “Good night Wayne. Sleep Tight.”

Setting system volume, turning WiFi on, running my HomeKit scene, and playing music for the correct time is all working properly. The issues I’m having is with setting DND and reading me ONLY tomorrows forecast. Currently, for the DND function to work, only whole times can be inputted AND the shortcut will only work if the the time is later that same day (ie, it only works if I run the shortcut after 12:01AM because If I run it at 1159PM or even 7pm, it thinks I’m trying to set it for that same day). The second issue is its grabbing the weather forecast, but it’s reading off the ENTIRE AVAILABLE forecast. Sooo... Help?

Pics attached to show you the current flow that I have. The Adjust date is something new I tried and that doesn’t help. The error message I receive says “Please provide an end time that is later than the current time for Do Not Disturb.”
 

Attachments

  • 9269FEB5-A176-4670-B161-D484B2B54100.png
    9269FEB5-A176-4670-B161-D484B2B54100.png
    836.3 KB · Views: 93
  • 1E87A126-EA15-4B7A-81B6-75C92E22F1DB.png
    1E87A126-EA15-4B7A-81B6-75C92E22F1DB.png
    978 KB · Views: 96
  • 2F389296-DD6C-48F8-A599-0ECAEE9D7CC9.png
    2F389296-DD6C-48F8-A599-0ECAEE9D7CC9.png
    992.2 KB · Views: 78
  • FBDFA50D-6B3A-41E5-8ADA-2B0D118AA39F.png
    FBDFA50D-6B3A-41E5-8ADA-2B0D118AA39F.png
    987.5 KB · Views: 74
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.