Siri controlling Plex



The plex plugin has not yet been converted to the SiriProxy gem based plugin system (or at least not yet pushed to the repo). I would hold off for a few days.



If you add a .txt to the config.yml you will be able to open it with Xcode. In there you will see how each plugin is added. Save it. Then when your done remove the .txt. There is probably an easier way but I just tried doing it that way and it worked so that is how I open them.



OK, but if I were trying to make a football scores.rb like the hockey scores there has to be a way to test it out without pushing it to the repo right!

like i said man, forgive me for asking noob questions.


Hi all,

It has been updated now and can be found here: http://www.github.com/hjaltij/SiriProxy-Plex.

First follow the instructions for installing SiriProxy, once you've got that up and running and SiriProxy responds when you say "Test Siri Proxy" you can continue.

Add these lines to config.yml and remember to edit the IP address of the machine running Plex Media Server


<br />
    - name: 'Plex'<br />
      git: 'git://github.com/hjaltij/SiriProxy-Plex.git'<br />
      plex_host: '10.0.1.75' #Internal IP address of your Plex Media Server.<br />
      plex_port: 32400 #Most likely you won't have to change this, it runs on port 32400 by default.<br />




Next run:

<br />
bundle install<br />




It should fetch my new plugin and after restarting SiriProxy you can start interacting with Plex from Siri.

Example:
say: "Play Dexter"

Cheers!
- H

hjaltij - AWESOME.



I got it working with my TV shows.



Are you planning on providing support for movies?

Is there a way to direct it to the Plex on AppleTV 2G. Would it be like the iTunes plugin for siri proxy where you have to ssh into your mac, instead in this case tho you would ssh your ATV2G?

This is sweet! I am reasonably technical, for example I have no problem jailbreaking the Apple TV and installing Plex but I definitely am not a programmer so things like xcode and certificates are not my thing

Anyone with similar experience attempted this or is it over my head right now?

Will I screw anything up in my mac/network/phone if I can’t get it to work?

Once installed, how do updates work? Are they fairly easy to upgrade to?



Thanks

This is a bunch of really cool technology coming together. In addition to Siri Plex control, there’s been some examples of integration with home automation systems!



My question is a bit off-topic. Is anyone aware of a way to bring this sort of functionality to Android? Right now I can fire scripts on my android phone to control my home automation system, but I’m not sure of a voice-control application that can run those scripts.




=(

[s]Tells me there's a syntax error when running bundle install. Line 30 Row 1 = the "-" before "name"
[/s](Guess the 4 blank spaces before the '-' actually matter. My bad.)
[s]Also, 'siriproxy gencert' is giving me a blank ca.pem =([/s]
Ended up just creating it manually. For reference: http://youtu.be/_oaNbPOUCaE



Give it a shot! I thought I was in over my head too. I was. I read once that learning something while frustrated makes the chance of retention higher.
I ran into some snags but the directions on github are great. I had to manually create the certs since the script 'gencert' that's included wasn't working, but there's a youtube video on how to do it manually.


tl;dr: try it! worst thing that can happen is you learn something new.


Give it a shot. I was completely new at this and managed to set it up. You need a few things first, like installing Git and Xcode (free in the Mac App Store, but a fairly large download) and follow the instructions carefully.



Awesome plugin, thanks for your work!

I have a question, my setup is a Mac and a PC with several ExtDD attached running Plex Media Server, I can access the videos in the PC from Plex Media Center in the Mac but Siri doesn't find them, is there a way to have Siri access them?


Well I went ahead and gave it a try...

For the most part I got everything working with the help of the posted instructions.

Problem is when I run the line:
sudo ruby ./start.rb

I get the following error:
ruby: No such file or directory -- ./start.rb (LoadError)

Did I miss or mess up a step?


You're using an old build. Here is the latest one:

https://github.com/plamoni/SiriProxy

Follow the instructions exactly. Don't download the folder, clone it with Git.


OK, I'm getting there... I cloned with git and followed the new instructions. When I type the command "rvmsudo siriproxy server" I get asked for my password. I type in my system password and then it says "starting SiriProxy on port 443.."
and...nothing else

I'm so close I can feel it! :) What am I doing wrong?


That's it. Just start speaking to Siri now.

Still no dice...Siri replies"I do not understand Test Siri Proxy"

I wonder if it's something else I did previously because I followed the older build. Anything I can test?


Your siriproxy install is fine if you see that message, so you are probably not routing your dns to your computer properly


Follow the first part of this: http://www.jailbreakmatrix.com/howto/how-to-install-siriproxy

Regarding routing Siri from your iPhone , not the actual installing of the proxy.


You are right! I figured out the problem with the dns and now it is routing correctly.

Here's the next problem. The certificates that get auto generated using the "siriproxy gencerts" don't work correctly. The ca.pem file is 0 bytes. So I created my own certificate from a tutorial on youtube and placed them in the .siriproxy folder. Problem is now when I start the server it stops with errors as soon as I use Siri. Siri replies immediately, "I'm really sorry about this but I can't take requests right now..."

So obviously the dns is now working but probably my certs are not.


When I look at the cert.log file here seems to be the problem:


Using configuration from /Users/mediacenter/.rvm/gems/ruby-1.9.3-p0/gems/siriproxy-0.0.1/lib/siriproxy/../../scripts/openssl.cnf
unable to load certificate
7883:error:0906D06C:PEM routines:PEM_read_bio:no start line:/SourceCache/OpenSSL098/OpenSSL098-44/src/crypto/pem/pem_lib.c:648:Expecting: TRUSTED CERTIFICATE
writing RSA key

Any suggestions?