Re: Siri: Open my garage door..
What about svoice for the galaxys3?
Re: Siri: Open my garage door..
Hi,
thx for @ of this infos. First of all i´m german and a newbie ;-(
Siri is running on my ip as you can see below.... bit every time i say "test siri proxy" to siri its working and working and them siri say i´m sorry i can not help you.....
WHAT IS MY PROBLEM? please help me....
thx for @ of this infos. First of all i´m german and a newbie ;-(
Siri is running on my ip as you can see below.... bit every time i say "test siri proxy" to siri its working and working and them siri say i´m sorry i can not help you.....
WHAT IS MY PROBLEM? please help me....
Code: Select all
siri@raspberrypi:~$ cd SiriProxy
siri@raspberrypi:~/SiriProxy$ rvmsudo siriproxy server
[sudo] password for siri:
Starting SiriProxy on 192.168.97.26:443..
SiriProxy up and running.
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1614078 @signature=3, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x16392c0>, @zip_stream=#<Zlib::Deflate:0x16392a8>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1c7e590 @manager=#<SiriProxy::PluginManager:0x1639008 @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1c7e4a0 @signature=4, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1c7e3c8>, @zip_stream=#<Zlib::Deflate:0x1c7e3b0>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1c7dde0 @manager=#<SiriProxy::PluginManager:0x1c7e170 @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1c7dd20 @signature=5, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1c7dc48>, @zip_stream=#<Zlib::Deflate:0x1c7dc30>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1c7d660 @manager=#<SiriProxy::PluginManager:0x1c7d9f0 @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1c7d5a0 @signature=6, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1c7d4b0>, @zip_stream=#<Zlib::Deflate:0x1c7d498>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1c7cec8 @manager=#<SiriProxy::PluginManager:0x1c7d228 @plugins=[...]>>]
[Info - iPhone] Received Object: LoadAssistant
[Info - iPhone] Received Object: DestroyAssistant
[Info - iPhone] Received Object: ClearContext
[Info - iPhone] Received Object: SetRestrictions
[Info - iPhone] Received Object: ClearContext
[Info - iPhone] Received Object: StartSpeechRequest
[Info - iPhone] Received Object: SetRequestOrigin
[Info - User Location] lat: 49.531122072379475, long: 8.343780725466347
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: FinishSpeech
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1db75e0 @signature=8, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1db73e8>, @zip_stream=#<Zlib::Deflate:0x1db73b8>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1db6908 @manager=#<SiriProxy::PluginManager:0x1db6f80 @plugins=[...]>>]
[Info - iPhone] Received Object: LoadAssistant
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1de8bb8 @signature=10, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1de8ab0>, @zip_stream=#<Zlib::Deflate:0x1de8a98>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1e0b988 @manager=#<SiriProxy::PluginManager:0x1de87e0 @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1e0b898 @signature=11, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1e0b778>, @zip_stream=#<Zlib::Deflate:0x1e0b760>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1e0a9e0 @manager=#<SiriProxy::PluginManager:0x1e0b1f0 @plugins=[...]>>]
[Info - iPhone] Received Object: DestroyAssistant
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1e285a8 @signature=14, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1e284d0>, @zip_stream=#<Zlib::Deflate:0x1e284b8>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x1c7f820 @manager=#<SiriProxy::PluginManager:0x1d415f0 @plugins=[...]>>]
[Info - iPhone] Received Object: LoadAssistant
[Info - iPhone] Received Object: DestroyAssistant
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0xf93a98 @signature=16, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0xf93600>, @zip_stream=#<Zlib::Deflate:0xf935e8>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0xf92bb0 @manager=#<SiriProxy::PluginManager:0xf93210 @plugins=[...]>>]
[Info - iPhone] Received Object: LoadAssistant
[Info - iPhone] Received Object: DestroyAssistant
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1120e48 @signature=18, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1120bf0>, @zip_stream=#<Zlib::Deflate:0x1120b48>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x111fd20 @manager=#<SiriProxy::PluginManager:0x1120668 @plugins=[...]>>]
[Info - iPhone] Received Object: LoadAssistant
[Info - iPhone] Received Object: DestroyAssistant
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x1208310 @signature=20, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x1208070>, @zip_stream=#<Zlib::Deflate:0x1208040>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x122bf68 @manager=#<SiriProxy::PluginManager:0x122ca18 @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x122bdd0 @signature=21, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x122bae8>, @zip_stream=#<Zlib::Deflate:0x122bad0>, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x122a678 @manager=#<SiriProxy::PluginManager:0x122b5c0 @plugins=[...]>>]
Re: Siri: Open my garage door..
Ok, after a new installation it is working, im testing with an led on P1-9 and P1-11. when i type inkrabathor wrote:Hi,
thx for @ of this infos. First of all i´m german and a newbie ;-(
Siri is running on my ip as you can see below.... bit every time i say "test siri proxy" to siri its working and working and them siri say i´m sorry i can not help you.....
WHAT IS MY PROBLEM? please help me....
sudo su
root@raspberrypi:/home/siri# echo "17" > /sys/class/gpio/export
root@raspberrypi:/home/siri# echo "out" > /sys/class/gpio/gpio17/direction
sh /tmp/door.sh - working, led on and of thats it
root@raspberrypi:/home/siri# cd SiriProxy
root@raspberrypi:/home/siri/SiriProxy# siriproxy server
bash: siriproxy: command not found - whats up..... ???? without sudo su i can start the server and use siri.
Code: Select all
#This is my door.sh
#!/bin/sh
echo "1" > /sys/class/gpio/gpio17/value
sleep 0.5;
echo "0" > /sys/class/gpio/gpio17/value
sleep 0.5;
Code: Select all
#This is my change in example
listen_for /door close/i do
say "Closing the garage door.."
request_completed
system("bash door.sh &")
end
-
- Posts: 69
- Joined: Mon Aug 20, 2012 8:14 am
Re: Siri: Open my garage door..
Did you do the whole install logged in as root?krabathor wrote:Ok, after a new installation it is working, im testing with an led on P1-9 and P1-11. when i type inkrabathor wrote:Hi,
thx for @ of this infos. First of all i´m german and a newbie ;-(
Siri is running on my ip as you can see below.... bit every time i say "test siri proxy" to siri its working and working and them siri say i´m sorry i can not help you.....
WHAT IS MY PROBLEM? please help me....
sudo su
root@raspberrypi:/home/siri# echo "17" > /sys/class/gpio/export
root@raspberrypi:/home/siri# echo "out" > /sys/class/gpio/gpio17/direction
sh /tmp/door.sh - working, led on and of thats it
root@raspberrypi:/home/siri# cd SiriProxy
root@raspberrypi:/home/siri/SiriProxy# siriproxy server
bash: siriproxy: command not found - whats up..... ???? without sudo su i can start the server and use siri.
Code: Select all
#This is my door.sh #!/bin/sh echo "1" > /sys/class/gpio/gpio17/value sleep 0.5; echo "0" > /sys/class/gpio/gpio17/value sleep 0.5;
Code: Select all
#This is my change in example listen_for /door close/i do say "Closing the garage door.." request_completed system("bash door.sh &") end
Re: Siri: Open my garage door..
after typing exit for the root und log in as siri user everything works out.... thx for this... after hours i m not able to thinkDarkTherapy wrote:
Did you do the whole install logged in as root?

-
- Posts: 3
- Joined: Wed Feb 06, 2013 2:57 am
Re: Siri: Open my garage door..
DarkTherapy - Spent happy hours last night getting this working - thanks for all your tips. By now I am pretty adept at getting the server up and running again each time I take my laptop away and come back. But I would like to run it in screen mode (as you noted that you do) and let the Pi keep running on its own (if that's what screen mode does).
I've read elsewhere about using screen mode but can't get it to work while restarting the server as root on Pi. Can you offer the steps necessary to do that?
Thanks!
I've read elsewhere about using screen mode but can't get it to work while restarting the server as root on Pi. Can you offer the steps necessary to do that?
Thanks!
-
- Posts: 69
- Joined: Mon Aug 20, 2012 8:14 am
Re: Siri: Open my garage door..
I personally use this way, I create a bash script that bundles the package before it launches the siriproxy and call it siriproxy.sh saved in the root dir.
Then I would launch it with a screen session:
screen -S SiriProxy -s "/root/siriproxy.sh"
This starts the server and you can monitor it. To "detach" from the session press ctrl+a+d
To view your available screen sessions use: screen -ls
Then to reattach to the SiriProxy session use: screen -x SiriProxy (press tab to autocomplete the session name)
Don't forget to chmod +x the script.
Code: Select all
#! /bin/bash
clear
cd /root/SiriProxy
echo "Moved into the SiriProxy Folder.."
echo "Running the Bundle Command......."
echo " " /root/SiriProxy/bin/siriproxy bundle
echo "Done!"
echo "Starting the server..."
/root/SiriProxy/bin/siriproxy server
screen -S SiriProxy -s "/root/siriproxy.sh"
This starts the server and you can monitor it. To "detach" from the session press ctrl+a+d
To view your available screen sessions use: screen -ls
Then to reattach to the SiriProxy session use: screen -x SiriProxy (press tab to autocomplete the session name)
Don't forget to chmod +x the script.
Last edited by DarkTherapy on Wed Feb 06, 2013 11:26 am, edited 1 time in total.
-
- Posts: 69
- Joined: Mon Aug 20, 2012 8:14 am
Re: Siri: Open my garage door..
Sorry about the formatting in the code above, I copied that from my notes on my iPhone!
-
- Posts: 3
- Joined: Wed Feb 06, 2013 2:57 am
Re: Siri: Open my garage door..
Thanks! That's a great help.
Just so I'm clear - once this is done, the Pi will run the server on its own, whether Terminal is open or not? When the controlling computer is absent? So as long as the iPhone and Pi are on the same network (and the server does not hit a glitch of some kind) the hack will work?
Just so I'm clear - once this is done, the Pi will run the server on its own, whether Terminal is open or not? When the controlling computer is absent? So as long as the iPhone and Pi are on the same network (and the server does not hit a glitch of some kind) the hack will work?
-
- Posts: 69
- Joined: Mon Aug 20, 2012 8:14 am
Re: Siri: Open my garage door..
Yeah, once a screen session starts and you detach from it, it will continue to run. I often log into my Pi from work to check the server, and I have an IRC client runnin on another screen session that runs 24/7. Even if your ssh session gets disconnected, the screen session continues.dpentecost wrote:Thanks! That's a great help.
Just so I'm clear - once this is done, the Pi will run the server on its own, whether Terminal is open or not? When the controlling computer is absent? So as long as the iPhone and Pi are on the same network (and the server does not hit a glitch of some kind) the hack will work?
Re: Siri: Open my garage door..
Well maybe very stupid question but how do I hook up an iPhone to this? Do I have to setup something special or do I only connect iPhone to the same network?
-
- Posts: 69
- Joined: Mon Aug 20, 2012 8:14 am
Re: Siri: Open my garage door..
Go back to the first post..
Re: Siri: Open my garage door..
Sorry but I'm not seeing anything regarding how to hook up iPhone to work with SiriProxy in the first post.
-
- Posts: 69
- Joined: Mon Aug 20, 2012 8:14 am
Re: Siri: Open my garage door..
ArnieX wrote:Sorry but I'm not seeing anything regarding how to hook up iPhone to work with SiriProxy in the first post.
In the first post is this link:
http://www.idownloadblog.com/2011/12/09 ... ial-video/
Which you can't see...
Anyway, it explains how to get siriproxy running (on a Linux machine) then how to connect the iPhone to that machine.
-
- Posts: 2
- Joined: Fri Feb 01, 2013 7:49 pm
Re: Siri: Open my garage door..
If you want ot get siri running on PI, see below:
I recently wrote an article on how to install and configure SiriProxy on PI (and Linux) and how to integrate with other systems using IP. the article also contains a link to a (guaranteed virus/spyware free) full configure Linux VM and PI SD image. All you need to do is change IP, one config file and install certificate on phone and you'll have a working SiriProxy
http://www.hometoys.com/emagazine/2013/ ... ux-vm/2087
I recently wrote an article on how to install and configure SiriProxy on PI (and Linux) and how to integrate with other systems using IP. the article also contains a link to a (guaranteed virus/spyware free) full configure Linux VM and PI SD image. All you need to do is change IP, one config file and install certificate on phone and you'll have a working SiriProxy
http://www.hometoys.com/emagazine/2013/ ... ux-vm/2087
-
- Posts: 3
- Joined: Wed Feb 06, 2013 2:57 am
Re: Siri: Open my garage door..
Thanks again, DarkTherapy - your patience is inspiring 

-
- Posts: 1
- Joined: Sun Feb 10, 2013 6:35 am
Re: Siri: Open my garage door..
I was wondering if anyone got siriproxy running over WAN. My local network works like a boss but tricking the phone to look at my proxy server is a little more tricky. I'd rather not go the VPN route if I can just route Siri traffic through my server and not all traffic. I tried editing the hosts file on my phone since its jailbroken but the iphone still seems to send off the requests to the apple server first.
Re: Siri: Open my garage door..
After some weeks I found some time again to care about this project. I bought a breadboard, some jump wires and of cause cables for connecting to the GPIO pins. A relay and a transistor are here too. As I am a programmer and not a electrician, how do I have to connect everything so I am able to connect that to the garage door? GPIO cable to relay or to the transistor? And then?
Thank you for helping,
Yannik
Thank you for helping,
Yannik
Re: Siri: Open my garage door..
I have a question... has anyone considered adding the ability to close the door, and lock the door, as well as open the door after unlocking the door? I want to add logic to the basic garage door design to secure the door. High level logic would be something like...
Coming Home...
1) Approach door
2) Call Pi (ignore the method for now, bluetooth versus web origin, siri, etc.)
3) Pi opens door doing the following...
a) Relay fires to engage stepper motor controller
b) Locking pin moved to disengaged position (via motor)
c) Relay fires to signal garage door to open
d) Additional relay fires to turn on garage lighting not controlled by garage door opener (if time of day suggests it, more on this later)
Leaving Home...
4) Call Pi (again ignore method for now)
a) Relay fires to signal garage door to open
b) Leave Garage
c) Pi senses vehicle has left garage (more on this after, did someone say sconic or motion detector?)
d) Relay fires to close garage door
e) Relay fires to to engage stepper motor
f) Locking pin moved to engaged position (via motor)
g) Additional relay fires to turn off garage lighting not controlled by garage door opener (if time of day suggests it, more on this later)
5) Pi Communicates garage is secured
I think high-level all that is required would be a couple of more relay channels, and stepper motor controller? Of course, some creative work to mechanize the garage door locking assembly, a motorized dead-bolt like device would work. Don't have a machine shop in my back yard, but I am sure there has to be something out on the Internet that might be adapted.
Yet another another idea... is to setup a optical sensor, or link Pi into the garage door close/stop sensor somehow? How about leaving that for the next version?
Coming Home...
1) Approach door
2) Call Pi (ignore the method for now, bluetooth versus web origin, siri, etc.)
3) Pi opens door doing the following...
a) Relay fires to engage stepper motor controller
b) Locking pin moved to disengaged position (via motor)
c) Relay fires to signal garage door to open
d) Additional relay fires to turn on garage lighting not controlled by garage door opener (if time of day suggests it, more on this later)
Leaving Home...
4) Call Pi (again ignore method for now)
a) Relay fires to signal garage door to open
b) Leave Garage
c) Pi senses vehicle has left garage (more on this after, did someone say sconic or motion detector?)
d) Relay fires to close garage door
e) Relay fires to to engage stepper motor
f) Locking pin moved to engaged position (via motor)
g) Additional relay fires to turn off garage lighting not controlled by garage door opener (if time of day suggests it, more on this later)
5) Pi Communicates garage is secured
I think high-level all that is required would be a couple of more relay channels, and stepper motor controller? Of course, some creative work to mechanize the garage door locking assembly, a motorized dead-bolt like device would work. Don't have a machine shop in my back yard, but I am sure there has to be something out on the Internet that might be adapted.
Yet another another idea... is to setup a optical sensor, or link Pi into the garage door close/stop sensor somehow? How about leaving that for the next version?
Re: Siri: Open my garage door..
I seem to have a bit of trouble... I add the extra lines to turn my lights on/off and then run "siriproxy bundle"
All seems well, however, when I say the command, the siriproxy server does not seem to recognize it...
and here is my output
What am I doing wrong?
All seems well, however, when I say the command, the siriproxy server does not seem to recognize it...
Code: Select all
listen_for /lights on/i do
say "Lights On" #reply
request_completed
system("python /home/kiran/Documents/PythonScripts/turnLightOn_1.py")
end
listen_for /lights off/i do
say "Lights Off" #reply
request_completed
system("python /home/kiran/Documents/PythonScripts/turnLightOn_1.py")
end
Code: Select all
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: FinishSpeech
[Info - Guzzoni] Received Object: SpeechRecognized
[Info - Plugin Manager] Processing 'Lights on '
[Info - Plugin Manager] Processing plugin Example
[Info - Plugin Manager] No matches for 'Lights on '
[Info - Guzzoni] Received Object: AddViews
[Info - Guzzoni] Received Object: AddViews
[Info - Guzzoni] Received Object: RequestCompleted
-
- Posts: 2
- Joined: Wed Dec 19, 2012 1:31 pm
Re: Siri: Open my garage door..
I had a problem similar to this. It turned out that there were two siriproxy-example.rb files. When i edited the one under the RVM install that is when my changes started working.
Hope that helps.
Hope that helps.
Re: Siri: Open my garage door..
Thanks for the info wranglerdriver, I will check that out when I get home. Would you happen to know where this secondary file is? I am modifying the *.rb file in the SiriProxy folder itself...
- QBall1977
- Posts: 88
- Joined: Thu Aug 09, 2012 10:06 am
- Location: Hull, East Yorkshire
- Contact: Website
Re: Siri: Open my garage door..
A little off topic perhaps, but can someone clarify for me. I want to have SiriProxy as something I just run (every once in a while) not ALL the time. I tried installing SiriProxy as 'PI' user, which is more trouble than it's worth. Could someone tell me is it possible to run SiriProxy as a Daemon? If so can it run while you're logged in as 'Pi' user. I.E. have it calling python scripts (as the pi user). Perhaps to lauch a program / software or just run a script?
Sorry I was told I should NOT be doing everything as ROOT (so I'm trying hard to stick to being 'Pi' user) and just wondered how this would interface. Thanks in advance for response.
Sorry I was told I should NOT be doing everything as ROOT (so I'm trying hard to stick to being 'Pi' user) and just wondered how this would interface. Thanks in advance for response.
____________________________________________
Looking for where to start - try Kernel Panic - http://goo.gl/EEQ5J
Looking for where to start - try Kernel Panic - http://goo.gl/EEQ5J
-
- Posts: 131
- Joined: Sat Dec 29, 2012 11:36 pm
- Contact: Website
Re: Siri: Open my garage door..
Your assessment of how difficult it is to install as a user is correct. Myself having successfully installed SP on a number of ARM embedded devices and Linux distributions, it is much easier to install everything as root.QBall1977 wrote:A little off topic perhaps, but can someone clarify for me. I want to have SiriProxy as something I just run (every once in a while) not ALL the time. I tried installing SiriProxy as 'PI' user, which is more trouble than it's worth. Could someone tell me is it possible to run SiriProxy as a Daemon? If so can it run while you're logged in as 'Pi' user. I.E. have it calling python scripts (as the pi user). Perhaps to lauch a program / software or just run a script?
Sorry I was told I should NOT be doing everything as ROOT (so I'm trying hard to stick to being 'Pi' user) and just wondered how this would interface. Thanks in advance for response.
I posted a new SD card image which is now derived from Raspbian.
http://sourceforge.net/p/siriproxyrpi/n ... 013-03-22/
Significant changes:
UPDATE: Switched from Debian to Raspbian to support newer RPis with Hynix RAM.
Configuration summary:
Raspbian Wheezy - Kernel 3.6.11+
Ruby 2.0.0-p0
SiriProxy 0.5.2
DHCP by default
SSH, SAMBA, and APACHE2 installed
AVAHI and DNSSD libraries for Zeroconf (aka Bonjour) service discovery
Login/Samba credentials:
Username: root
Password: siriproxy
http://www.youtube.com/user/TheElvisImprsntr
- QBall1977
- Posts: 88
- Joined: Thu Aug 09, 2012 10:06 am
- Location: Hull, East Yorkshire
- Contact: Website
Re: Siri: Open my garage door..
Finally got this working in the end. Just putting together different tutorials into one that made sense for myself. Have the proxy setup as the Pi user. Question, if I move to the Pi to an alternate Wired / Wireless network (in a classroom off an old router) do I need to re-generate the PEB key? The Pi will be retaining the same Static IP address. I will be interesting to show the kids how commands / programs can be launched from iphone / ipad via the proxy. (although I might not show the kids how I taught Siri to swear! my own personal weekend project!).
The cobbled instructions are part of my own personal ever expanding Raspberry Pi Manual, Kernel Panic. - https://docs.google.com/document/d/1WIM ... sp=sharing
The cobbled instructions are part of my own personal ever expanding Raspberry Pi Manual, Kernel Panic. - https://docs.google.com/document/d/1WIM ... sp=sharing
____________________________________________
Looking for where to start - try Kernel Panic - http://goo.gl/EEQ5J
Looking for where to start - try Kernel Panic - http://goo.gl/EEQ5J