Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

SiriProxyGUI/Auto Install #428

Closed
laxman01 opened this issue Feb 4, 2013 · 716 comments
Closed

SiriProxyGUI/Auto Install #428

laxman01 opened this issue Feb 4, 2013 · 716 comments

Comments

@laxman01
Copy link

laxman01 commented Feb 4, 2013

SiriProxyAutoInstall
http://199.91.152.154/odaf5382g8kg/io2fj05f25pcpd2/SiriProxy+Auto+Install.zip
Automates the whole setup of siriproxy, all you have to do is download this app and run all the buttons in order and download macports and install ca.pem on your device
Screen Shot 2013-02-03 at 7 06 07 PM

SiriProxyGUI-http://205.196.123.24/kcvhvbq28ryg/4x79lez1gzrynp6/SiriProxyGUI.zip
Tutorial-http://siriproxygui.blogspot.co.uk
Update: Updates the server
Start: Starts SiriProxy
Restart: Restarts and bundles the server
Stop: Stops the Server
Config: Replaces the config file in .siriproxy directory
Screen Shot 2013-01-31 at 3 47 29 PM

@Xaywar
Copy link

Xaywar commented Feb 5, 2013

Thank you for this great app, I was having trouble installing SiriProxy but this worked perfectly.

@laxman01
Copy link
Author

laxman01 commented Feb 5, 2013

Thanks for the feedback

@laxman01
Copy link
Author

laxman01 commented Feb 7, 2013

Try this thank run the ruby installation again
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

@sturma
Copy link

sturma commented Feb 7, 2013

It didn't work, but thanks.
I moved this issue from here to #436; i think it's independent of the automated GUI installation.

Edit: it's now solved. Removed Xcode and installed mac ports

@laxman01
Copy link
Author

I would Appreciate anyone trying out these add ons

@Deanmv
Copy link

Deanmv commented Feb 15, 2013

Currently working on an installer one (running off one button and with a password pop up so not editing an xcode project) that I should have up in a couple of days. I planned to do this anyway as it's part of my uni project but the GUI to control it is very nice.

@laxman01
Copy link
Author

That would be very cool and that's a good idea to do a password popup,
And did you try out the GUI to control it

@Deanmv
Copy link

Deanmv commented Feb 15, 2013

Looked at it but not actually used it. Not sure why you do a killall ruby in there as that isn't needed I wouldn't have thought.

Also it's a lot easier to do:

tell application "Terminal"

do script "do something here" in window 0
do script "do something else here" in window 0
do script "something more" in window 0

end tell

As then you don't have to keep fake keypressing the return key to type in the command. Also then if the user brings another screen to the front by clicking off terminal that won't make a difference.

@plamoni
Copy link
Owner

plamoni commented Feb 15, 2013

Fancy. Going to close because it's not an issue, but this seems pretty handy. Thanks!

@plamoni plamoni closed this as completed Feb 15, 2013
@laxman01
Copy link
Author

That is initially what I tried but I ran into problems with that using tell application "Terminal" method and the reason I have it kill all ruby is invade the user has another instance of it running, admittley it probably isn't necessary but it doesn't hurt it either, it's just to be safe

@Paulyboy69
Copy link

Hello, I currently have a jailbroken iPhone 4S running 6.1 and have one of those Nest Thermostats on the way and would like to use the plug-in that allows you to control this thermostat with your voice via Siri. I found plenty of tutorials on how to set up a Siri proxy server on your Mac but they are rather complicated. Am I to understand this little app you've created basically automates just about the entire process? If so that's awesome and thanks so much!

I'm severely disabled so being able to control my thermostat by voice would be huge for me. I was willing to get my hands dirty and do what I needed to to get things working but this would make things quite a bit easier if it does what I think it does. Thanks again.

Update: I also meant to ask whether I would still need to install Xcode or not? Xcode caused a lot of problems with my system a while back so I am hesitant about installing it again but if that's what it takes I will.

@laxman01
Copy link
Author

yes, this application should automate the whole process but still does require some setup(but very little) i would be able to help you through the entire process if you would like

@laxman01
Copy link
Author

xcode is only not needed for the installation and currently is needed for the GUI but soon xcode will not be needed for either option.

@Paulyboy69
Copy link

I would like that very much thank you! I suppose I should probably wait until I have the nest thermostat up and running? So you're saying I do need Xcode installed? Much appreciated. :-)

@laxman01
Copy link
Author

Sorry for being unclear, for just installing siriproxy you do not need Xcode. and it might be a good idea to have siriproxy up and running so all you have to is just configure the thromostat to the plugin once you get it

