Welcome

Over the last several years I've been dealing with various stages of disability thanks to ALS. My goal is to share solutions and review various products/tools/devices that I have found particularly helpful.
Showing posts with label Siri proxy. Show all posts
Showing posts with label Siri proxy. Show all posts

Wednesday, 25 June 2014

Looks like Siri Proxy Is Dead & Bit of an Update

So where have I been?

There's been quite a bit of chaos going around recently. For a couple reasons, in no particular order:

The family has been heavily wrapped up with moving house as I'm not able to navigate stairs safely anymore. As always, moving house is always stressful and annoying. But what is really unfair about it, all the work is falling on the shoulders of my wife.

Discovered a nice apartment that would work for us and be rather accessible right from the start. Nonetheless, we will be sad to be leaving this home and neighborhood. We love it, and our neighbors.

Please join me when I say "I hate moving"

I lost a considerable amount of use of arms hands since our last post. Making everything, difficult. This is necessitated an increase in volume of people coming through the house to help me out, leaving a very limited amount of time to get to the computer. When I do, those two or three hours are often taken up with correspondence, reading or World of Warcraft hearthstone…

Ah crap... more wasted time with watercraft
It's nice that I found a video game I can play again, but damn you World of Warcraft! I thought I was free of your corruptive influence. Damn you back to the depths of hell!

The lack of use of my hands has also greatly limiting my creative problem solving for day--to-day issues as I can't really use any of the solutions anyway. This means I'm going back to more work in front of the computer, which has been slow for the above-mentioned reasons ;-)

On the flip side, my rehab facility has given me access to a Windows surface tablet with a Tobii eye tracker. That has been quite interesting and we are laying the groundwork for when I will need one.

The death of siri proxy

About a month ago at WWDC Apple announced the release of IOS 8 and at about the same time appears to have patched their guzzoni service on which Siri proxy
relied. My Siri proxy stopped working, I tried on and off for about three weeks to get back up and running with no luck. It's dead.

Such a shame, it was awesome while it lasted. However, IOS8 is promising to open up the SDK for Siri with home kit so that may be used for various home automation's solutions.
(Crosses fingers)

So I upgraded my phone to IOS7 and started to look at alternatives.

Obviously, there is nothing as good out there right now but I needed a way to verbally, remotely lock and unlock my door. The easiest solution was to use my always on raspberry pi to check my Gmail account for messages from a specific center with the specific catchphrases.

With a bit of research I managed to write a Ruby script. I Chose Ruby because of the convenience of regex matching and the familiarity I got writing scripts for my Siri proxy.

The script is not fancy at all. But it does get the job done. It works with the following logic.

  1. Every 30 seconds checked my Gmail account
  2. is there an unread message from a specific e-mail address
  3. if yes, does this message contained trigger phrases?
  4. If yes, do specified action.

If you like to give it a try, you can find the Ruby script here my Gmail checker

You will however have to install the Gmail gem http://rubygems.org/gems/ruby-gmail

The way this script is presently written, it runs just fine on raspberry pi. but not on Windows. However, it should not take much to get it running on the Windows machine. I just did not figure out the syntax to send the string to Wget.exe on Windows. For your convenience, I included it in the zip.


Friday, 6 December 2013

Remote PC Start up Tools & Siri proxy

This is a little project that is kept me occupied for some time now, partly to do with a few difficulties in implementation. But the idea is to allow me to remotely start my computer without having to find my way to the basement to do so.

So why would someone want to remotely start the computer? Well I download quite a bit of media which is stored on the hard drive of my desktop and I use media streaming to send this content to one of my gaming consoles so I can watch it in the comfort of my family room which is on the ground floor. My desktop PC is in the basement separated by a flight of stairs with big nasty scary teeth and with mobility issues, I don't always feel like taking the chance. Especially when the lighting conditions are a little dark. For some reason this really messes with my balance, making stairs downright hazardous at times.


I tried a couple different apps, and hit a few speed bumps on the way that were not expected. Here's what I found.

First off, the speed bumps

Every motherboard on your computer nowadays will have a wired network connection. If you go through the BIOS is just about guaranteed that it will support some sort of wake on LAN functionality. Simply enable it, and you should be good to go right?

