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

jamie0610

macrumors newbie
Original poster
Jan 15, 2018
29
25
Hi. Hoping you guys can help. It seems Phillips forum has been shut down. I want to build this but am unsure of how to

1) hey Siri say good night
2) both hue bulbs in room set to 50% brightness and blue colour then take 10 minutes to fade to off. At 5 minutes 1 bulb should switch off
3) on hey Siri say good night a music playlist should play that is in iTunes.

any advice would be very much appreciated.
 
Using just Siri or the Hue app in one action with everything you listed I don't think you can but you can separate it out and accomplish the same goal.

Create a scene in the Home App called "Goodnight" select the bulbs you want and the % dimmed & color. I don't know of anyway to shut off 1 bulb 5 minutes later using just those two apps.

The music is separate, so create a "Bedtime" or "Goodnight" play list and just say Hey Siri play "Goodnight" playlist with the additional Siri command. It will get you close to your idea (can't turn off 1 bulb at 5 minutes) but everything else is accomplished.

Yes, No, Maybe? I think that will work.
 
Last edited:
You have automation in the Home app now, which you might be able to make use of. Then Shortscuts for music.

its beyond my skill set but maybe you can do it with a YouTube video to help guide you?
 
You say play an iTunes playlist, you don't say on what speakers, or what device you want to play it on.
and is it an iTunes playlist that you have music stored locally for? or something you're streaming from Apple Music.

if you've got a HomePod, you can add music to a scene, but I think it only works with Apple Music. Not sure how it works if it's a playlist of your music in iTunes.
if you've got airplay speakers, (and Apple Music) it might will also work, but it airplays from one of your appleTVs, I've seen posts here about it actually turning on the TV when this happens.

The long slow fades you want to do can be accomplished with hue, BUT you'll have to code it yourself. If you understand some web tech basics, it's pretty easy to control. But you'll need the be able to send a PUT request with a JSON message to your hub. just google "Hue API"
You can send PUT requests using the shortcuts app, but you'll need to authorize beforehand
The timing like that can not be done with homekit or the hue app.

with shortcuts, you might be able to do something a little simpler, I think iOS14 made it so you can have longer delays, previously you could only do a couple minutes. That might still be the case. so you might be able to do ...
"turn lights blue"
"wait 5 minutes"
"turn off light 1"
"wait 5 minutes"
"turn off light 2"
With these, the lights will fade in their normal 1-2 seconds, but will wait before they do
and like I said, shortcuts might stop running after a couple minutes, so this might not work.

in shortcuts, you can also start a playlist on your phone, and then hand it off to a HomePod if you wanted.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.