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

Featurerequest: Mixed mode #2

Closed celevra closed 11 years ago

celevra commented 11 years ago

Hi,

i would love to see ambilight and on pause or stop theater mode so that after all, all my lights are on and white

think you get it, didn't you?

best regards

cees-elzinga commented 11 years ago

got it, might add it sometime :)

cees-elzinga commented 11 years ago

This should work in version 0.4.0.

Configure the add-on to "use all lights", but in the advanced setting toggle "Ambilight: dim all lights when playback starts". If you pause or stop the movie the lights should "undim". You can also configure the "undimmed" settings in the advanced settings panel.

Let me know if it works for you, then I'll close this issue.

celevra commented 11 years ago

Hi,

thank you very much for your work. unfortunately i can't get it work. i get something like "the script failed" but nothing in the xbmc.log is there anything i can do to debug it?

Best regards

cees-elzinga commented 11 years ago

You're welcome :)

You sure there is no message in the logs? The logfile is rotated every time you restart XBMC. But if you get a crash, quit XBMC and check the xbmc.log it should be there (probably a Python exception, if you look for "ERROR" you might find it)?

Anyway I took another look at the code and discovered a bug in the initial flashing of the lights that causes a crash. Did you have that option enabled? If so, I fixed it in version 0.4.2. Could you give that one a try? If you still get an error, can you post some more details about your setup and the settings you have configured in XBMC for the add-on?

celevra commented 11 years ago

deactivate the flashing does the trick ;-)

i have tried several configurations. with mode "ambilight" and "all lights" i have no setting where i can define the real ambilight bulb. If i then start the movie all lights get dimmed and 1 ms later they start flashing, but to slow and if i stop the movie they stop about 10 secs later

if i configure mode "ambilight" and select the light 1, ambilight is as espected but nothing get dimmed

cees-elzinga commented 11 years ago

Good !

If you select "ambilight" and "all lights", the effect is crappy. Can't do much about that. The bridge is very slow when it talks to a group (instead of a single bulb). In ambilight mode, when updating the color multiple times a second, the bridge just can't keep up and goes out-of-sync with the movie.

But as you tried, it should work better with a single bulb :)

if i configure mode "ambilight" and select the light 1, ambilight is as espected but nothing get dimmed

If you want ambilight for bulb 1, and dim all other lights:

in the advanced settings:

That should do the trick!

(there should be one little side effect: light number 1 is first dimmed, because it's part of group 0 and group 0 is dimmed before playback starts. but when playback starts and the first ambilight colour is ready the light pop backs on. You could fix this by creating a new group with all lights expect number 1, see the FAQ)