For Siri Proxy, please refer here:https://github.com/plamoni/SiriProxy
However, there already have an os image installed siri on it. you can download it here:
http://sourceforge.net/projects/siriproxyrpi/
for Webiopi,please refer here:https://code.google.com/p/webiopi/wiki/INSTALL
Install siriproxy os on your Pi
- open your terminal,type: df -h ,find your SD card identifier,for example,mine is:/dev/disk2s1
- please cd your siriproxy os directory,type:sudo diskutil unmount /dev/disk2s1
- type:sudo dd bs=1m if=siriproxy_os.img of=/dev/rdisk2 please note that you must modify /dev/disk2s1 to /dev/rdisk2
- wait about 20 minutes until the written was done. Then plus your sd card to your Pi, the login username & password is: root&siriproxy
Install webiopi os on your Pi
- follow the instructions on https://code.google.com/p/webiopi/wiki/INSTALL
- once install done, type: sudo python -m webiopi
- open your browser,type:http://raspberrypi_ipaddress:8000/,you will see the GPIO webpages
test siriproxy on your iPhone(mine is iPhone4s)
-
cause my iPhone already jailbreaken. we could directly edit the hosts file in /etc/hosts on iPhone. please add this string in this file:
RaspberyPi_IPAdress guzzoni.apple.com , for example: 192.168.226.171 guzzoni.apple.com
-
back to your iPhone, in the WIFI Settings, DNS item: delete all origin DNS IPs, then add your RaspberyPi_IPAdress
-
back to RaspberryPi, in terminal type: siriproxy server -d RaspberyPi_IPAdress
-
back to iPhone, open Siri, say"Test Siri proxy " Siri will response "Siri Proxy is up and running!"
install siriproxy plugin on Pi
-
mkdir ~/plugin
-
git clone git@github.com:shuhongwu/controlLEDwithRaspberryPi.git on your Pi
-
cp controlLEDwithRaspberryPi /usr/local/rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.2/plugins/
-
cp /usr/local/rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.2/config.example.yml ~/.siriproxy/config.yml
-
nano ~/siriproxy/config.yml , add
- name: 'Example1' path: './plugins/siriproxy-example1'
-
siriproxy bundle
-
siriproxy server -d RaspberyPi_IPAdress
Acknowledgements
Free,totally~~~