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

matrix07

macrumors G3
Original poster
Jun 24, 2010
8,226
4,895
Hi,

Anyone here competent at automation? I just want to say to HomePod “Hey Siri good night” and it will play a rain sound for 30 minutes then goes to sleep. Sounds simple enough. The problem is I know nothing about automation in Home or Shortcuts so.. helps! ?
 

matrix07

macrumors G3
Original poster
Jun 24, 2010
8,226
4,895
I look at shortcuts briefly but found that we can add timer to it but there is no way to specify what it will do once the timer ends (in this case - stop playing or go to sleep). ?
 

matrix07

macrumors G3
Original poster
Jun 24, 2010
8,226
4,895
Thank @haralds

This shortcut I made seems to work ?

(I called it Night Night since Good Night is already reserved, but you can change it to anything)

Not sure why it didn't work when I play a rain sound on Apple Music on iPhone then AirPlay to my HomePod. The HomePod just didn't stop playing after timer ended but from this shortcut it did.
Now I even can add this shortcut to sleep mode. Awesome!

Important note: You need to set timer in your phone to Stop Playing.
 

matrix07

macrumors G3
Original poster
Jun 24, 2010
8,226
4,895
Thank @haralds

This shortcut I made seems to work ?

(I called it Night Night since Good Night is already reserved, but you can change it to anything)

Not sure why it didn't work when I play a rain sound on Apple Music on iPhone then AirPlay to my HomePod. The HomePod just didn't stop playing after timer ended but from this shortcut it did.
Now I even can add this shortcut to sleep mode. Awesome!

Important note: You need to set timer in your phone to Stop Playing.
Oops I put this in Wind Down and the phone didn't run this short cut automatically ??‍♂️. That doesn't seem like "it just works". I have to create an automation to run this short cut when Wind Down starts.

Apple why?
 
Last edited:

matrix07

macrumors G3
Original poster
Jun 24, 2010
8,226
4,895
Not sure why it didn't work when I play a rain sound on Apple Music on iPhone then AirPlay to my HomePod. The HomePod just didn't stop playing after timer ended but from this shortcut it did.
Now I know why..

Playing music on iPhone and AirPlay to HomePod
iphone.jpeg


Playing music on iPhone and AirPlay to HomePod but using my shortcut to do it
shortcut.jpeg


Spot the difference?..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.