Support for Philips Hue System (2 Viewers)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Thanks for the info (y)
    Might go with that starter kit then, bit lame they want you to buy 2 lamps at once but probably can find a purpose for the second one :)

    We're finishing up on the changes to AtmoLight at the moment and once that is done I'll start adding Hue support to it, so there will be 2 solutions then:

    - AtmoHue - which reads its information directly from Atmowin

    - AtmoLight - where you can just enable any additional device be it Atmowin Hyperion or Hue (at the same time or separately)

    Think the 2nd solution will work better for most cases as it fits in nicely with our reworking of AtmoLight where you can just enable more supported devices (targets) when needed and allows for easy expansion of functions.
     
    Last edited:

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    52
    Vienna
    Home Country
    Austria Austria
    If you can't find a way to use teh second Lamp I take it ;) - just PM me.

    Hm - I think using Atmohue to get the data is also creating (at least a small) gap - so you have a good chance to get the color after it was already changed. But these details are lot easier when you have your unit in place :)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Will let you know ;)

    Yeah and with Hyperion which is also over network there is near zero lag (<5ms round trip) and that is with an actual bitmap of 64x64 send, with the Hue I only need to calculate the most dominant color which might cause some (very small) delay.
    The way Atmowin does it afaik is combine all the colors (hench combined zone) which is great and all but I think what you really want is the most dominant main color with brightness and small variations, but would like to know what you guys think.
    With AtmoHue it needs to do it via an FileStream for now which depends on your disk latency and how fast it can read the changes afterwards, think the AtmoLight plugin method is gonna be the best performance wise.
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    New version below, not that many changes in this one but next release will have some new features.
    My Hue kit will arrive somewhere this week so that will make testing a bit easier :)

    Changelog

    - Added precise time staps to debug logging to check the response of the different parts.
    - Keep command alive, might speed things up a bit.

    Download AtmoHue 0.0016
    http://1drv.ms/12VgIpZ
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    52
    Vienna
    Home Country
    Austria Austria
    Hm ... hm .. hm ... don't see any difference in speed. It's still an issue that it wont connect to Atmowin when Atmowin is not running befoe MP Starts. What you can see very clear is thh gap between color on teh TV and color set on hue (Maybe also because it's "switching" and not transcending?).

    I have atteched an actual Log.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Hm ... hm .. hm ... don't see any difference in speed. It's still an issue that it wont connect to Atmowin when Atmowin is not running befoe MP Starts. What you can see very clear is thh gap between color on teh TV and color set on hue (Maybe also because it's "switching" and not transcending?).

    Think it's because of the transition speed and the way it handles the reads but will know more once I get the Hue kit running here as that allows me to debug it on the fly.
    What I also see in the log is that it reports "Completed sending color #000000" twice which is odd, most likely will have a fully working version this week be it with the current API or a different one but want to finally get this fixed :)
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Hue kit arrived and solved most of the speed bugs :) , can get up to 100ms with rotating colors but will see if it can get a bit faster.
    It has to do with the awaiting feedback from the Hue bridge before sending (new) commands, the bridge for some reason doesn't reply right away so that still needs some looking into as this way you don't know if it has actually processed the color command properly.

    Changelog

    - Removed await for Hue bridge commands, don't set your transition speed and/or delay too low as it might cause some epileptic attacks or even worse flood your bridge :p

    Download AtmoHue 0.0016
    http://1drv.ms/1nPAtIK
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    You're welcome :)
    Next up is ability to select your Hue lights (bulb/bloom etc..) as those need different color corrections, should have a new version tonight.
     

    Users who are viewing this thread

    Top Bottom