I want to setup a scheduled event at sunset each day such that it:
- Stops Spotify (at 1 minute before sunset)
- audio announcement
- plays a specific audio clip
- Hue fireworks or some hue routine
- goes back to what it was playing before (ie: Spotify)
I have believe I can use "schedule" with a -1 value for sunset to start the routine. I understand how to setup the audio file but what I haven't figured out is::
- how to stop Spotify, play an audio file, then return to Spotify. I have to hijack airplay or airfoil to get this to work
- and then how to kickoff a Hue routine (like fireworks)
Thoughts appreciated