Well, not so much.

I have an older Asus motherboard that those sales for wake on LAN. I figured this should be enough. Enabled it, set the magic package and would only work immediately after shutdown. The motherboard power savings would shut down the network connection is well after a period of time. This caused quite a bit of annoyance.

So for about $10, about it PCI express network card. This solves the problems. Once the BIOS was set, the PCI express port maintained power, even after the PC shutdown.


Secondly, not all routers will support away, and set up. In particular Linksys routers (which is what I have) don't allow you to set the subnet mask 255.255.255.255 which is required to forward the magic packet the subnet mask needs to be set to 255.255.255.128. Contact Linksys cares technical support via twitter. They were very helpful with me for sorting this out.

How does it work?

Very simply, we will be using a computer or a smart phone to send what's called a magic packet over your local area network to the desired (powered down) computer. Once you BIOSes appropriately set up, your network card essentially never sleeps and monitors the network for the appropriate magic package.

There are a couple ways to send this.

iShutdown Is probably about the easiest way to go. Simply install the app on your smart phone and then from the link here, install the service on your desired desktop. Once everything is installed, with your PC running simply search for the server via the smart phone app. It should detect it right away. This will allow you to remotely start and stop your computer and has a very nice interface. It's also very easy to monitor several computers if you so choose.

This simplicity makes it well worth the $2

Your next the best option would be to try send a magic packets with depicus.com. This is also a very good app. Works flawlessly, but is a little bit more technical as it exposes you to more of the raw details. It however also has the scanning function to find computers on your network. But what is very interesting, is that also offer a free wake on LAN packet sniffer which will allow you to view magic packets that are being sent and received by your PC. Very useful when you're setting things up to make sure things are going to the right places

This is also $2 on the App Store.

Then there is the Siri proxy… My personal favorite!

If you've already figured out how to get Siri proxy running on raspberry pie, this edition is actually really quite easy, and it's free! If you are running Debian like me. Go here for information on the install
  • open terminal and type
    aptitude install wakeonlan 
  • test the install
Once you are sending and receiving magic packets from your raspberry pie to your PC via terminal, is just a simple matter of adding the recognition block into your Siri proxy script, editing your Mac address, rebundling and restarting your Siri proxy.
#wake on LAN-------------------------------------------------
   listen_for /wake up my (computer|PC|desktop)/i do
     
    say "waking up your computer"
    system 'wakeonlan -p 7 YOUR_MAC_ADDRESS'

    request_completed #always complete your request! Otherwise the phone will "spin" at the user!
  end
And this should be enough to get your serial proxy sending magic packet.

But having set this up, if I decide to watch a movie I simply voice activate my iPhone, tell her to wake up my computer and within a minute or so the media servers visible on the network.

Very convenient, very fun. :-)

If you're looking to set up a wake on LAN, I hope this helps you set one up.

Monday, 29 July 2013

Microphones & Voice Recognition

It's been mentioned about for some time I rely quite heavily on voice recognition functionality to access my computer via Dragon naturally speaking (sometimes the Windows of voice recognition). However I have not discussed the pros and cons of the microphone/headset that I've tried. Some are obviously better than others and this of course changes as my condition deteriorates.

Something I should point out however is the exact nature of my limitations. I've lost almost all the dexterity in my hands and have very little use of my arms. I can scratch my nose, but I can no longer lift my hands/shoulders to place anything on my head.

There are some pros and cons to some of the headsets I've tried:

Wired headsets

Initially, I used wired headsets almost exclusively. However a few months ago there were two major factors that really started to be a problem for me. The first, as my dexterity degenerated it started become more and more difficult to get the headset on in a convenient and comfortable manner. The second, again to do with dexterity is at once that the headset is on, I have to contend with the wire which is often getting wrapped around my leg, falling down (then usually getting squashed under the wheel of my computer chair), getting hung up on the armrest, or otherwise being a pain in the butt.…

Since then, I've moved over to using almost exclusively a wireless headset. Nonetheless, there were some quality headsets and some work much better than others which Dragon NaturallySpeaking.

Rocketfish PS3 Headset 

