# Crestron Module for PHT

**URL:** <https://forums.plex.tv/t/crestron-module-for-pht/48531>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [December 2, 2013, 7:03pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531 "2013-12-02T19:03:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakari66](https://avatars.discourse-cdn.com/v4/letter/z/2acd7d/32.png) [@zakari66](https://forums.plex.tv/u/zakari66)\
**Post date:** [December 2, 2013, 7:03pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/1 "2013-12-02T19:03:10Z")

</div>

Hello,

&nbsp;

I'm starting to write a Crestron Module to remote control Plex Home Theater. I currently do not wish to see all the metadata & media lists on the Crestron Module, but only want Navigation & Transport controls (with subtitles etc ...)

&nbsp;

So far, I've managed to use the HTTP API ([http://wiki.plexapp.com/index.php/HTTP\_API/Control](http://wiki.plexapp.com/index.php/HTTP_API/Control)) but it's very limited considering the fact that the SendKey part doesn't appear to be working.

&nbsp;

I'm also investigating the XBMC JSON RPC API, which appears to work as well (but is a bit more complicated).

&nbsp;

Which method do you recommend using ? (in terms of future support etc ...)

&nbsp;

I like the HTTP API better because it's simple to select which PHT client you want to send the order to & it leverages the fact that there's a server in the setup. (but the JSON RPC has access to a ton more stuff like subtitles etc ...)

&nbsp;

Thank you

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [December 3, 2013, 11:51pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/2 "2013-12-03T23:51:39Z")

</div>

