Kodi Community Forum

Full Version: Philips hue integration or add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Do hue ledstrips use the same controller?
Having read this http://www.slashgear.com/philips-hue-lig...-09293300/ I think it should work as all use the same controller (in fact you need the hue bulb system to use the ledstrip).

I am guessing the led strip just appears as another hue bulb to the system, but be aware that they aren't a substitute for an ambilight system - it looks like the entire strip is the same colour, ie the leds do not seem to be individually addressable.
Just tried it, the hue bridge connects with xbmc but led strips don't light up, not in ambilight or theatre mode.
First step, does the android or ios app work with them? The lights need to be in the group that hue addon controls.
Hi, I should be getting my hue bulbs and bridge shortly, and am really looking forward to pairing it with xbmc. However, ideally I would like the lamp behind my tv to be the ambilight, and the other 3 lamps to dim when I play a film on xbmc. Is this possible with the hue add on, or is it a case of one or the other? If anyone could let me know, I would be very grateful. Thanks
I am not sure as I have never bothered with the ambilight. Theoretically it should be possible but may require some amendment to the source code for this addon.
Thanks. Maybe adding another section in the source code? I'll have a look at that.
There are in fact two separate addons for hue, a straight dimmer and an ambilight version. If you know a bit of python you could combine them and takw bits out of each.

Actually maybe you could run them both at the same time, each pointing to two separate lighting groups.
Great thanks, I know a small bit of python. I'll give it a go. May be a bit outside of my skills, but I'll give it a go. Thanks for the tips.
(2014-07-06, 09:22)dannygee222 Wrote: [ -> ]Hi, I should be getting my hue bulbs and bridge shortly, and am really looking forward to pairing it with xbmc. However, ideally I would like the lamp behind my tv to be the ambilight, and the other 3 lamps to dim when I play a film on xbmc. Is this possible with the hue add on, or is it a case of one or the other? If anyone could let me know, I would be very grateful. Thanks

This is fairly easy. It took me some time to figure out how to do this, since the instructions on the internet are a bit lacking and fairly complicated, but I have found an easier way to do the setup.
SETTING LIGHTS TO BE USED AS AMBILIGHTS
The XBMC Ambilight add-on allows one to select how many lights should be used as “ambilights”. You can control either 1, 2 or 3 lights. It took me some time to figure out where to get the “Light ID” that is required by the XBMC add-on, until I realised it is actually very simple – one simply has to use the number assigned to the light in the sequence your lights were added. To get this number, simply open up the (original) Philips Hue App on your Android device and go to the “My lights” section under “Settings”. (This can only be done while connected to the same wifi network and since I’m away from home for a while, I’m unable to make a screenshot to explain). The lights are listed with numbers next to them – those are the numbers you want.
If you wish to control only one light behind your TV e.g., you’ll select the “1 light” option in the XBMC add-on under “How many lights to be controlled” (can’t remember the exact wording) and add the light’s number obtained from your mobile app as explained above.
That’s all there is to setting up the Ambilight.
DIMMING OTHER LIGHTS IN THE ROOM
To dim other lights in the room, you have to create a group on the Hue bridge and assign all the lights in the room to that group. (There is a default group “0” on the bridge, which includes all the lights connected to the bridge. So if you wish to dim all the hue-lights in your home, you could simply use group 0.)
To dim specific lights belonging to a group, a group has to be created on the bridge and the process to do that, is fairly complicated if the commonly suggested procedure on the internet is followed. (Light Groups created with most of the Mobile apps, are not created on the Bridge itself and cannot be used for this procedure).
There is however an app that will create the groups on the bridge itself and using this app to create the groups is a lot simpler than the procedure usually used to create groups on the bridge.
The app is called Hue Control. Say e.g. you wish to create a group “Lounge” with 5 lights in the group (to dim the lights in your lounge when movie playback starts). To do this, create a group “Lounge” with the Hue Control-app and add the 5 lights/bulbs to the group (also in Hue Control) which will be members of this group. Since this is the first group you have created, the group’s number will be “1” on the bridge.
All that remains to be done is to go back to the Ambilight add-on in XBMC, select “Dim a group of lights when playback starts” and add “1” as the group number (under “Advanced Settings” if I remember correctly).
That’s it. Once your movie starts playing, all the lights of group “Lounge” will dim and only the light of which you have added the ID in XMBC to be controlled by it, will change colour.
If you have numerous groups or are uncertain of the group number, there is a fairly simple procedure to check the group numbers:
You first have to create a user on the Bridge: Follow all the steps on this page to log into the bridge from a browser and to create a user.
Once that has been done, go to this page for instructions on how to extract the group numbers of your Philips Bridge. (Remember to replace <username> with the name you have created in the first step i.e. “newdeveloper” if you followed the instructions in step one to the letter.)
Hope this helps.
Brilliant. Thanks very much. Like I said, I don't have the lights yet, but will test as soon as I do, and report back. Thank you very much for your help.
ambilight will be iffy as there is quite a lag and it will end up more of a distraction than an enhancement.
there are two separate add-ons for controlling, one is to turn lights on/off/dim the other is for ambilight style lighting.
I've been able to get ambilight to work with the scenario dannygee222 describes (with 949BFN's solution). The question I have is, is there a way to dim the lights only if I'm playing a movie (and not dim if I'm playing a tv show)? I've tried the Disable for short movies setting but that doesn't seem to have any impact for me. Any help here would be greatly appreciated - thank you!
The short movie setting I believe is just for under 5 mins like movie trailers. I had the same wish to disable for TV Shows but ended up making my own solution with my Android tablet, Tasker, Yatse, and AutoHue. Yes, it's quite the list of apps to integrate but for me I was already using those apps for my other home automation projects. If you're interested how to do it, let me know and I'll share.
(2014-07-16, 06:56)jer78 Wrote: [ -> ]The short movie setting I believe is just for under 5 mins like movie trailers. I had the same wish to disable for TV Shows but ended up making my own solution with my Android tablet, Tasker, Yatse, and AutoHue. Yes, it's quite the list of apps to integrate but for me I was already using those apps for my other home automation projects. If you're interested how to do it, let me know and I'll share.

You just helped me figure this out -- thank you!! I just edited the default.py file and changed the disable for short movies code from 300 to 3600 (to account for any hour long tv shows). Works like a dream! Big Grin
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29