This is one of the first headsets on tried. And the cost of about $20 Canadian it worked exceptionally well. It has an extremely long USB wire which is intended for the PlayStation 3. E.g. from the couch some distance away. Not really a PC, but functionally it's plug and play. What I find worked exceptionally well but this was the boom for the microphone. It was long enough that it could be placed almost directly in front of your mouth and the foamy part on it was good enough to muscle out the sounds of your breathing. Therefore Dragon's comprehension of your speech was generally very good.

The noise cancellation is so good in fact, that I could actually have music playing softly to my PC speakers (or a game) and the voice recognition would still work very well. This headset was particularly designed for voice communications in gameplay environment, so if you're a gamer. You can pipe the communication audio through your headset and still listen to the game/music through your main speakers.

If my hands didn't make it impossible for me to put this on, this would still be my preferred headset. It's light, secure on your head and reasonably comfortable for longer period of time. However without dexterity, is extremely difficult place and adjust.

Corsair HS1 Gaming Headset

These are an exceptionally good quality gaming headset. It is also USB connection with a rather long wire. There initially given to me because I was having substantial difficulty recording my voice into modeltalker. For some reason, no matter what I tried there seem to be some form of electric hum recorded with my voice. This didn't seem to matter which headset I was using.

That said, these are a little heavy but very comfortable once they're on. Because they have very large over your head ear piece I was able to place them on my desk in such a way I could sort of wedge my head in between the earpieces. Push them into position and him lift my head off of the desk with my headphones roughly in place.

Unfortunately, the microphone is a little far away from my mouth for to work well with Dragon NaturallySpeaking. I find I have to raise my voice quite a bit in order for it comprehend and even then. It doesn't work all that well for voice recognition. The other reason I think why, is even though there is a noise canceling function on the microphone it does not have a piece of foam over the microphone. Consequently the records more of your breathing and other undesired noises.

If you are using it just for gaming however, the audio quality through the headset is exceptionally good and your teammates should hear you talking to problem. The driver software also comes with a bunch of other tweaks that you can play with to modulate your voice and have all sorts of fun effects. My three-year-old particularly enjoys it rerecord his voice and make him sound like a cartoon character or a Dragon. ;-)

Again, I had to discontinue usage of these because of my dexterity limitations and fighting with the wire. There are however the heaviest of all the headphones I used and because of this, the but the progressive atrophy I doubt that I would be able to use them now for any length of time

This microphone retails for about C$100.

Wireless headsets

To be fair, I did not initially purchased these for use with my PC. I found that when I was out for my IVIG treatments which would last several hours, I would like to music listen to. Dealing with wired headsets with tiny little earbuds was nearly impossible. So I went looking for a set of Bluetooth headphones and found these. I found a retail for around $80-$100 in store. However with a little bit of online shopping, I found a pair on sale from Amazon for about $50 Canadian. And I have to say, I'm very pleased with the purchase and use them very regularly.

Although doesn't look it, once they are on they are extremely comfortable. The way almost nothing and is very easy to forget where. The battery life is extremely good and last seven or more hours of continual usage. As a matter of fact I would routinely leave the house for my IVIG appointment at 7 o'clock in the morning, start the music. Hardly ever stop it and be back home somewhere between one and 2 PM with plenty of battery life to spare.

The audio quality is very good, they do have mild noise cancellation which helps promote the clarity of which are listening to. That however are not designed to block out the sound of the outside world. You can still hear what's going on quite well, but the music or whatever you listen to is extremely clear. This also applies to receiving phone calls.

The built-in microphone is okay. I've been told I sound a little bit like I'm talking into a beer can when using. But other than that the audio quality is acceptable for the listener. I have tried the microphone with Dragon NaturallySpeaking on my PC. Well good enough for conversation, Dragon has substantial difficulty in understanding what I'm saying. Microphone is too far from my mouth and there seems to be too much noise detected.

So if you're in the market should be able to wear a pair of headphones almost all day, making phone calls with it and listen to music. These are very good purchase. Just don't expect to use Dragon NaturallySpeaking…