@Paulyboy69
Copy link

No problem. Okay I downloaded the installer then. I guess I don't need the GUI yet?

@laxman01
Copy link
Author

yes you dont need it yet... what version of OS X are you running. example: mountain lion

@Paulyboy69
Copy link

ML 10.8.2

@laxman01
Copy link
Author

download and install this. it will alow you to install DNSMASQ
https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.8-MountainLion.pkg

@laxman01
Copy link
Author

tell me when you have that installed

@Paulyboy69
Copy link

I had already downloaded it earlier. Its installed now though.

@laxman01
Copy link
Author

alright so now open up terminal then open up SirProxy Auto Install and click "Install RVM"
then tell me the reponse you get from that

@Paulyboy69
Copy link

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
[Pauls-iMac:] paulnatsch% bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Missing name for redirect.
[Pauls-iMac:
] paulnatsch%

@laxman01
Copy link
Author

@Paulyboy69
Copy link

Last login: Mon Feb 18 17:26:53 on ttys011
[Pauls-iMac:] paulnatsch% bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Missing name for redirect.
[Pauls-iMac:
] paulnatsch%

@laxman01
Copy link
Author

hmmm i dont know why its not accpeting that command.. one sec

@Paulyboy69
Copy link

fudge. probably a typo somewhere. I'll look

[Info - Plugin Manager] Say: One moment while I set the Nest to 80 degrees.
{"error_description"=>"invalid user credentials", "error"=>"access_denied"}

@laxman01
Copy link
Author

  1. cp ~/.siriproxy/config.yml ~/Desktop/
  2. open the file created on desktop and check it for eerors and fix them
  3. rm ~/.siriproxy/config.yml
  4. cp ~/Desktop/config.yml ~/.siriproxy/
  5. restart the server

@Paulyboy69
Copy link

hmmmm My login credentials look right

@laxman01
Copy link
Author

and your password

@laxman01
Copy link
Author

it is case sensitive i believe

@Paulyboy69
Copy link

it's not creating a file on the desktop

@laxman01
Copy link
Author

did you delete the one that is already there?

@Paulyboy69
Copy link

on the desktop? yes. In siriproxy? no

@laxman01
Copy link
Author

ok then this command should make on the desktop
cp ~/.siriproxy/config.yml ~/Desktop/

@Paulyboy69
Copy link

I could email you the contents of that file, minus my password, so you can make sure it's formatted correctly

@laxman01
Copy link
Author

ok

@Paulyboy69
Copy link

sent

@laxman01
Copy link
Author

make sure the git field is all on one line and make sure you credentials and completley correct

@Paulyboy69
Copy link

the login information is correct so it's probably a typo somewhere else in that or formatting issue

@laxman01
Copy link
Author

but the error only says its an {"error_description"=>"invalid user credentials", "error"=>"access_denied"}

try logging in with those credentials by copying and pasting them

@Paulyboy69
Copy link

I never did get it to make a new file on my desktop but now we have another problem. I can't get it to say up and running again

@Paulyboy69
Copy link

nm i did

@laxman01
Copy link
Author

okay

@Paulyboy69
Copy link

I'm trying to get it to work

@Paulyboy69
Copy link

so basically I can't even get the server to start running again. It looked like it does for a minute but it really wasn't. So I haven't been able to test whether the edits I made to that file are going to make it work or not.

@laxman01
Copy link
Author

try typing rvmsudo siriproxy server

@Paulyboy69
Copy link

Warning: can not check /etc/sudoers for secure_path, falling back to call via /usr/bin/env, this breaks rules from /etc/sudoers. export rvmsudo_secure_path=1 to avoid the warning.git://github.com/chilitechno/SiriProxy-NestLearningThermostat.git (at master) is not checked out. Please run bundle install
Pauls-iMac:SiriProxy paulnatsch$

@Paulyboy69
Copy link

So I'm running bundle install again m

@laxman01
Copy link
Author

run sudo bundle install

@Paulyboy69
Copy link

done

@laxman01
Copy link
Author

ok now type rvmsudo siriproxy server

@Paulyboy69
Copy link

ok access denied again. I have to go now but I think I have enough to possibly fix this. I've saved in this chat log so I know the important commands. I'm guessing this is a really simple fix at this point but I have to go now. I'll work on it more tomorrow and if I can't get it to work by late afternoon I'll send you a message again

@laxman01
Copy link
Author

ok let me know if you get it working as well

@Paulyboy69
Copy link

thanks so much. really appreciate it. I'll message you either way.

@Paulyboy69
Copy link

will do. Have a good evening

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants