AtmoHue - BETA - Philips Hue support for AtmoLight & AtmoWin (1 Viewer)

killer8

Portal Pro
July 29, 2012
378
186
Home Country
Netherlands Netherlands
No problems with .60 so far. Lights goes in and out standby just fine. Only thing I noticed the VU Meter(rainbow) is still out of sync. I've changed my hue delay to the default 300 ms which seems to be better but it's still not perfect. The thing is, while watching videos/tv I've never have a problem and the lights are perfectly in sync even with hue delay set to 100 ms. Maybe you can have a look at the live tv thing and fix the music vu meter with that.

Another question, what's the recommended hue delay? I see 300 ms is the default but 100 ms was working quite good for me also.

Oh and the logs still show:

Code:
[2014-11-11 18:43:08,664] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
[2014-11-11 18:43:08,666] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
[2014-11-11 18:43:08,684] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
[2014-11-11 18:43:08,686] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
[2014-11-11 18:43:08,704] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
[2014-11-11 18:43:08,706] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
[2014-11-11 18:43:08,724] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
[2014-11-11 18:43:08,726] [Error  ] [42       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
 

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    No problems with .60 so far. Lights goes in and out standby just fine. Only thing I noticed the VU Meter(rainbow) is still out of sync. I've changed my hue delay to the default 300 ms which seems to be better but it's still not perfect. The thing is, while watching videos/tv I've never have a problem and the lights are perfectly in sync even with hue delay set to 100 ms. Maybe you can have a look at the live tv thing and fix the music vu meter with that.

    Will take a look at the VU meter code in Hue, we could add an fixed built-in delay there but will have to see if that will solve the problem :)

    Another question, what's the recommended hue delay? I see 300 ms is the default but 100 ms was working quite good for me also.

    It depends on how busy the bridge is sometimes, I've used 100ms for normal sitcoms without problems but on action flicks it can differ so 300ms was the safest but haven't tested it thoroughly with the last couple of releases though (been busy with Hyperion :p ).


    Oh and the logs still show:

    Yeah that one still needs more checking to make sure it's working as expected, can't hurt but does need a fix :)
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    You are right, thank you anyway would be nice to see it in a future version.

    Out of curiosity what's hyperion? I've seen this in atmoLight a few times but couldn't really find out when searching in google. When I see your video in the first post it's quite impressive.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Basically the same as Atmowin but it's controlled over your network and runs on an Raspberry Pi device, one of the nice things about it is that it can be used for any HDMI source and not just Windows:

    http://techtalk.christian-moser.ch/wordpress/?p=562

    Already using it on my PS4 and set-top box and is working without any issues for some time now, it also allows you to use a led type that is supported by FastLED which means you can pick just about any "smart" led strip out there.
    Currently finishing up on my how-to and DIY guide as that will describe more things in depth as well as a few tips :) , already made some new videos and especially the Polka one shows how nice the response times are:

    https://forum.team-mediaportal.com/...-an-member-listing.124346/page-2#post-1108042
     
    Last edited:

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    Cool, looks quite nice. I've got a raspberry pi laying around here somewhere so could be a nice project:)
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    One things I noticed this morning, I've set the lights to not turn on between 6 o clock and 18 o clock but now the lights go on after resume and go off after some seconds. To be honest I'm not sure if this was also the case before
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Think I know where that is coming from, it's due to the order it reconnects to the Hue:

    - Suspend (Turns off lights)
    - Resume
    - AtmoHue restores connection to the Hue bridge and sets brightness
    - Mediaportal completes resume shortly after
    - AtmoLight restores connection to AtmoHue and sets last active effect (disabled/static color etc..) or in this case disable them between specific times.

    Will see if I can change this so that AtmoLight sends a restore connection to the Hue Bridge thru AtmoHue but will need to expand the API a bit, put it on the to-do list :)
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    .60 with .107 works great. Only thing I noticed my log still gets flooded with the following error sometimes:

    Code:
    [2014-11-13 19:53:52,595] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,596] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,614] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,616] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,634] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,636] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,654] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,656] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,674] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,676] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,694] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,696] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,714] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,716] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,734] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,736] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,754] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,756] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,774] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,776] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
    [2014-11-13 19:53:52,794] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Error during average color calculations
    [2014-11-13 19:53:52,796] [Error  ] [57       ] [ERROR] - AtmoLight: Hue - Poging door nul te delen.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Have a fix in place which seems to do the trick, testing a new version of AtmoLight and AtmoHue at the moment and if all works as expected it should be out somewhere late tonight :)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    New version of AtmoLight BETA and AtmoHue attached to first post.
    On resume from suspend there's still a short moment where the Hue will turn on its lights, tried several different things to change that:

    - Set brightness to 0
    - Set initial color to black
    - Combination of both

    However did reduce the time the initial lights stay on (~2s) as a new command is send shortly after, will have to look at more examples online but couldn't find an easy fix so far and also seems like something the Philips Hue software is doing internally.

    Changelog

    13-11-2014 - AtmoLight BETA & AtmoHue updated

    AtmoHue 0.0.65

    - Power event handling can now be setup in different ways, preferred solution is to let AtmoLight handle it.
    If you choose the AtmoLight option you will have to of course also open AtmoLight configuration and tick the power options in its designated Hue tab there.

    - Effects are now properly set upon resume and cleared on standby
    - Couple of bugfixes and enhancements


    AtmoLight 1.13.108.0 - BETA version

    - Hue no longer tries to calculate incorrect colors (divide by zero bugfix)
    - Enhancements to standby handling and how effects are setup.
    - New options in Hue tab to setup power events
     
    Last edited:

    Users who are viewing this thread

    Top Bottom