Page 4 of 9

Re: Siri: Open my garage door..

Posted: Wed Dec 19, 2012 7:25 pm
by DarkTherapy
yanniks wrote:Hi,
I really like your work!
So you just use a Raspberry PI and a relay? We have an older DORMA Tormatic System, is it possible to set that up? Which relay is requied?

Thanks,
Yannik
A 5v relay, as the pi can output 5v to power it. It's activated via a GPIO pin - and a transistor.

Re: Siri: Open my garage door..

Posted: Wed Dec 19, 2012 8:18 pm
by texy
...well the Pi only outputs 3v3, but that should be enough to drive a transistor with the right circuitry around it.

Texy

Re: Siri: Open my garage door..

Posted: Wed Dec 19, 2012 8:56 pm
by yanniks
Thanks, so something like this would be ok?: http://www.soselectronic.com/?str=371&a ... 9-005-4001

Re: Siri: Open my garage door..

Posted: Wed Dec 19, 2012 9:14 pm
by DarkTherapy
Looks fine.

Re: Siri: Open my garage door..

Posted: Thu Dec 20, 2012 2:32 am
by peadard
Hi Guys.
Firstly thank you Darktheraphy for posting this.
I have successfully managed to get Siriproxy running on my pi after a couple of issues.
One that i have seen mentionned a couple of times was the "No such file or directory" when trying to run SiriProxy server. I found that this line helped "Note: on some machines, rvmsudo changes "`~`" to "`/root/`". This means that you may need to symlink your "`.siriproxy`" directory to "`/root/`" in order to get the application to work:

sudo ln -s ~/.siriproxy /root/.siriproxy
"
This is found in the README.md in the SiriProxy folder so hopefully it helps some people. :)

After I got Siriproxy up and running I started thinking about its applications. I have a Elk M1 gold in my house doubling as a home automation and security system. I was going to wire the Pi up to this but then I thought of using code to do it. With the help of the info and files from here (Thank you very much James Russo) http://sourceforge.net/projects/elkm1control/ I now use Siri to activate almost anything I want to on my M1.
So again a big thank you to DarkTheraphy for getting me on the right path.

Re: Siri: Open my garage door..

Posted: Thu Dec 20, 2012 5:22 pm
by DarkTherapy
peadard wrote:Hi Guys.
Firstly thank you Darktheraphy for posting this.
I have successfully managed to get Siriproxy running on my pi after a couple of issues.
One that i have seen mentionned a couple of times was the "No such file or directory" when trying to run SiriProxy server. I found that this line helped "Note: on some machines, rvmsudo changes "`~`" to "`/root/`". This means that you may need to symlink your "`.siriproxy`" directory to "`/root/`" in order to get the application to work:

sudo ln -s ~/.siriproxy /root/.siriproxy
"
This is found in the README.md in the SiriProxy folder so hopefully it helps some people. :)

After I got Siriproxy up and running I started thinking about its applications. I have a Elk M1 gold in my house doubling as a home automation and security system. I was going to wire the Pi up to this but then I thought of using code to do it. With the help of the info and files from here (Thank you very much James Russo) http://sourceforge.net/projects/elkm1control/ I now use Siri to activate almost anything I want to on my M1.
So again a big thank you to DarkTheraphy for getting me on the right path.
That's great :0)

DarkTherapy*

Re: Siri: Open my garage door..

Posted: Thu Dec 20, 2012 5:32 pm
by joefly
I just wanted to ditto peadard.

Thanks to Darktherapy for getting all this started and the help along the way.

I have also got the automation working with siriproxy and ISY. the plugin is here

https://github.com/hoopty3/siriproxy-isy99i

I am able to turn on lights, control sonos, and all the insteon devices, using ISY programs and network resources. Now my gf does not have to remember all the remote controls but simply just speak to her iphone to do certain things. She was previously paralyzed at home without me due to the complications of all my lighting and sound controls. LOL. Now she feels like the master, controlling commands through siri!!!

Re: Siri: Open my garage door..

Posted: Sat Dec 22, 2012 11:04 am
by yanniks
Ok, thanks, got the most for now.
One last question: The requied port "external pushbutton" is already in usage. Is it possible without complications to screw down 2 wires in it?

Thanks,
Yannik

Re: Siri: Open my garage door..

Posted: Sat Dec 22, 2012 11:36 am
by DarkTherapy
I can't see that being a problem.

Re: Siri: Open my garage door..

Posted: Sat Dec 22, 2012 4:36 pm
by jorgen
Hi,