Oh, sure. My disability makes it impossible for me to put on by myself. However once they are on, I can forget that they are there and use them almost normally as anyone else would. And although it has happened, I rarely have to ask for help to put them back.

One neat little feature I have set up at home, is my raspberry pi Siri proxy home automation system. What's great, is that wearing these headphones as I approach my house once my iPhone (jail broken) detects my wireless network, it turns on hands-free mode (opens the microphone on the headset) and listen for a keyword to activate. All I have to do is say the keyword, verbally command my door to open and it unlocked. Wearing the headphones improves the voice recognition of my Siri proxy as I don't have to go fishing for my iPhone.

All in all, for me this is worth the price of admission.

Logitech BH870 - Bluetooth

This headset is now hard most commonly use voice recognition with my PC. I found it on TigerDirect at a reduced price for about C$30. At the time down from about C$110. Quite the deal, so I thought it was worth a try.

They have since reduced the price to about C$35.

All in all, from a comprehension standpoint it works quite well. Almost as well as the PlayStation three I heard headset. I do however find using this headset, Dragon comprehension seems to be a little bit slower than it otherwise would be. But I find if I slow down my rate of speech, it manages reasonably well.

The headset does have a noise canceling function, but it does seem to be consistently transmitting some form of noise to my PC. The Dragon icon frequently shows that it's processing. Even when I'm not detecting any noise myself in the environment. I most certainly cannot use this headset while gaming or playing music.

Even with my dexterity limitations, I'm still able to get this ear piece on by myself. It is a little bit tricky, but I am able to do so. One of my pet peeves about your pieces of this nature is they tend to wiggle the mirror hanging from your ear. This drives me nuts. This particular headset is reasonably secure, but still have that annoying wiggle when I move. Because of this, it also tends to pick up a scratching noise from my beard. That said, because of my dexterity issues still I'm not very comfortable wearing this headset out of the house. I prefer the backbeat headphones. They feel much more secure to me.

One nice feature I like about them, is that I compare the headset to both the USB dongle it comes with for my PC and my iPhone at the same time. So for making phone calls, this is great…I recently found an unlimited usage phone plan for my iPhone. This is great, as my phone is much easier for me to manipulate a regular phone.

And because this your pieces intended to be used with the PC, it will naturally integrate itself with a soft phone such as Skype. I've used it for Skype a couple times now. The call quality has been very good.

It comes with a bunch of headset options Such as different earpieces and in over the headband. This is great if you could be using a prolonged periods of time or if you have a larger/smaller earlobe. He viewed a few options. The one silly thing I find about it is discharging unit. It is very tight to slide the earpiece in and out of the charger. I can still do it, but it's getting increasingly difficult.

The battery will last several hours.

So far this is among the best options I have found using voice recognition wirelessly on my PC.
This is a free app available from the iTunes App Store and I know that android offers a similar app.

This app is a very pleasant surprise. It works extremely well and comprehending your speech indicating the commands to your computer. I've tried it even just sitting it on my desktop and talking added. Not even having it that close to my mouth. Again the comprehension was exceptional. I would say, by far the best of anything I've tried. That said however, it is unlikely it would work nearly as well if there is music playing or if your gaming. I've not tried either of these situations as I don't expect it to work.

Dragon microphone connects to your PC through your Wi-Fi interface. Not Bluetooth. You don't need any additional dongle or Bluetooth functionality on your PC. Just your Wi-Fi enabled router. Set up was extremely simple. Simply create a profile… Start the app… And that's about it.Upgrading from my 3GS to my iPhone 5 was even easier. Simply had to install the app on my iPhone. No profile update or anything.

The only annoying feature I have found is that if you have the power save mode on your iPhone to turn the screen off. Then it also turns off the voice recording of the app. Making you have to press the home button and unlock the screen once again. This can be rather annoying… Especially with dexterity limitations.

That said, it's something that you can turn off when the iPhone's general settings. But once again, annoying.

Especially for the price, this is really good way to go and it could well fit better with some of your dexterity limitations that does mine. So if you are running Dragon dictation and are looking for a wireless microphone, iPhone or android this is definitely worth trying before investing any money.

Conclusions?

