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

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Hi,

    By turn down you mean lower the brightness by a configurable percentage during movie start?
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Tried to fix that a couple things but couldn't get it working just right, was the primary reason to build something better.
    The total cost for AtmoOrb is pretty low though (~60usd) and can always use them side by side :)
     

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    Yeah I looked at your project and it looks tempting... But for me / us, we use hue light bulbs all over the home and in hour normal light sockets... It works pretty great controlling them with an app.. But I think they are a little useless when it comes to ambilight effects...

    So for My ambilight I will get the rpi next month and use hyperion, as we have talked about.. But it could be nice with hue to turn down automatically when a movie starting and let the hyperion take over... Still you guys rock with all these lightning projects :)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Should be possible, will have a look next week :)
    Probably gonna be a new option in AtmoHue to enable turning off leds during movie playback and still allow normal commands via the AtmoLight context UI.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Still in a coding frenzy so decided to give it a quick go, there are now 2 new options in the AtmoHue UI for Theater mode (enable / re-enable after playback stop).
    Basically what it does is:

    - API gets color command, checks if theater mode is enabled and if so executes the TurnOff light command.
    - API gets color command with high priority (playback stop), checks if theater mode was active and if so executes the TurnOn light command if option was enabled for that.

    In theory on turning back the lights on the Hue should restore the previous color on its own if I recall correctly, would backup your current AtmoHue app folder before upgrading to this new version.
    Included AtmoLight with a small tweak to make sure it receives the stop command, AtmoHue will log the theater modes correctly in the log window if successful.


    Btw if you want to manually enable or disable lamps (with fixed color) during playback you can still do so with the Group command from the AtmoLight Context menu, so during short breaks (for the full theater experience ;) ) you can just toggle those back on if needed.
     

    Attachments

    • AtmoLight_1.16.1.30.mpe1
      432.7 KB
    • AtmoHue_v0085.zip
      1,020.4 KB
    Last edited:

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    Wow that was fast... I'm having trouble with connection to my hub... So I will figure it out and test it as soon as I've solved my network...
     

    zekaja

    MP Donator
  • Premium Supporter
  • March 24, 2010
    279
    110
    Copenhagen
    Home Country
    Denmark Denmark
    Alright i did some testing and the hue lights turn off a couple of seconds after MP launch, the n it doesent come back on :( Im not sure if you want any log files and wich....

    Also i cannot get the testing to work inside atmohue, but it shows i am connected and atmolight can turn off my hue lamps, so somethings must be working...
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    If you can enable the debug log and post the debug.log afterwards that should help pinpoint the problem :) , also if you disable theater mode and restart AtmoHue does it work correctly afterwards?


    // UPDATE

    Looked over the code and think I know where it was going wrong, added a new command type for theater mode instead which is cleaner anyway.
    New versions attached and let me know how it goes.

    Forgot to include something so re-attached AtmoHue 0.85 beta3.
     

    Attachments

    • AtmoLight_1.16.1.30.mpe1
      432.8 KB
    • AtmoHue_v0085beta3.zip
      1 MB
    Last edited:

    Users who are viewing this thread

    Top Bottom