realtek
Posts: 34
Joined: Wed Jan 09, 2013 3:16 pm

Re: Siri: Open my garage door..

Wed Mar 27, 2013 3:14 pm

Hi,

I have got SiriProxy working but it is not picking up my new commands in "siriproxy-example.rb"

So I have this:

listen_for /turn light on/i do
say "Switching Light on for you"
request_completed
os.system("sudo python /home/pi/Projects/LED_On.py")
end

It keeps saying "I don't know what you mean by turn light on" ?

I have tried siriproxy bundle before I launch it too.. no luck

Thanks!

realtek
Posts: 34
Joined: Wed Jan 09, 2013 3:16 pm

Re: Siri: Open my garage door..

Wed Mar 27, 2013 8:28 pm

I also get this in the terminal:

[Info - Plugin Manager] Processing plugin Example
[Info - Plugin Manager] No matches for 'Turn the light on '

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Thu Mar 28, 2013 11:31 am

The problem is your listen regex string does not match what you actually spoke. Also make sure you are editing the example file under the RVM path where SiriProxy is actually running out of.
http://www.youtube.com/user/TheElvisImprsntr

User avatar
QBall1977
Posts: 76
Joined: Thu Aug 09, 2012 10:06 am
Location: Hull, East Yorkshire
Contact: Website

Re: Siri: Open my garage door..

Fri Mar 29, 2013 4:51 pm

I had one or two similar teething problems. Try using simple 'single' word commands and build up from there! I used 'Quake' to launch Quake3 as an example!
____________________________________________
Looking for where to start - try Kernel Panic - http://goo.gl/EEQ5J

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Sun Apr 14, 2013 7:28 pm

The single most popular request I have received is how to wire up a relay and use SiriProxy to control one's garage door. I normally use a relay built in to my high end security panel which is out of reach for most people. So I bought a PiFace Digital IO board which has two relays, other outputs/inputs, diode protection, etc. The PiFace Digital IO board simply snaps on the Raspberry PI. I then created a SiriProxy PiFace plugin to control my garage door using Siri voice commands. Hopefully, this will make it much easier for everyone to get started. Feel free to modify the plugin for your specific configuration and application interests.

http://www.youtube.com/watch?v=cpBG9m3LDqI

Cheers!
http://www.youtube.com/user/TheElvisImprsntr

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Tue Apr 16, 2013 12:00 pm

For those looking to use SiriProxy from outside their local WLAN, you can easily set up a VPN server on your router using open source firmware from www.dd-wrt.com. You can also use the firmware to set up a transparent DNS redirect which eliminates the need to manually adjust the DNS settings on your device.

VPN Server
https://www.youtube.com/watch?v=N97Xg2IovTA

DNS Redirect
https://www.youtube.com/watch?v=vFSP4iYQPsM

NOTE: Do not attempt to install dd-wrt on ISP issued equipment. Also use of dd-wrt firmware is for advanced users with networking knowledge/experience.
http://www.youtube.com/user/TheElvisImprsntr

JDM1oc
Posts: 1
Joined: Thu Apr 18, 2013 11:22 pm

Re: Siri: Open my garage door..

Thu Apr 18, 2013 11:29 pm

Thanks for the instructions. I was able to get it going by following along. Is there code that could be used to check the status of the garage door via a magnetic switch tied to one of the gpio pins? That way a command could return the status of the garage door. It could also add security as it works currently, saying "open the garage door" while it is already open will close it. I know it is possible, but I don't know anything about programming so I don't know how to do it.

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Sat Apr 20, 2013 8:20 pm

JDM1oc wrote:Thanks for the instructions. I was able to get it going by following along. Is there code that could be used to check the status of the garage door via a magnetic switch tied to one of the gpio pins? That way a command could return the status of the garage door. It could also add security as it works currently, saying "open the garage door" while it is already open will close it. I know it is possible, but I don't know anything about programming so I don't know how to do it.
My PiFace plugin already checks the status of the door. Watch the video and look at the code.
http://www.youtube.com/user/TheElvisImprsntr

HaTe87
Posts: 19
Joined: Wed Apr 10, 2013 11:12 am

Re: Siri: Open my garage door..

Thu May 16, 2013 10:44 am

hello
I would like to know if using function
system ("gpio read 1")
you can support the state of pin to a variable to use it in cycles if or else?

SteveHickson
Posts: 21
Joined: Tue Mar 19, 2013 5:53 pm
Location: [email protected]
Contact: Website

Re: Siri: Open my garage door..

Mon May 20, 2013 2:08 am

I wrote something that uses Google's speech recognition instead of Siri and run's completely on the RPi. It can run any command based off anything you say and is easily configurable without having to code anything. You can find it here:
http://stevenhickson.blogspot.com/2013/ ... ry-pi.html

And here is a video demo:
http://www.youtube.com/watch?v=6NHklmXMouY

Pr4tik91
Posts: 3
Joined: Fri Feb 22, 2013 11:36 pm

