Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Behodar

11092 posts

Uber Geek
+1 received by user: 6070

Trusted
Lifetime subscriber

#223790 17-Oct-2017 15:02
Send private message

Hi all,

 

I'm looking at a few options for automating the lighting in my home theatre, but I'm struggling to find up-to-date information on the resolution of timers. Here's an example of what I might like to accompish, assuming a two-hour movie:

 

19:29:50 - Dim the lights to "off" over a 10-second period
19:30:00 - Start the movie (I don't expect the Hue to handle this)
21:30:00 - Fade the lights back in over a 10-second period

 

Of course, a movie's length will rarely be an exact multiple of 60 seconds, so I'd need to set the fade-in to something like 21:27:34. Is it possible to set timers down to the second with Hue "out of the box"? I know that there's an API, but I don't want to overcomplicate things right off the bat (although I'll likely get to it eventually; I already have a database of my movies, complete with the lengths, so I have data to feed it).

 

Thanks :)


Create new topic
trig42
5889 posts

Uber Geek
+1 received by user: 2094

ID Verified

  #1885146 17-Oct-2017 15:04
Send private message

I don't know about the timers, but it sounds pretty cool.

 

Wouldn't you want the lights to rise up during the credits though? Say lights up to 50% form the time the credits start to roll. Fade up to 100% at the end of the credits.




Behodar

11092 posts

Uber Geek
+1 received by user: 6070

Trusted
Lifetime subscriber

  #1885147 17-Oct-2017 15:05
Send private message

Yup; it's just a simplified example :)

 

For some of the older stuff like "2001" I'd want to handle the intermission too.


michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1885160 17-Oct-2017 15:28
Send private message

You can do this sort of thing via the Hue API or via Stringify but not from the Hue app.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.




mdf

mdf
3566 posts

Uber Geek
+1 received by user: 1519

Trusted

  #1885166 17-Oct-2017 15:40
Send private message

Not 100% on topic, but this is a pretty cool project using a udoo board to make an ambient light system (lights change according to what's on screen):

https://www.hackster.io/matteodelbalio/home-theater-pc-ambient-light-system-with-udoo-x86-951a9b

Disrespective
1934 posts

Uber Geek
+1 received by user: 146


  #1885181 17-Oct-2017 15:58
Send private message

What media player are you using? If there is no way to determine the play state then the Hue API can't be called automagically. Or are you going to do this manually?

 

I can do this with OpenHAB easily enough but it's not the smoothest of learning curves. There are other home automation systems which may be simpler to setup.


Behodar

11092 posts

Uber Geek
+1 received by user: 6070

Trusted
Lifetime subscriber

  #1885186 17-Oct-2017 16:18
Send private message

Thanks for the responses. It looks like the API will do what I want (probably triggered from a schedule on my home server) even if there is a bit of a learning curve there. In any case I've been humming and ha'ing about a Hue for a while now so I should probably just bite the bullet; it's not all that expensive when compared with the rest of my setup :)


 
 
 

Shop now at Mighty Ape (affiliate link).
richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #1885219 17-Oct-2017 17:14
Send private message

How do you know where the credits are in the movie? Is someone providing an API to get that info?




Richard rich.ms

Behodar

11092 posts

Uber Geek
+1 received by user: 6070

Trusted
Lifetime subscriber

  #1885233 17-Oct-2017 18:00
Send private message

I'm going to have to update my database to include a "credits" timestamp. I'm not aware of an API, and even if there is one there would still be manual checking required to take different releases/editions into account.

 

I'm already resigned to needing to do this, but it'll be on an as-needed basis rather than trying to put hundreds of movies in there all at once.


RickW
302 posts

Ultimate Geek
+1 received by user: 57


  #1885259 17-Oct-2017 19:14
Send private message

My theatre uses kodi with the cinemavision add on to do the following with hue lights:
It sets the lights to a certain scene for movie trailers.
Turns off the lights off while the movie plays or can set a scene.
If you pause it sets a certain scene.
When the movie resumes it puts the lights back to the previous scene.
When the movie finishes it sets another scene.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.