I updated my 1-way module awhile ago and now use the JSON API. You're welcome to use it or check out the code to help build your own. It's now available on&nbsp;[Github](https://github.com/ecleese/Crestron-PlexHT).

---

<div class="post-metadata">

**Author:** ![zakari66](https://avatars.discourse-cdn.com/v4/letter/z/2acd7d/32.png) [@zakari66](https://forums.plex.tv/u/zakari66)\
**Post date:** [January 1, 2014, 5:13pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/3 "2014-01-01T17:13:21Z")

</div>

Thank eleese.

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [January 1, 2014, 7:42pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/4 "2014-01-01T19:42:44Z")

</div>

> Thank eleese.

Sure thing. Let me know if you have any issues or suggestions for improvement.

---

<div class="post-metadata">

**Author:** ![hifikam](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hifikam](https://forums.plex.tv/u/hifikam)\
**Post date:** [January 3, 2014, 4:25pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/5 "2014-01-03T16:25:35Z")

</div>

I'm having trouble adding the module to my database. I even tried in the project directory and module don't show up.

any ideas?

---

<div class="post-metadata">

**Author:** ![hifikam](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hifikam](https://forums.plex.tv/u/hifikam)\
**Post date:** [January 3, 2014, 4:32pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/6 "2014-01-03T16:32:38Z")

</div>

until now I used XBMC crestron module for plex 0.9.5.4&nbsp;player with 8080 & 9090 ports, but same module don't work for on PHT.

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [January 3, 2014, 4:33pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/7 "2014-01-03T16:33:15Z")

</div>

> I'm having trouble adding the module to my database. I even tried in the project directory and module don't show up.
> 
> any ideas?

It should be as simple as placing the module in the same directory as your .smw project file. After this, open the project and navigate to:

```
Project/Resynch Program
```

This is assuming you are using SIMPL Windows and not System Builder or D3.

---

<div class="post-metadata">

**Author:** ![hifikam](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hifikam](https://forums.plex.tv/u/hifikam)\
**Post date:** [January 3, 2014, 5:29pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/8 "2014-01-03T17:29:41Z")

</div>

done all that, still no show of the module, tried to open the module and it won't open in simpl.

I'm using simpl window.

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [January 3, 2014, 5:45pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/9 "2014-01-03T17:45:56Z")

</div>

Hmm, looks like the file gets corrupted after pushing the commit to GitHub. I will zip the file and re-sync.

---

<div class="post-metadata">

**Author:** ![hifikam](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hifikam](https://forums.plex.tv/u/hifikam)\
**Post date:** [January 3, 2014, 5:52pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/10 "2014-01-03T17:52:35Z")

</div>

thanks a lot, let me know when it's updated

---

<div class="post-metadata">

**Author:** ![hifikam](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hifikam](https://forums.plex.tv/u/hifikam)\
**Post date:** [January 3, 2014, 5:56pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/11 "2014-01-03T17:56:33Z")

</div>

got it, now I can see the module in my database. thanks a lot. let you about the rest of the progress.

---

<div class="post-metadata">

**Author:** ![zakari66](https://avatars.discourse-cdn.com/v4/letter/z/2acd7d/32.png) [@zakari66](https://forums.plex.tv/u/zakari66)\
**Post date:** [January 3, 2014, 9:31pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/12 "2014-01-03T21:31:20Z")

</div>

I like how you made the press & hold logic !

Will definitely give it a try

Thanks for sharing it, I will give feedback as soon as I find time to reprogram the system :)

---

<div class="post-metadata">

**Author:** ![MrGolden](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@MrGolden](https://forums.plex.tv/u/MrGolden)\
**Post date:** [February 1, 2014, 2:59am UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/13 "2014-02-01T02:59:26Z")

</div>

> I updated my 1-way module awhile ago and now use the JSON API. You're welcome to use it or check out the code to help build your own. It's now available on&nbsp;[Github](https://github.com/ecleese/Crestron-PlexHT).

Can this module control Plex clients, or only the server? &nbsp;Thanks.

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [February 1, 2014, 3:03am UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/14 "2014-02-01T03:03:10Z")

</div>

> Can this module control Plex clients, or only the server? Thanks.

  
Not sure what you mean by controlling a server. It only controls "Plex Home Theater" clients.  
  
[https://plex.tv/downloads](https://plex.tv/downloads)

---

<div class="post-metadata">

**Author:** ![evenmosbek](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/evenmosbek/32/4414_2.png) [@evenmosbek](https://forums.plex.tv/u/evenmosbek)\
**Post date:** [May 7, 2014, 4:43pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/15 "2014-05-07T16:43:13Z")

</div>

very interesting. Working on a Crestron setup my self and would very much like to incorporate Plex. Is this module on Github?

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [May 7, 2014, 5:01pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/16 "2014-05-07T17:01:53Z")

</div>

> very interesting. Working on a Crestron setup my self and would very much like to incorporate Plex. Is this module on Github?

Yes.

[Crestron-PlexHT](https://github.com/ecleese/Crestron-PlexHT)

---

<div class="post-metadata">

**Author:** ![vmailtk](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@vmailtk](https://forums.plex.tv/u/vmailtk)\
**Post date:** [June 19, 2014, 11:08pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/17 "2014-06-19T23:08:56Z")

</div>

Would this module work with Plex for Samsung TV?

---

<div class="post-metadata">

**Author:** ![eleese](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eleese/32/1309_2.png) [@eleese](https://forums.plex.tv/u/eleese)\
**Post date:** [June 20, 2014, 9:10pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/18 "2014-06-20T21:10:06Z")

</div>

> Would this module work with Plex for Samsung TV?

No, this only works with Plex Home Theater.

---

<div class="post-metadata">

**Author:** ![sandman\_ave](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sandman_ave/32/7343_2.png) [@sandman\_ave](https://forums.plex.tv/u/sandman_ave)\
**Post date:** [July 1, 2014, 6:15pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/19 "2014-07-01T18:15:29Z")

</div>

I have a 2 way module that I'm working the bugs out of... I'm using JSON commands with a connection to the server for meta data. But it looks like there is a new HTTP API added to plex I'm just waiting on the documentation to be posted. If someone would like to help with the development please let me know... I can send a copy to anyone that would like to try it out...

---

<div class="post-metadata">

**Author:** ![MrGolden](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@MrGolden](https://forums.plex.tv/u/MrGolden)\
**Post date:** [July 1, 2014, 7:22pm UTC](https://forums.plex.tv/t/crestron-module-for-pht/48531/20 "2014-07-01T19:22:12Z")

</div>

I might be able to help. &nbsp;I'm an avid Plex user, and a Crestron programmer :-)

Currently I have Plex running on a Roku, a Samsung BluRay, and a few Android clients. &nbsp;I'd love to be able to control them over the network.

I know there's a Roku module for IP control, but I hate the Roku's GUI, and don't plan to keep it in the system. &nbsp;

[Next page](https://forums.plex.tv/t/crestron-module-for-pht/48531.md?page=2)