My preferences really depend on what I'm doing. Anything to do with my PC I use the Logitech hands-free headset. It works very well and is reasonably priced. But as I mentioned, I'm not very comfortable wearing it out of house.

For general usage with my iPhone, especially when I'm out the back beat 903+ headphones are by far my preferred choice. Excellent sound quality, extremely comfortable and works quite well with Siri, but not so hot with Dragon NaturallySpeaking…



Tuesday, 25 June 2013

Raspberry pie versus Desktop

I know, I'm a bit overdue for a post. One of the reasons being is that I decided to try running a raspberry pie for my Siri proxy and have been occupied playing with that. Initially, I was just going to use the desktop that was arranged for me my friend. A Siri proxy is a great use for an old machine, and the one that was given to me was a beast in its day, grossly overpowered for my needs.

As you saw in the previous post about setting up a home automation system, the setup was reasonably easy. It did however require that at first the Ubuntu machine has a keyboard mouse and monitor hooked up to it. Once this is all done, I could fairly easily use VNC to connect to it. From there I can use all my assistive technology to do the installation I need. But the initial setup was a bit cumbersome for this reason only. Without hands that works very well, the required manipulation of the keyboard and mouse was challenging. The other thing is that the old desktop, being is overpowered as it was generated a fair bit of heat and consequently had a number of fans and to keep cool. The machine was a bit noisy.

So, for a friends birthday we thought a raspberry pie would be a perfect gift for him and on a bit of an impulse (also some encouragement from my girlfriend) I decided to order one for myself as well knowing it could be used as a Siri proxy. After all, this is how siri proxy first came to my attention with Elvis impersonators raspberry pie garage door opener.

I did need to help to set up initial wiring and plugging the SD card. But once that was done, set up was actually far easier than with the desktop, and not just because I'd gone through the process previously. Out-of-the-box, once the pie is plugged in it boots up by itself (no power button) it is set up to network into it immediately. No need for a keyboard, mouse or even monitor. Simply use putty.exe to get started. The raspberry pie is dead quiet. There are no fans, nothing to make noise. As a matter of fact it requires only 5 V to run this the 700 MHz, credit card sized computer. Pretty impressive, especially for just US$40.

Want to give it a try? Here's what you'll need…

I am presently running my pie headless (without monitor or keyboard) and am going to assume you're wanting to use the same here.We ordered everything from www.adafruit.com Here's the minimum parts that you will need to get started:
  • A raspberry pi model B. US$40
  • 5 V power adapter a micro USB cable. US$10
  • SD card for Raspberry Pi preinstalled with Raspbian Wheezy US$15
  • network cable.
And that's it! You can get a raspberry pi, Siri proxy server up and running for about US$65. I would however recommend also purchasing a case for it, it's always a good idea to protect and exposed circuit board. You can buy one for as little as US$10

I based this list on the starter pack listed on their website. I figured it was a good safe place to get a list of everything I would need. The starter pack includes a whole bunch of stuff for wiring and doing custom electronics, nothing I would need. Just for fun I also added a very small 4.3 inch TV monitor for an additional US$50, which I have yet to hook up. But my friend got one as well and he loves little thing.

Setting up your pi…

I chose to purchase the preinstalled SD card for pure simplicity reasons, it was only a little bit more expensive and I figured doing so would save many headaches of trying to manipulate the card between my desktop and the pie. My dexterity can't handle it anymore. This way I was sure of the install that would work right from the get go.
  1. Plug everything in (Duh). Make sure the SD card is properly seated, you have power and network. When the pi is booted (should take only a few seconds) you should be rewarded with several LED lights. Red yellow and green. If you are greeted with a solid read only, your SD card is probably not well placed. This happened to us. Unplugged the pie, reseat the card and try again.
  2. Find your pie on your network. In order to be able to connect to it remotely, you need the pi's IP address. You can find this fairly easily through most newer routers or you can using IP scanner.
    These are excellent instructions for your first time login using SSH
    Raspberry Pi SSH Login without Monitor
  3. Through SSH login, enter this command:
    sudo raspi-config 
    then follow this first time set up guide
    As mentioned, out of the box you should be able to network into your pi using SSH. However there are a couple things you will want to make sure you do:
    1. use your whole SD card
    2. check for updates
    3. check the boot behavior is set to desktop
    4. optionally change the default password for user pi (I believe the default password was…: pi) keep in mind, Linux-based systems such as the raspberry pie are case sensitive particularly important for remembering your passwords ;-)
  4. Now to install and set up VNC
    1. these are the instructions I used, but a very good step-by-step guide here: http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/overview
    2. Personally I followed these instructions:
      http://myraspberrypiexperience.blogspot.ca/p/setting-up-vnc.html 
      once VNC is installed, you will no doubt wanted to start on boot. These instructions will walk you through the process
      http://myraspberrypiexperience.blogspot.ca/2012/08/start-vnc-automatically.html
    be sure to specify which desktop
    you want to connect to
  5. reboot your pi (type reboot ) and reconnect using VNC
    start VNC viewer on your desktop, enter the IP address of your raspberry pie followed by :1
    the reason you want to do this is that you are specifying which desktop to connect to. You can run multiple desktops.
