Phillips Hue Plex Plugin

Dear All,



Im no developer whatsoever. So there is no way I can make happen what has been on my mind for the last few weeks.

As a great Plex fan and User And an early Phillips Hue owner i have been searching for a way to link the two together.

Ea transform a complete room into an plex input driven ambilight system screen experience enhancer.



http://www.loopinsight.com/2012/11/22/more-demos-of-ios-controlling-philips-hue-lights/ Is a great attempt on how it can be done.

I however have no clue on where to begin linking the Plex app dev. to the Phillips Hue’s control platform http://www.zigbee.org/Products/ByFunction/AllFunctions.aspx



Any remarks will be oh so welcomed. Is there anyone who thinks it can be done?



Great idea! Anyone?

have a look here. i think a problem would be the rate limitation.



i think something like the xbmc boblight plugin to controll a ambilight like this one or this one would even be better:

I know it's an old thread, but I think the hue might be of some value under other circumstances.  The ambilight is about fine control, whereas the hue is more simplistic.  I can see using a few hue lights to dim and then completely darken a room when a movie starts.  This would be driven by section or media type and client, ideally.

Even a generic plugin that would run a script with certain parameters would be useful in this regard.  Parameters like:

  • server name
  • client name
  • content name
  • content type (movie, tv show, etc.)
  • action (begin, end, continue playing, etc.)
  • section name

This would be so awesome! I just ordered the starter set and would love the lights to dim when a movie starts. Would it be possible to run some kind of applescript when starting/ending a movie?

Does anyone know wether Plex can trigger events when starting playback or finishing a movie? Running an AppleScript would be enough...

you can get all this with the xbmc json api.

for ambilight usage it would be nice to be able to use the xbmc boblight plugin with plex. this would allow to use all kinds of ambilight hardware.

Has anyone got Hue to work yet?

1 Like

No. I have lots of questions regarding the Plex API and how to write system Plugins (not Chanels). Sadly the documentation wasn't very helpful.

I'll look into it some more as soon as my exams are done ;)

1 Like

Hey there!

I've just bought the starter kit and begin to check the possibilities of those hue bulbs...This "ambi-light'ish" feature is so exiting! 

Did any of you get his / her hue bulbs to react like philipps ambilight when watching movies using plex ? 

Do you guys have links to plugins, software or anything?

Thanks ! 

I'd also love to see this integration, sadly I'm lacking the skills to make such a plugin. My friend is running XBMC with the hue plugin, the auto dim on movie start / stop is wicked!

This auto dim should be really easy to implement imho...the ambilight feature is another thing but could be SO awesome !!! 

As far as I read here : http://www.dx13.co.uk/articles/2009/09/15/Using-XBMC-Plugins-with-Plex.html

It seems to be possible to install xmbc plugins in plex. 

Any idea how we could implement those plugins guys ? 

https://github.com/cees-elzinga/script.xbmc.hue.ambilight

If you have a  Mac and Harmony remote you can do this with applescript

Joystick.harmony.xml

   
     XBMC.RunAppleScript(do shell script "osascript /Users/jh/Documents/Scripts/PlexHue/plex_pause.scpt")
           XBMC.RunAppleScript(do shell script "osascript /Users/jh/Documents/Scripts/PlexHue/plex_play.scpt")

Script example

tell application "System Events"

keystroke "space"

 

end tell

try

POSIX file "/Users/jh/Dropbox/ifttt/status/sun_has_set" as alias

true

 

global BridgeAddress

global apiKey

set BridgeAddress to "1"

set apiKey to ""

global turnOn

 

set turnOn to the quoted form of "{\"on\": true,\"bri\": 100,\"hue\": 14675,\"xy\": [0.368,0.3686],\"sat\": 49,\"ct\": 500,\"transitiontime\": 10}"

do shell script "curl --request PUT --data " & turnOn & " http://" & BridgeAddress & "/api/" & apiKey & "/lights/1/state/"

 

 

on error

quit

 

end try

 

Also gets ifttt status so won't activate during the day as described in this website

http://ulfolin.se/2013/06/16/using-dropbox-and-hazel-to-add-state-variables-and-logic-conditions-to-ifttt/

Also, if you have the harmony smart hub, this is built in.  You can add your hue sets in your activities just like any other device.

1 Like

Im all for this IF the developers could be so kind :)

I currently have my lightstrip wrapped around my panel and its just waiting for connection to plex.

Pretty please?

Any updates on this :)?

yah. i'd be interested in this as well.

This works pretty well in XMBC, and would be awesome inPHT.

Agree, currently I'm using Plexwatch and IFTTT, but there's a 15 minute delay :-(

I'm going to start developing a plugin to do Hue light dimming when a video is played. I don't think I will implement ambilight like features due to the delay in controlling the lights with the Hue API. If anyone has any feature suggestions I will consider them. :)