Thanks for posting this great project. I have now a running pi with siriproxy and a tellstick (http://www.telldus.se/products/tellstick). Can't even imagine all the possibilities with this combination!

I'm able to turn on and off my Christmas three lights now using Siri. Very useful :)

Just ordered a "USB Infrared Toy v2", so soon maybe I can use Siri to control my TV as well!

Jørgen

Re: Siri: Open my garage door..

Posted: Sat Dec 22, 2012 7:15 pm
by DarkTherapy
jorgen wrote:Hi,

Thanks for posting this great project. I have now a running pi with siriproxy and a tellstick (http://www.telldus.se/products/tellstick). Can't even imagine all the possibilities with this combination!

I'm able to turn on and off my Christmas three lights now using Siri. Very useful :)

Just ordered a "USB Infrared Toy v2", so soon maybe I can use Siri to control my TV as well!

Jørgen
Haha, that's awesome!

Re: Siri: Open my garage door..

Posted: Sun Dec 23, 2012 1:49 pm
by G160
DarkTherapy wrote:
texy wrote:
DarkTherapy wrote:Does anyone know what protocols the "Sky+" app uses to talk to a Sky+ HD box connected to my router? It would be awesome to have Siri control my Sky+

My sky box is connected to my router and I can use the sky+ app on my iPhone to change channels or fast forward/rewind, access my planner etc these are protocols over my network surely. I may fire up wireshark later and see if I can work it out.
Do u mean like this ?
http://www.youtube.com/watch?v=oOOZ82N99d4

I'm not home till Xmas eve but I achieved it by creating seperate applications (on mac),one for each command,sent via telnet.
I gave up working out out how to send the commands directly via ruby,mainly due to my limited knowledge of ruby.

Re: Siri: Open my garage door..

Posted: Sun Dec 23, 2012 9:10 pm
by DarkTherapy
For anyone interested, I made a quick video overview of the hardware used: http://youtu.be/voifxiICHi4

Re: Siri: Open my garage door..

Posted: Mon Dec 24, 2012 7:52 pm
by alankernel
This may be a dum question, but does the iOS device need to be jailbroken to do this?

Re: Siri: Open my garage door..

Posted: Mon Dec 24, 2012 9:39 pm
by DarkTherapy
alankernel wrote:This may be a dum question, but does the iOS device need to be jailbroken to do this?
No

Re: Siri: Open my garage door..

Posted: Wed Dec 26, 2012 7:18 pm
by joefly
HI Dark therapy,

I got everything up and running and now just fine tuning. For ip, I have one for wired, and another for wifi.
I also got raspberrypi.local using
raspberrypi.local
If you have trouble remembering the IP address of your Raspberry Pi when you want to access it over the network, install avahi with the command “sudo apt-get install avahi-daemon” and you’ll be able to use raspberrypi.local instead of the IP address. If you’re accessing the Raspberry Pi from a Windows machine, you may need to install Bonjour Services on it for this to work
when I change my ip address in dnsmasq.conf to that of "raspberrypi.local" it seems not not like it as it the dnsmasq will not restart.

Question: since i change back and forth between wired and wifi and various routers, I hope to reference raspberrypi.local to make it easier to connect under various connections. Is there are way to alter dnsmasq to this?

Thanks

Re: Siri: Open my garage door..

Posted: Thu Dec 27, 2012 6:26 am
by DarkTherapy
Maybe you could make a boot up script that checks your local IP address then modifies the dns config to match, then restarts the dns service?

Re: Siri: Open my garage door..

Posted: Fri Dec 28, 2012 12:16 am
by pwb2103
This is amazing, I'm going to see if I can modify it slightly so that I can buzz myself into my apartment building via siri. One question: how robust has your setup been? Has it been running steadily since you set it up? Are you confident enough to leave your garage door opener behind?

Re: Siri: Open my garage door..

Posted: Fri Dec 28, 2012 6:21 am
by DarkTherapy
pwb2103 wrote:This is amazing, I'm going to see if I can modify it slightly so that I can buzz myself into my apartment building via siri. One question: how robust has your setup been? Has it been running steadily since you set it up? Are you confident enough to leave your garage door opener behind?
I've had it run for a few weeks without problems, but if there's a power cut and the pi reboots I don't have it setup to restart the SiriProxy, I'd have it do that if I wanted a more robust system.

Re: Siri: Open my garage door..

Posted: Fri Dec 28, 2012 4:19 pm
by wakummaci
Hey, lovely project and I'd definitely like to try something similar.
However when I follow the instructions on how to install siri proxy, from the link you provided ( http://www.idownloadblog.com/2011/12/09 ... ial-video/), I get stuck after I type command 7 : (rvm install 1.9.3).

It says command not found. Everything runs perfectly till that point, but somehow my pi can't find rvm whatsoever. Any ideas on how to fix that?

Re: Siri: Open my garage door..

Posted: Fri Dec 28, 2012 9:20 pm
by terrycarlin
If you are installing this as root, you need to enter this

Code: Select all

source /etc/profile.d/rvm.sh
in the command line.

if you log off and log back on, that code should be included automagicly.

Re: Siri: Open my garage door..

Posted: Sat Dec 29, 2012 10:21 pm
by wakummaci
terrycarlin wrote:If you are installing this as root, you need to enter this

Code: Select all

source /etc/profile.d/rvm.sh
in the command line.

if you log off and log back on, that code should be included automagicly.
Thanks, that worked, however when im installing rvm, i get the following error:

"Error runing 'make', please read /usr/local/rvm/log/......
There has been an error while running make. Halting the installation.

Re: Siri: Open my garage door..

Posted: Sun Dec 30, 2012 12:05 am
by elvisimprsntr
I've got Siri controlling my entire house!

http://www.raspberrypi.org/phpBB3/viewt ... 37&t=27529

Elvis

Re: Siri: Open my garage door..

Posted: Sun Dec 30, 2012 4:47 am
by terrycarlin
wakummaci wrote:
terrycarlin wrote:If you are installing this as root, you need to enter this

Code: Select all

source /etc/profile.d/rvm.sh
in the command line.

if you log off and log back on, that code should be included automagicly.
Thanks, that worked, however when im installing rvm, i get the following error:

"Error runing 'make', please read /usr/local/rvm/log/......
There has been an error while running make. Halting the installation.
Can you post the log file?

Re: Siri: Open my garage door..

Posted: Sun Dec 30, 2012 5:23 am
by elvisimprsntr
wakummaci wrote:
terrycarlin wrote:If you are installing this as root, you need to enter this

Code: Select all

source /etc/profile.d/rvm.sh
in the command line.

if you log off and log back on, that code should be included automagicly.
Thanks, that worked, however when im installing rvm, i get the following error:

"Error runing 'make', please read /usr/local/rvm/log/......
There has been an error while running make. Halting the installation.
If you are are installing as root follow the applicable instructions here: https://github.com/plamoni/SiriProxy/wi ... on-How-Tos