And there you have it. Your pie should now be up and running with a VNC connection.

One thing I should point out about VNC is while it's a great and convenient way to access your pi it does have a few limitations. You can use the accessibility tools from your Windows environment, for example I can use DragonDictate to send text and controls directly to the pi. However I cannot copy paste from my desktop through VNC onto pi, which can be a bit inconvenient (possibly because I'm using the free version).

Another reason why VNC is Uber cool
I can connect to my pi from my iPad or iPhone!
Installing Siri proxy on your pi

The best, and probably easiest way would be to follow Elvis impersonator's instructions. I installed mine through SSH, one command at a time. This step is a little bit more complicated as you will have to take out the commands from the text file one by one. Nonetheless, it's pretty straightforward and you will find the complete list of instructions here:
Optionally you can set up your raspberry pi to start Siri proxy on boot. Once again, just follow Elvis impersonator's instructions:
Personally I've not set my Siri proxy of to start on boot. I kind of like having the terminal window showing me the output so I can occasionally check up with what's going on. If you if you choose to start your Siri proxies this way,  you will have to do it at the desktop level. Connected using VNC and run root terminal. In my case, for some reason it does not remember the path to the install, I simply have to rerun the following three commands in the root terminal to start the server.
  • [[ -s "/etc/profile.d/rvm.sh" ]] && . "/etc/profile.d/rvm.sh"
  • echo '[[ -s "/etc/profile.d/rvm.sh" ]] && . "/etc/profile.d/rvm.sh" # Load RVM function' >> ~/.bash_profile
  • siriproxy server

Modifying the example plug-in

about to go through the details of how to go about modifying or creating your own plug-ins. I believe that is a project for you to figure ;-). However, I did create a little auto hotkey script which will make the process somewhat easier.

My goal was to allow myself to use my Windows environment to use the actual modifications to the example plug-in script. Doing so would give me full access to my voice control,and other accessibility features. Not to mention a nice editor. You can download my autohotkey script here:
This script is just a convenient way to send a final from my Windows desktop to a raspberry. In order for to work you will need to have pscp.exe installed which of to download from the same place you  downloaded PUTTY 


  1. In the first box, this is where you want to send a file. Specify as root user. type in the full path.
  2. The second box is the file that you want to copy to the raspberry pie. Press the select button, go find your file.
  3. in the final box use the select button to specify where you downloaded pscp.exe
  4. modify your source file, save it then press send it. This will copy the file onto your pie.
I created this only has one way send to pi because I don't expect have to copy files back from my pie , very often, if at all.

Conclusion

This should be enough of the pieces to get to well on your way. Goal here wasn't easy tutorial but more to show you where to find hold the parts. I'm finding it surprisingly easy to work with the pie in this manner. So if your voice is still strong in your house I need/use for Siri proxy, a raspberry pie is a relatively inexpensive, not overly complicated and very effective way to get it set up.

Wednesday, 17 April 2013

Siri proxy & Home Automation

Well crap.
That was only a matter of time…
If you been following my blog for some time, will no doubt noticed that this is not my first attempt to create some voice control for my home automation system. However at the time of my previous attempts, I was not aware of the Siri proxy, which is pretty awesome once you get working.

