Version 0.6.0

Version 0.6.0 is out with general improvements all around. Most work is done improving the ambilight colors. All work is done by Rob Walch (thanks). Full details are available on GitHub.

Preview:

Enjoy!

Advertisements

166 thoughts on “Version 0.6.0

  1. Jeff

    Really awesome plugin, been using it for almost a year 🙂 I’ve since expanded by bulbs, I now run 8 Philips hue bulbs in the house and want to have one dedicated to XBMC. Is there any way you can add support for more than 3 bulbs?
    Already donated to your project 🙂

    Reply
  2. Mystr0183

    For those of you having trouble with auto discover heres quick solution .
    1. Download http://sourceforge.net/projects/winhue/
    2. Open and click users icon. Make up a name and click generate username.
    make sure you write down the Username given dashes included.

    3. In Xbmc Hue configuration settings Within XBMC, Type in your bridge’s IP then the username that it generated. Hit the OK button (Important) Everything should work fine.

    Reply
  3. rolf

    Hi,
    I’m reading different info (some maybe outdated). But will this plugin run in ambicolour mode on a (512MB) RaspberryPi, running latest RaspBMC?
    I’ve ordered a starterset Hue, and am now browsing cool applications for it…

    Reply
  4. Jalso

    Hi,
    I have updated the firmware of the Philips Hue Bridge, and started to receive error codes in XBMC. It used to work like a charm (0.6.1), but now that I installed 0.6.2, xbmc says script error. This is what the log file says:
    11:18:10 T:5768 NOTICE: Thread XBPyThread start, auto delete: false
    11:18:10 T:5768 NOTICE: –>Python Interpreter InitializedPython callback/script returned the following error<–
    – NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type:
    Error Contents: list indices must be integers, not str
    Traceback (most recent call last):
    File “C:\Users\Pc\AppData\Roaming\XBMC\addons\script.xbmc.hue.ambilight-master\default.py”, line 462, in
    hue = Hue(settings, args)
    File “C:\Users\Pc\AppData\Roaming\XBMC\addons\script.xbmc.hue.ambilight-master\default.py”, line 95, in __init__
    self.update_settings()
    File “C:\Users\Pc\AppData\Roaming\XBMC\addons\script.xbmc.hue.ambilight-master\default.py”, line 187, in update_settings
    self.light = Group(self.settings)
    File “C:\Users\Pc\AppData\Roaming\XBMC\addons\script.xbmc.hue.ambilight-master\resources\lib\tools.py”, line 215, in __init__
    Light.__init__(self, settings.light1_id, settings)
    File “C:\Users\Pc\AppData\Roaming\XBMC\addons\script.xbmc.hue.ambilight-master\resources\lib\tools.py”, line 102, in __init__
    self.get_current_setting()
    File “C:\Users\Pc\AppData\Roaming\XBMC\addons\script.xbmc.hue.ambilight-master\resources\lib\tools.py”, line 118, in get_current_setting
    state = j[‘state’]
    TypeError: list indices must be integers, not str
    –>End of Python script error report<–

    May you please help me to find out what is wrong?

    Reply
    1. meethue Post author

      Hi, I remember seeing this before but can’t remember. Please enable debug logging in the advanced settings and post the log details with the debugging information.

      Reply
    2. analogmonster

      I had this issue until I created a username. Instructions are here: http://www.developers.meethue.com/documentation/getting-started

      Should be easy enough for most people but basically go to http:///debug/clip.html

      this opens the hue hub’s built in debug tool. In the url box of the debug tool (not your browser page) change it to /api. Fill the message body box with:
      {“devicetype”:”test user”,”username”:”newdeveloper”} and click post. The command response should say link button not pressed. press it. click post again and the command response should say success.

      Now you have your username for kodi, which is newdeveloper. Fill it into settings (system\settings\add-ons\enabled add-ons\services\xbmc philips hue\configure), set up ONE light (change this later if you want we just want simple for testing) and restart kodi.

      And hopefully hey presto, no more scripting error on startup and your light(s) blink when kodi first loads. Now go fiddling with settings again

      Reply
  5. Bruce Croom

    Hi,
    Great add-on!!!! It took me a couple of installs and re-installs but I got to work flawlessly on my Windows 8 system. At first I had trouble with it turning on and off all my lights but the instructions to create groups were dead on! Now my only wish purely for entertainment value, is there a way to get the lights to work with the cinema experience add-on? They work, but they dim and undim every time a trailer, or intro loads in cinema ex. When I’m home watching alone it’s no biggie, but when I entertain friends, it would be the greatest thing in the world to them! But seriously thank you for all your work on the add-on!!!!

    Reply
  6. Bruce Croom

    Ok so I feel stupid. I just check the option for disable for short movies, NOW IT WORKS WITH CINEMA EXPERIENCE!!! For those who don’t know…. Outstanding plugin!!! Now my home theater is complete! Will WITH OUT DOUBT DONATE!!!

    Reply
  7. Johannes

    Hello! First of all thank you for your addon…I was looking for something like that and could only find Android apps that use the Camera to scan whatever screen. But they didnt really work very well so I was excited about your addon even though I never heard of XBMC before. I installed it on my Windows 7 and everything worked just fine (bridge conected and everythin) and the ambilight started and worke for maybe around 3-4 minutes and then it just frooze to one color that wouldnt change anymore. Only when I restart XBMC it works again but then also only for 3-4 minutes. Any suggestions what could cause this problem? I would really appreciate it.
    thanks 🙂

    Reply
  8. robbiemk3

    Hi, I’ve done as the instructions say and have installed both zip files, restarted xbmc, gone to “click me for automatic configuration” and nothing!?! Had a look through comments and just don’t know what to do to get it going? Any help on this would be much appreciated
    Cheers. . .

    Reply
  9. Abdessamad

    Is this script 100% kodi helix compatible? Because here while playing a movie the script crash so the lights stop changing.. Got to restart kodi and résume playing.
    This happening once or twice with 100min video, but mostly at the begining of playback.

    Reply
  10. Robert

    If I get the Phillips Hue that only dims (doesn’t change color) will the plugin still work for it? I only want the lights in my ceiling to dim as I already have an adalight setup for the tv.

    Reply
  11. iolo2

    Hi
    Thank you for you work

    I just discovered your plugin. Can tell me what version with Ambilight works with XBMC 12.3 Frodo. I can’t update XBMC version (NAS) Thanks for your help

    Reply
  12. stefan

    hi, just found this plugin and it’a amazing, great job. But I would like to use it with 4 lights + ambilight (in settings we can set it to 3 but no more)… I also have tried to set it with a “group” but it’s as you said, “very slow”….. how can i use it with 4 lights and without using a group ??? can you help me please ?

    Reply
  13. Nork

    I really like your work, but i would actually prefer more options for the way the ambilight works.as far as i can see it uses the most used colour. I think the average could look better. since the way it uses right now, gives strange colors on one bulb(for me mainly the second one). if there is a part with a uniform color(like a red cape). and along with this the possibility to assign the bulbs to specific screen areas. These are two ideas wish i think would improve the the ambilight.

    Reply
    1. meethue Post author

      Hi Nork. You’re correct. I try to use the “most occurring” colour. See this old blog post for more details (https://meethue.wordpress.com/2013/01/17/xbmc-and-philips-hue-ambilight-part-1/). I started of using the “average” colour but that turned out a bit dull. The details of that blog post are a somewhat out-dated but the basics are still in there. I agree it would be a nice add-on to restrict certain lights to certain areas of the screen.

      Reply
      1. Rune Kjær Jensen

        I had to uninstall it as it kept crashing my RasPi. Not at once but when you play a movie or something else, it would freeze like 30-60 minutes into the video, without any interaction from my part 😦
        So I don´t know if it will work with 5.0, as it don´t work with the current version.

  14. Marcel Portier

    This is the most useful Kodi add-on I ever installed! Absolutely amazing! I’ve set it up to dim all lights in the livingroom and enabled the Ambilight mode for the Lightstrip at the back of my tv. Love it!

    Reply
  15. Michael Berg

    WOW – it works really fantastic with my first two Philips Bloom (left and right beside the TV). I am using it with my XBMC 13.2 (now named as “Kodi” with version 14). Donation incoming 😀

    Reply
  16. Emmo

    Still i get plugin error. Can somebody explain me how i can create or find my bridge user ? I install this applications many times but i get the same pluging error.

    Reply
  17. Torsten

    it seems to be that the plugin is also working on RaspberryPi (openelec) in ambilight mode.. but there is still something wrong which I cannot explain.. sometimes the HUE bulb is not changing the color and it remain in the default color.. also nothing to find in the logfiles..

    anyone else with this problem?

    Reply
    1. Fab

      Try to modify video decoding with software. It will slow the video but you will see if the light works fine

      Reply
  18. Billy

    So im trying to make a group for the 2 bulbs next to my TV so it leaves the rest alone.
    If i get
    [{error:{type:2,address:/groups,description:body contains invalid json}}]curl: (3) [globbing] unmatched close brace/bracket in column 2

    instead of

    [{“success”:{“id”:”/groups/1″}}]

    trying to cURL
    curl –request POST “http://IP/api/User from Xbmc autofind/groups” –data ‘{“name”:”Living Room”,”lights”:[“2”, “7”]}’ -H “Content-Type: application/json”

    Any suggestions?

    Reply
  19. Chris

    Hello, first of all please excuse my bad english!

    I have problems with your add on. I get Script fails every time.
    Running on OpenElec 4.2.1

    Here is hopfully the right log.
    07:26 T:140275596879616 NOTICE: XBMC Hue: DEBUG creating Light instances
    19:07:26 T:140275596879616 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
    – NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type:
    Error Contents: list indices must be integers, not str
    Traceback (most recent call last):
    File “/storage/.xbmc/addons/script.xbmc.hue.ambilight-master/default.py”, line 462, in
    hue = Hue(settings, args)
    File “/storage/.xbmc/addons/script.xbmc.hue.ambilight-master/default.py”, line 95, in __init__
    self.update_settings()
    File “/storage/.xbmc/addons/script.xbmc.hue.ambilight-master/default.py”, line 197, in update_settings
    self.light[0] = Light(self.settings.light1_id, self.settings)
    File “/storage/.xbmc/addons/script.xbmc.hue.ambilight-master/resources/lib/tools.py”, line 102, in __init__
    self.get_current_setting()
    File “/storage/.xbmc/addons/script.xbmc.hue.ambilight-master/resources/lib/tools.py”, line 118, in get_current_setting
    state = j[‘state’]
    TypeError: list indices must be integers, not str
    –>End of Python script error reportPython Interpreter Initialized<–
    19:07:38 T:140275596879616 NOTICE: Thread JobWorker start, auto delete: true
    19:07:46 T:140277614962560 NOTICE: Previous line repeats 2 times.
    19:07:46 T:140277614962560 NOTICE: Storing total System Uptime
    19:07:46 T:140277614962560 NOTICE: Saving settings
    19:07:46 T:140277614962560 NOTICE: stop all
    19:07:46 T:140277614962560 NOTICE: stop player
    19:07:46 T:140277614962560 NOTICE: ES: Stopping event server
    19:07:46 T:140277614962560 NOTICE: stopping zeroconf publishing
    19:07:46 T:140277614962560 NOTICE: Webserver: Stopping…
    19:07:46 T:140277614962560 NOTICE: WebServer: Stopped the webserver
    19:07:46 T:140277614962560 NOTICE: Webserver: Stopped…
    19:07:46 T:140276005840640 NOTICE: ES: UDP Event server stopped
    19:07:46 T:140277614962560 NOTICE: stop dvd detect media
    19:07:46 T:140277614962560 NOTICE: stop sap announcement listener
    19:07:46 T:140277614962560 NOTICE: clean cached files!
    19:07:46 T:140277614962560 NOTICE: unload skin
    19:07:46 T:140277614962560 WARNING: Cleanup: Having to cleanup texture frames/frame-alt.png
    19:07:46 T:140277614962560 WARNING: Cleanup: Having to cleanup texture white.png
    19:07:46 T:140277614962560 WARNING: Cleanup: Having to cleanup texture overlays/cover_overlay.png
    19:07:46 T:140277614962560 WARNING: Cleanup: Having to cleanup texture backgrounds/bg/power.jpg

    Any idea?

    Best regards,
    Christian

    Reply
  20. mathojojo@gmail.com

    Hello,

    Is it working with KODI 14 ?

    A suggestion : It would be fantastic to add a Music analyser mode as well…lights would change color or start and stop with rythm of music, and/or with tones (high/medium/bass) …

    Thank you 🙂

    Reply
  21. kojak

    I am using kodi helix on Amazon firestick and everytime the script finds the hub and connects from the setup, I get script failed. Does this not work on kodi for firestick? If not can that be fixed. I so want this to work.

    Reply
  22. Gabe

    Hello and Good Day- FYI I’m not a techie….but will this download work on a Mac? I download the file, open Kodi (XMBC) and it asks for a zip file. I read you could just change the name by adding zip to the end and it would work but it still won’t install the add on. How can i get this to work on a mac? Thanks!!!

    Reply
  23. Billy R

    Hi, I love this plugin and have been using it for years.. I recently updated my room and would like to change the “Dimmed hue color” to have more saturation. Currently when I input the color number I want, I see a slight color change but I’m really looking to make it a rich dark blue. Where in the settings files (which file) and what lines would I have to change to get more saturation into the color?

    Also, which line/file would I edit to change the amount of time considered for short for the “Disable for short movies” function to work? I know it’s set at 5 minutes now, but I would love to change this to a different amount of time.

    I can’t thank you enough for creating such a wonderful plugin.

    Reply
  24. Fabd

    1 year using this plug in and still awesome.

    I added 1 lamp to my bloom. It’s working but not what i was expected.

    The 2 bloom next to the tv have to right color from the screen, but the third lamp which is 2m on right on the bloom lamp has some strange color. It’s seem to me not synchronized with the 2 others one.

    Can you explain me how it work and how i can adjust some settings ?

    thanks 😉

    Reply
  25. Emil007

    Great Plugin, thank you very much!
    I was even able to connect my 4 year old living color lamp to the hub and now have a nice “ambilight” behind my tv 🙂
    But at least with the latest openelec version in rpi2 it crashes the whole system when I pause a video. Not every time, but every 2-3 times, which still sucks…
    Maybe you could find time for an update?
    And since I have to more living colors i could relocate to the tv – is there a way to tell the ambilight setting to send three different colors depending on the position the light bulbs are? Like the boblight plugin does in a way

    Reply
  26. Phillip Thrush

    Hi, i have an apple tv 4 and really want to try this plugin, have you a repo, or some other way i can directly install the zip file as atv 4 does not allow file transfer 😦

    Reply
  27. Phil Bailey

    Hey guys! Thank you Developer(s) this plugin works well for me. I am newer to Kodi/XBMC on Linux and Windows, and I just got my first 3 Hue lights. I did some research and found some good youtube videos but guys its really east to install. The tweaks are cool too. What I like and would really pay for is the ability to maybe add the sound response as well, or adjust the latency of the color response. I have done as much tweaking as I can and watching Avatar was great!

    Literally download the zip, add it, you’ll see it show up, and then go to enabled addons, and hit auto configure bridge. You just gotta tap the bridge to get Kodi to find it.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s