cees-elzinga / script.xbmc.hue.ambilight

XBMC add-on for Philips Hue lights with ambilight support
Do What The F*ck You Want To Public License
127 stars 123 forks source link

Only enable add-on at night #34

Open cees-elzinga opened 10 years ago

cees-elzinga commented 10 years ago

Feature request from blog by "Jeremy":

Any chance we could get an update for time of day settings? For example, I would like to only engage the lights after let’s say 9pm because if I’m watching something during dinner earlier in the evening I have to disable the script every time so it doesn’t keep playing with my lights. Maybe I’m the only one that would use this feature though but just thought it doesn’t hurt to ask.

cees-elzinga commented 10 years ago

Requested by "Mirmo" as well

jwveldhuis commented 10 years ago

Another idea on how to implement this: first detect whether the bulb(s) is/are on, if not, then do not alter them with the plugin, especially for theatre mode you dont want the bulbs go on when they were off before the video started. At night most people will have there hues enabled, so then there is no need for a time schedule. Perhaps configure 1 bulb to be the 'master': if that one is on: use theatre mode, otherwise don't.

Only issue then: what if it gets dark while watching a movie and you do want lights at pausing..

edit

In #28 there was mentioned it already works this way, but it does not work for 'groups'. When I changed it to use my 2 specific bulb id's it is working indeed! So ignore his post, thanks for creating this nice plugin! :)

Timmiejane commented 9 years ago

Please include this option into the script... Please! Easy solution just add confit options. Example: Light Activity Times Turn on at: 17:00 Turn off at: 02:00

This way I could set it to say 5pm to use the script, but after 2am it wouldn't.