I first became aware of Siri proxy being used to drive home automation system while reading one of my favorite websites, life hacker. The article talked about Elvis impersonator who it created a plug-in to open and close his garage door and set the thermostat. Needless to say I found this to be pretty amazing, and far superior to anything I've attempted so far. So I went about looking into how to get this set up.

I've been wrestling with this for some time. First off, I didn't know anything about Ubuntu nor what would be the best way to install it. Particularly because of my dexterity limitations. Anyway, check out the results!

I have to say, I'm really quite pleased with the results. It was well worth the effort.

So what was required to get this up and running?

As mentioned, I had to first figure out how to work with Ubuntu and what was the best way to install it. For the time being, I'm running a bootable partition on my desktop PC. I am going to try to get a old PC/laptop running it 24/7. I also tried running it through virtual box. While the installation went smoothly, I had some difficulties getting Siri proxy up and running.

The and to create the functions for turning the light on/off or locking/unlocking the door, I had to figure out a little bit of Ruby script. Fortunately, modifying the sample plug-in is pretty straightforward and it's very easy to insert console commands to it, and fortunately I had already figured these commands out from my previous attempts…

If you would like to give it a try, here's the links to all of the resources you will need:
Even though Siri proxy is working super well for me, they do say that it is in an alpha state development now. Meaning it does have occasional issues and going through the proxy server, some of the voice commands or functions may not be quite the same/functional.

For example the open app command still does work for any of the non-default applications. However it seems to not recognize programs like contacts or music. This also means that when asking to play a particular song or album e.g. "Siri, play album X" the proxy does not recognize this. Saying I do not have that album or artist.

All in all, swapping one level of convenience for another. Not too big of a deal. Easily reverted by resetting your Wi-Fi IP.


So what's next? Well I've ordered a few more light nodes and those of the most immediately useful to me. I would also like to add some thermostat control, however my house is kind of badly designed for that, making it cost prohibitive. (I have a number of baseboards on independent thermostats in the same room… Stupid)

Troubleshooting:
If encounter a few issues about trying to get Siri proxy up and running, try the following:
  1. I found that the DNSMASQ may be interfering. You can try killing it with terminal command: killall dnsmasq
  2. If your server IP is showing 0.0.0.0 open .siriproxy/config.yml and set the IP which should be in the first or second line of the file to whatever the IP is for your machine
  3. Apparently there has been some issues with Siri proxy and Ruby DNSnot playing nice together…
    • Edit line 56 in /home/<username>/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.3/lib/siriproxy/dns.rb to look like the following: match(/guzzoni.apple.com/, Resolv::DNS::Resource::IN::A) do |transaction|
    • Then perform siriproxy bundle
  4. iPhones are known to "leak" data over the cellular network even when connected to Wi-Fi. Try turning off cellular data.
I performed these three steps, and Siri proxy consistently runs perfectly. Thanks to Elvis Impersonator for most of these tips!

Woo hoo!
It's apparently also possible to connect an IR blaster to my home automation system. This would then give me voice control over my TV, air conditioner and other IR devices (awesome!). This is up from more investigation…

Also in the process of trying to find a machine I can use for dedicated Siri proxy server. Raspberry_pi is an option, and you can find more about those on Elvis impersonator's page. I have to look into it a bit ourselves first to see if it's the best option for me.

One of my favorite things about the Siri proxy server is, as you see in the video I can unlock my door just by using my voice. As I walk up to my house, I reconnect to my Wi-Fi and the Siri proxy server, all I have to do is tell the door to unlock. Which is really great for me as I can no longer manage keys.

So all in all I found getting this up and running was challenging, but well worth the efforts.


I would just like to take a second and give a shout out to Elvis Impersonator who contacted me out of the blue with a generous offer for help and advice. Be sure to check out his YouTube page and some of the other magic that can be done with Siri proxy and a Raspberry_pi!



Additional Note (added 29th of July 2013)

be sure to check out the related blogs comparing the desktop installation to using a raspberry pi
http://pikespals.blogspot.ca/2013/06/raspberry-pie-versus-desktop.html