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.




5874 posts

Uber Geek
+1 received by user: 851

Trusted
Subscriber

Topic # 223790 17-Oct-2017 15:02
Send private message quote this post

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
Banana?
4051 posts

Uber Geek
+1 received by user: 858

Subscriber

  Reply # 1885146 17-Oct-2017 15:04
Send private message quote this post

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.




5874 posts

Uber Geek
+1 received by user: 851

Trusted
Subscriber

  Reply # 1885147 17-Oct-2017 15:05
Send private message quote this post

Yup; it's just a simplified example :)

 

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


 
 
 
 


6812 posts

Uber Geek
+1 received by user: 3135

Moderator
Trusted
Subscriber

  Reply # 1885160 17-Oct-2017 15:28
Send private message quote this post

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
Want to be with an epic ISP? Want $20 to join them too? Well, use this link to sign up to BigPipe!
The Router GuideCommunity UniFi Cloud Controller | Ubiquiti Edgerouter Tutorial


mdf

1553 posts

Uber Geek
+1 received by user: 397

Trusted
Subscriber

  Reply # 1885166 17-Oct-2017 15:40
Send private message quote this post

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

1771 posts

Uber Geek
+1 received by user: 116


  Reply # 1885181 17-Oct-2017 15:58
Send private message quote this post

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.




5874 posts

Uber Geek
+1 received by user: 851

Trusted
Subscriber

  Reply # 1885186 17-Oct-2017 16:18
Send private message quote this post

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 :)


20374 posts

Uber Geek
+1 received by user: 3877

Trusted
Subscriber

  Reply # 1885219 17-Oct-2017 17:14
Send private message quote this post

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




Richard rich.ms



5874 posts

Uber Geek
+1 received by user: 851

Trusted
Subscriber

  Reply # 1885233 17-Oct-2017 18:00
Send private message quote this post

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.


181 posts

Master Geek
+1 received by user: 25


  Reply # 1885259 17-Oct-2017 19:14
Send private message quote this post

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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28



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.

Alternatively, you can receive a daily email with Geekzone updates.