Re: Siri: Open my garage door..

Fri May 24, 2013 6:46 am

ok. i got things done fine till step 11 and then i think things just went downhill.

when i command "siriproxy gencerts" it returns with "command not found"

not sure what i am doing wrong.

BTW i am using parallels on mac.

DVM
Posts: 9
Joined: Tue Jul 09, 2013 9:09 am

Re: Siri: Open my garage door..

Mon Jul 15, 2013 8:24 am

realtek wrote:Hi,

I have got SiriProxy working but it is not picking up my new commands in "siriproxy-example.rb"

So I have this:

listen_for /turn light on/i do
say "Switching Light on for you"
request_completed
os.system("sudo python /home/pi/Projects/LED_On.py")
end

It keeps saying "I don't know what you mean by turn light on" ?

I have tried siriproxy bundle before I launch it too.. no luck

Thanks!
@realtek,Please can you tell me if you managed to get that command working , cause i am having the same problem

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Wed Jul 17, 2013 10:31 am

Pr4tik91 wrote:ok. i got things done fine till step 11 and then i think things just went downhill.

when i command "siriproxy gencerts" it returns with "command not found"

not sure what i am doing wrong.

BTW i am using parallels on mac.
You need to source the RVM setup paths again. Either you did not set them up or you logged in at a console which may not source the login script you added the RVM paths.
http://www.youtube.com/user/TheElvisImprsntr

HaTe87
Posts: 19
Joined: Wed Apr 10, 2013 11:12 am

Re: Siri: Open my garage door..

Mon Nov 11, 2013 12:45 pm

hello to all
I followed the instructions and it works great ... siriproxy
now I have to take the next step:
I installed on a server vpn Pi and this also works, facts on the iphone I read that I'm connected to 192.168.xx.xx (local ip del Pi on which also runs the proxy) ...
but if I say "test siri proxy" proxy does not work.
you have ideas on where there is a bug?

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Mon Nov 11, 2013 9:09 pm

I suggest you consider the following:
1. Transparent DNS redirect using DD-WRT: http://www.youtube.com/watch?v=vFSP4iYQPsM
2. PPTP VPN: http://www.youtube.com/watch?v=N97Xg2IovTA
http://www.youtube.com/user/TheElvisImprsntr

Chito81
Posts: 4
Joined: Tue Jan 07, 2014 11:18 pm

Re: Siri: Open my garage door..

Tue Jan 07, 2014 11:23 pm

First post in the forum, so please bear with me!

Hopefully someone will be able to help...

Followed all the instructions from sourceforge.net/p/siriproxyrpi/wiki/Home/ and installed SP from the SD image. Set up the DNS on the iPhone (4S, jailbroken) and copied the gencerts.

It seems SP is running on the Pi (I've pasted the terminal confirmation below). However, when I test the Siri on the iPhone, I get a "Sorry, I don't understand" message.

What could I be doing wrong?

Thanks a lot!

[email protected]:~# siriproxy server
[Info - Configuration] Loading plugins -- If any fail to load, run `siriproxy bundle` (not `bundle install`) to resolve.
[Notice - Server] ======================= WARNING: Running as root =============================
[Notice - Server] You should use -l or the config.yml to specify and non-root user to run under
[Notice - Server] Running the server as root is dangerous.
[Notice - Server] ==============================================================================
[Info - Server] Starting SiriProxy on 0.0.0.0:443...
[Info - Server] SiriProxy up and running.
[Info - Plugin Manager] Plugins loaded: Example
[Info - Plugin Manager] Plugins loaded: Example
[Info - Plugin Manager] Plugins loaded: Example
[Info - Plugin Manager] Plugins loaded: Example
[Info - Plugin Manager] Plugins loaded: Example

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Siri: Open my garage door..

Thu Jan 09, 2014 2:30 am

I'll assume you are not using iOS7...

A small number of users have reported similar symptoms.

1. Have you tired removing and generating new certificates? That has worked for some.

2. Some users have made changes to some of siriproxy source files to solve their problem. https://github.com/plamoni/SiriProxy/issues/564
http://www.youtube.com/user/TheElvisImprsntr

Chito81
Posts: 4
Joined: Tue Jan 07, 2014 11:18 pm

Re: Siri: Open my garage door..

Thu Jan 09, 2014 8:14 pm

Thanks! Generated new certificates and it worked!

jimjulian
Posts: 49
Joined: Mon Apr 04, 2016 12:09 am

Re: Siri: Open my garage door..

Thu Jul 14, 2016 2:27 pm

Hello,

The year is 2016. Does the Siri Proxy still work?

Thank you,
Jim Julian

Krassburg
Posts: 1
Joined: Mon Jul 17, 2017 1:47 pm

Re: Siri: Open my garage door..

Wed Aug 16, 2017 11:01 am

He, thanks a million for that project,

question is ... How to do it if this is in an another language ? eg French

:D

Return to “General discussion”