# Phillips Hue Plex Plugin

**URL:** <https://forums.plex.tv/t/phillips-hue-plex-plugin/25281>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [December 17, 2012, 8:59pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281 "2012-12-17T20:59:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sisu](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sisu/32/95568_2.png) [@Sisu](https://forums.plex.tv/u/Sisu)\
**Post date:** [December 17, 2012, 8:59pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/1 "2012-12-17T20:59:19Z")

</div>

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/](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](http://www.zigbee.org/Products/ByFunction/AllFunctions.aspx)  
  
  
  
Any remarks will be oh so welcomed. Is there anyone who thinks it can be done?

---

<div class="post-metadata">

**Author:** ![jer78](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jer78](https://forums.plex.tv/u/jer78)\
**Post date:** [December 27, 2012, 6:58am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/2 "2012-12-27T06:58:30Z")

</div>

> [@](#):
>
> 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?

---

<div class="post-metadata">

**Author:** ![justme1968](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@justme1968](https://forums.plex.tv/u/justme1968)\
**Post date:** [December 29, 2012, 4:36pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/3 "2012-12-29T16:36:59Z")

</div>

have a look [here](http://www.everyhue.com/). i think a problem would be the rate limitation.   
  
  
  
i think something like the xbmc boblight plugin to controll a ambilight like [this one](http://www.computerbase.de/forum/showthread.php?t=1030747) or [this one](http://forum.xbmc.org/showthread.php?tid=110939) would even be better:

---

<div class="post-metadata">

**Author:** ![agregjones](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@agregjones](https://forums.plex.tv/u/agregjones)\
**Post date:** [May 14, 2013, 6:13pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/4 "2013-05-14T18:13:29Z")

</div>

I know it's an old thread, but I think the hue might be of some value under other circumstances. &nbsp;The ambilight is about fine control, whereas the hue is more simplistic. &nbsp;I can see using a few hue lights to dim and then completely darken a room when a movie starts. &nbsp;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. &nbsp;Parameters like:

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

---

<div class="post-metadata">

**Author:** ![lucasgasenzer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucasgasenzer/32/150660_2.png) [@lucasgasenzer](https://forums.plex.tv/u/lucasgasenzer)\
**Post date:** [May 20, 2013, 8:28pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/5 "2013-05-20T20:28:43Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![lucasgasenzer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucasgasenzer/32/150660_2.png) [@lucasgasenzer](https://forums.plex.tv/u/lucasgasenzer)\
**Post date:** [June 15, 2013, 8:11pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/6 "2013-06-15T20:11:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![justme1968](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@justme1968](https://forums.plex.tv/u/justme1968)\
**Post date:** [June 16, 2013, 4:12pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/7 "2013-06-16T16:12:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jer78](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jer78](https://forums.plex.tv/u/jer78)\
**Post date:** [June 22, 2013, 6:56pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/8 "2013-06-22T18:56:19Z")

</div>

Has anyone got Hue to work yet?

---

<div class="post-metadata">

**Author:** ![lucasgasenzer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lucasgasenzer/32/150660_2.png) [@lucasgasenzer](https://forums.plex.tv/u/lucasgasenzer)\
**Post date:** [June 23, 2013, 5:36pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/9 "2013-06-23T17:36:50Z")

</div>

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 ;)

---

<div class="post-metadata">

**Author:** ![meaning](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@meaning](https://forums.plex.tv/u/meaning)\
**Post date:** [February 22, 2014, 7:25pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/10 "2014-02-22T19:25:46Z")

</div>

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!&nbsp;

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

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

Thanks !&nbsp;

---

<div class="post-metadata">

**Author:** ![markandlina](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/markandlina/32/4235_2.png) [@markandlina](https://forums.plex.tv/u/markandlina)\
**Post date:** [February 24, 2014, 8:41am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/11 "2014-02-24T08:41:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![meaning](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@meaning](https://forums.plex.tv/u/meaning)\
**Post date:** [March 1, 2014, 4:23pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/12 "2014-03-01T16:23:16Z")

</div>

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

As far as I read here :&nbsp;[http://www.dx13.co.uk/articles/2009/09/15/Using-XBMC-Plugins-with-Plex.html](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.&nbsp;

Any idea how we could implement those plugins guys ?&nbsp;

[https://github.com/cees-elzinga/script.xbmc.hue.ambilight](https://github.com/cees-elzinga/script.xbmc.hue.ambilight)

---

<div class="post-metadata">

**Author:** ![porkchop999\_1](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@porkchop999\_1](https://forums.plex.tv/u/porkchop999_1)\
**Post date:** [March 25, 2014, 12:23am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/13 "2014-03-25T00:23:29Z")

</div>

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

Joystick.harmony.xml

&nbsp; &nbsp; 

 &nbsp; &nbsp; &nbsp;XBMC.RunAppleScript(do shell script "osascript /Users/jh/Documents/Scripts/PlexHue/plex\_pause.scpt")

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XBMC.RunAppleScript(do shell script "osascript /Users/jh/Documents/Scripts/PlexHue/plex\_play.scpt")

Script example

**tell** _application_ "System Events"

**keystroke**"space"

&nbsp;

**end**  **tell**

**try**

_POSIX file_ "/Users/jh/Dropbox/ifttt/status/sun\_has\_set" **as** _alias_

_true_

&nbsp;

**global** BridgeAddress

**global** apiKey

**set** BridgeAddress **to**"1"

**set** apiKey **to**""

**global** turnOn

&nbsp;

**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/"

&nbsp;

&nbsp;

**on**  **error**

**quit**

&nbsp;

**end**  **try**

&nbsp;

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

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

---

<div class="post-metadata">

**Author:** ![David\_Snyder](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/david_snyder/32/1132_2.png) [@David\_Snyder](https://forums.plex.tv/u/David_Snyder)\
**Post date:** [March 25, 2014, 5:56pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/14 "2014-03-25T17:56:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![David\_Cheok](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@David\_Cheok](https://forums.plex.tv/u/David_Cheok)\
**Post date:** [October 17, 2014, 10:10am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/15 "2014-10-17T10:10:13Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Andre.Je](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Andre.Je](https://forums.plex.tv/u/Andre.Je)\
**Post date:** [October 31, 2014, 4:51pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/16 "2014-10-31T16:51:44Z")

</div>

Any updates on this :)?

---

<div class="post-metadata">

**Author:** ![rom](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rom](https://forums.plex.tv/u/rom)\
**Post date:** [November 10, 2014, 4:57pm UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/17 "2014-11-10T16:57:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![leejk](https://avatars.discourse-cdn.com/v4/letter/l/d9b06d/32.png) [@leejk](https://forums.plex.tv/u/leejk)\
**Post date:** [December 5, 2014, 5:18am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/18 "2014-12-05T05:18:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![markandlina](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/markandlina/32/4235_2.png) [@markandlina](https://forums.plex.tv/u/markandlina)\
**Post date:** [December 5, 2014, 10:48am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/19 "2014-12-05T10:48:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![madmod](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/madmod/32/122670_2.png) [@madmod](https://forums.plex.tv/u/madmod)\
**Post date:** [December 20, 2014, 1:33am UTC](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281/20 "2014-12-20T01:33:45Z")

</div>

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. :)

[Next page](https://forums.plex.tv/t/phillips-hue-plex-plugin/25281.md?page=2)
