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 solutions. Show all posts
Showing posts with label solutions. Show all posts

Tuesday, 27 January 2015

Accessing the Power of Autohotkey through Voxcommando


Back when I first mentioned voxcommando, I talked about how it can be used with autohotkey, but didn't provide an example. Honestly, I wasn't quite Happy with it for me to put public and I wanted to solve an example to do with pushing buttons in dialogue boxes. Now that I have it figured out… Here it is! :-)

Autohotkey and voxcommando example.zip

Yes, I know Python is integrated into voxcommando as a plug-in. So please don't jump on me for not using it. I chose to use autohotkey for two very specific reasons. First off, autohotkey is intended to emulated mouse and keyboard input. Which is exactly what I needed to achieve. In particular we need access to the Windows key button. Which I'm not sure can be easily achieved through Python. This is native and integral to autohotkey.


Secondly, which is a bit more off and aside. Autohotkey provides a hotstring and hotkey override/functionality. Which is particularly useful with a disability such as ALS. Because of this, I had developed a previous understanding of autohotkey.

Okay, about the example. Its core functionality is really quite simple. I create a command inside voxcommando, which is then used to execute a autohotkey scripts which passes in a command line parameter, such as "showdesktop". The command line parameter is then parsed out and the relevant bit of script is executed. Which in this case is to press Windows key and D (or in autohotkey language Send #{d} ).

In the example script, you will find examples for the snapping a window to the left, right and the four corners of your screen. Force rebooting your computer (don't worry it asks for confirmation first.) And how you can use autohotkey to pushing buttons in dialog boxes.(Eventually, I may expand it to do more. Right now it does just buttons)

I am told user account controls no longer
provides much benefit. Make it less annoying by
shutting it off
The dialogue box and button example was something I really wanted to get working. It provided more headache than expected, which is what caused the delay in publishing this article. However, the difficulty was not in the autohotkey script itself, nor voxcommando. Both of those worked beautifully. The issue was in finding a way around the user account controls provided by Windows. This was blocking the  autohotkey script to push the buttons. I tried numerous solutions and workarounds. The most successful support program was something called "UAC trust shortcut". While this worked, the functionality was erratic. Sometimes it would work, sometimes it would not. Could not figure out why. I found the best solution was to simply turn off the user account controls altogether.

What's that you say? It's a security feature? Yes it is. However, I discussed at length some of my computer programmer friends (who have much bigger brains than my own) that the security provided by user account controls is somewhat outdated and offer little benefit anymore. So would their assurances, I have turned mine off. (Don't worry. There is nothing compiled in the zip file. You can examine all the autohotkey scripts before using them).

Okay, I can get you thinking, "why is this a problem?" Well, in order for autohotkey to be able to send button commands to another dialog box. That Script needs to be run as an administrator, then the upgraded to do so, he has to come from another script.

Dont forget, if you want to give this script a try you need to install autohotkey from http://ahkscript.org/ other versions will likely not work.

Because autohotkey and voxcommando play so very well toghther, each get a thumbs up!

Monday, 21 July 2014

Another tweak for the Griffin Beacon

I've talked about Griffin Beacon before. It's a great way to control your to television and PVR from your iPhone or android device. But as we discussed it does have a few issues. We talked about a result the battery consumption issue but the one remaining pains in the butt is that the device will go to sleep if it is been without Bluetooth communication to your device for over an hour.

So if you come back from having left the house safer groceries and doctors appointment or something. The device is off and there's no way to wake it up without touching it. And sometimes, my helper leaves before I realized the place has been turned off. Needless to say, without the function of your arms or a stable ability to walk this is a problem.

So it occurred to me that after the move I had an extra controller for my Vera home automation which was no longer being used. So I thought, why not plug my hacked Griffin Beacon into the control switch? This way, using my iPhone I simply have to cycle the power to the beginning. When the power comes back on, the BK wakes up in searches for my phone. Automatically connecting.

BOOM! Problem solved.

The downside to this is that the typical Vera visual switch runs about $40-$50. So it might not be the best solution to run out and buy one. But in my case, it was no longer being used so this worked out perfectly :-)

Sadly however, it would seem the grifin beacon has been discontinued.

Tuesday, 6 May 2014

That's One Fine Coat

One of the ongoing problems I've been continually trying to address is that of comfort. With the extension of atrophy in my arms, which are essentially skin and bones these days. I'm finding that propping my elbows on pretty much anything can get rather uncomfortable rather quickly. Including my wheelchair.

I looked up all sorts of elbow pad options in the past, these tend to be rather tight fitting around the arm making them happy and not terribly comfortable to wear. Not to mention hot. The gel filled elbow pads were particularly bad for heat. Not to mention they were rather heavy. I will admit, they worked rather well.

Velcro insert pockets
on the elbows!
The other day while rotating around the Internet doing some window shopping for a light coat to replace the one I have I stumbled across the tac.u Coat from propper. It's basically a military style field jacket. But what is interesting about it is it has Velcro insert pockets on the elbows. Allowing you to insert elbow pads, or in my case a thin sheet of high density foam. The foam is very lightweight and being only half an inch thick makes it rather flexible. This is just enough padding to add an extra layer of comfort and take the sharp edges off of whatever I'm putting my elbow on.

The jacket is available in all sorts of other military colors/camouflage and is quite reasonably priced at US$40. Myself I chose the black one, but I do have to admit. The subdued urban camo is pretty cool.They are easy enough to find on Amazon.com, eBay and various tactical websites. I ordered mine from ACU.com which seem to offer the best shipping rate Canada.

On a side note, one of the fun things about the Coat is and has all sorts of Velcro patches on the shoulders which are intended for military badges and insignia. However, we've taken a bunch of Velcro tape and stuck it to some fun things/toys from my Four year old boy to Stick to me. Including the back of my iPhone. He finds it rather hilarious to watch YouTube while it stuck to my shoulder.

As limiting as I am in the way I can interact with him, got to find ways to be creative. And this that means looking a little silly, so be it! ;-)

All in all, so far I quite like the jacket. I should point out however the slaves are quite baggy. I ordered a large, which usually works out quite well for me. However in this case it turned out to be rather loosefitting around the chest. I probably could've done with the medium. But it does make for very good spring jacket.


I would also like to just take a second to send a big thank you to Albert Wojciechowski for his contribution to this site :-)

Wednesday, 29 January 2014

Milwaukee battery powered heated jacket.

Jacket heating zones
Back in the fall, my father had his birthday and he's a bit of a wimp with the cold. So we thought that would make a cool gift to try to buy him the Milwaukee battery-powered heated jacket. Especially now that he will be spending more time Montréal and it's a lovely winter climate.

As winter arrives, he loaned it to me to try out for a few weeks as he was going to be away and I needed to go collect my son from daycare in my wheelchair (with the help of an assistant).

Winter has posed to serious issues for me, And sometimes you absolutely need to leave the house to attend appointments or whatever.A

First off is due to the amount of muscular atrophy, I don't have as much muscle mass to keep one. This my core body temperature is at risk of dropping much more quickly.

It would seem winter is getting a bit out of hand here in Montréal
Secondly, and is apparently a fairly common issue for people with ALS is the cold can really exaggerate muscular spasticity. I have found that on occasion, being outside at -15 or less (And this year we've had cold snaps down to -40 before Wind chill!). Even for a very short duration, say transiting the distance from house to car of around 40 or 50 feet can be enough to trigger a rather serious reaction. To give you some idea, on Christmas Day we visited my wife's parents place for dinner. When they left the house around midnight, I had to walk a very short distance to get to our warm vehicle. By the time I made it from the door to my vehicle, the muscles in my jaw tightened to the point that I could no longer hold my mouth. I had to talk soon my teeth. And my legs were stiffening up to that point I could barely walk.

The most annoying about this, is my body starts reacting this way and as though I have hypothermia. But I don't feel cold at all… Once everything warms up, I'm okay.

The jacket works as advertised and has three heating modes. When set for high, the heating zones actually do get quite warm (but comfortably so) for a duration of up to 4 hours. But I'm finding consistently of the less, closer to three.

The jacket is not constructed as a winter jacket. I would say more of a spring or autumn jacket men's for the person that works who is someone physically active in the cold, humid environment. The biggest issue I found using it as a winter jacket is it did not have a sufficiently good windbreaker. Once we got down to about -10°C, the call would go right through the arms and the non-heated areas. He really does require a shell.

Flame on!
We tried removing the lining for my present winter jacket (shell) and using this jacket in its place. While that works quite well, between the weight of this jacket and my winter shell. I found it to be quite heavy, and I was unable to move my arms, and as you know, my arms are suffering from significant atrophy. But with the shell on, want wise it was much more comfortable.

The temperature was controlled by the power button located on the left lapel. We push and hold for 4 seconds to power on, and when ready to go it lights up. Due to the placement of the button, and the difficulty of pushing it, I am unable to actuate it myself. I require assistance. But those light up quite bright, and my four-year-old finds that be pretty cool. :-)

The jacket, complete with the charging unit and one battery retails for about C$200 at Home Depot. I find this to be quite well priced in the jacket is very well made. But unfortunately, because it didn't need to use my shell over top of it I can't justify going to buy one for myself. It doesn't quite suit my needs, as matter of fact it complicates things a bit.

That being said, they do have a hooded jogging suit version which is much lighter and retails for C$150. I think this might suit my needs much better, It should be sufficiently Lite that would fit well in my existing winter jacket with the liner. It should not add as much weight or inflexibility. I plan on trying this out.



Wednesday, 16 October 2013

Old IPhone, New Life As Dedicated Dragon Mic

Back in July, I did a post about various microphones for use with Dragon naturally speaking. Some working better than others. The one microphone, that has always impressed me for its ability to comprehend what I'm saying but has been terribly convenient was the dragon microphone app for iPhone. The reason I found it not terribly convenient was because my screen lock would time out and locked my iPhone. Shutting down the microphone, often in midsentence.

Yes, I could easily go into the settings and change the timeout time. But the pain in the butt is that I
would have to do this every single time. Not to mention, I would have to remember to set it when I'm done. Not terribly convenient.

Then, for some reason the other day it dawned on me that I had by old iPhone 3GS sitting around doing nothing. So I decided to install the Dragon microphone app, and plug it into my PC to give constant power (not that it really needs this as the battery is still good) then I changed the lock screen timeout to "never".

This is working out really quite well. As a matter of fact, I'm using it at the moment and the recognition is near 100% simply sitting on my desk nowhere near my mouth and I'm speaking at a regular volume.

The only downside I have encountered so far is that I can no longer use the on-screen microphone button nor the keyboard on my PC to toggle the microphone on or off. I have to touch the iPhone. It does however respond very well to the "go sleep" and "wake up" commands. Unfortunately however, the Dragon Does not allow you to use your iPhone as a regular mic to your PC. Only interfaces with Dragon NaturallySpeaking. Which is fine for me!

All in all, this is a great way to recover some use of the old technology. It was destined to be a toy for my three-year-old (cracked screening and all) or be recycled as it now has no resale value. This way I can use it just about every day when I'm in front of the computer, greatly extending its life and utility for me.

Don't have an old iPhone? All that you can find one which is off plan for cheap on craigslist, kijiji or the like ;-)

Wednesday, 11 September 2013

Oh Just Kilt Me Already!

That's right, I've decided to start wearing a kilt around the house. But before we get into talking about that, we need to make one thing clear first…
 

Okay, now that we've established the rules. Kilts are not dresses or skirts and exceptionally manly… Why am I wearing one? (As matter of fact I'm wearing it right now)

Kilts, in the traditional sense are supposed to be worn "commando", and although they are quite comfortable worn in this manner and provide good "air conditioning" its not exactly why I'm wearing one. Due to the illness, and the restricted movements of my arms I started finding it very difficult to go to the washroom on my own. Getting my pants and underwear off was not that big deal (it has become more challenging), but afterwards it's become nearly impossible to put them back on. For months, I would have to shuffle into my room in various states of disrobe, lie down on my bed and perform all sorts of gymnastics to get my pants & underwear back up. Then of course came the chore of doing them back up.

trying it on, fresh out-of-the-box
Of course, if you see my previous post about my status you will no doubt have noticed that I rate the function of my hands and arms in around 15% right now. Because of this, and the fact that I spend large portions of the day on my own, I needed to find a solution that provided a better "access" to prevent "accidents". So far the kilts solution is working out reasonably well. Much easier than dealing with pants and underwear. But the key to this is of course wearing them "commando". It's also for this reason, I wear them around the house only, kind of like pajamas. They are not intended to leave the house.

Sorry folks, a little bit more in the graphic details in this paragraph… Going to the washroom now is much easier. Especially to go pee. Because of the dexterity problems I do have to sit to urinate, this eliminates "accuracy problems". The kilt is very easy to keep out of the way when sitting. However, when I have to "drop the kids off at the pool" its a bit more challenging to make sure the kilt is out of the way. But with a little bit of effort, it is much more manageable then dealing with pants and underwear afterwards. So far I've not had any "misses".

So where do I get mine? I'm wearing a deluxe utility kilt purchased from http://www.utkilts.com/. Not the traditional wool type. A traditional wool kilts would be far too heavy and unmanageable (I used to have one for Halloween costume). The utility kilt is great and has some really cool cargo pockets on either side. There are surprisingly accessible and very easy for me to keep my cell phone in. They come in a variety of designs and colors and are fairly reasonably priced.

Before finding this website, I actually ordered mine from eBay from this company. Consequently I ended up paying a little more than I otherwise would have. If you order directly from http://www.utkilts.com/ it works out to be a little less expensive, saving you about $15. The kilts are shipped by the pound, with a minimum shipping cost of about $30. But adding more than one kills only adds about six dollars to the shipping cost, so if you are serious about wearing a kilt ordering more than one might be in your interest. As a matter of fact as soon as their stock is back in, I am going to be ordering two more deluxe utility kilts.

You can also check out http://www.utilikilts.com/ for more options. These people look to provide very good quality and I believe have been in business longer. They are however significantly more expensive. Don't be confused by the second, they're not the same company as http://www.utkilts.com/ 

Pros:
  • very comfortable
  • price for the kilts is reasonable. Ranging from $50-$80 depending on the design you choose
  • makes "access" for nature's call much easier for me


Cons:
  • you will no doubt have to deal with the jokes of it being a skirt. If this is a real problem I recommend the following kilted T-shirt as well
  • can obviously be a little cold in the winter
  • unfortunately shipping costs are little high here in Canada
  • the fabric is a little bit stiff, even after the first wash. Making him a little bit hard to sit down comfortably and not on a wad of folded fabric
  • pay extra attention to the sizing instructions! This is critical. They are not in size like regular pants
Conclusions:
very happy with the product, find them reasonably priced and work well as adapted clothing. I am buying more :-)

Thursday, 7 March 2013

My New Spoon

It's been an ongoing project for me for a long time now to figure out better ways of getting food from my plate into my face hole. Fortunately, chewing and swallowing it is not a problem for me yet. But getting the food there often is.

This is where caused many explorations into more accessible plates and utensils. Some of which work better than others. Some of which only work for a period of time. I've gone through lots of different cutlery by now and what is commonly accessible to the disabled doesn't really seem to be suiting my correct at this point in time. They seem to be either too large, unbalanced or otherwise unwieldy…

the people at my rehab facility had said they'd never seen
or thought of a design like this
So I've created my own adaptation to a spoon. Check it out:

This spoon is a fairly typical handy accessible spoon which was provided to me by my rehabilitation facility. You can't see it very well and the image that it does have a curve to the left, intended for a right-handed user. Making it easier to get the food in your mouth.

We've modified it by sending down the thickness of the handle quite substantially and by adding the two rings that you can see in the picture. These two rings are simply riveted in place a little loosely allowing me to position them for best alignment to my fingers. We've also added a little soft tape on the inside to just help with spacing. This is a prototype and we are still working out some of the details like where exactly to place the rings. That said, this spoon seems work the best for me at this point in time.

say hello to my new spoon
The rings are something you would find in any hardware store. I believe that intended to hold small pipes in place during construction these modifications were made for me by my rehabilitation facility.Over my next few visits to my rehabilitation facility, we will make a few tweaks to this prototype. But I think it will stay pretty much like this. Right now the rings need to be repositioned a little bit and possibly a little bit of a groove to better hold my index finger in place. But other than that, this is working fairly well.

As for other cutlery, the next step is to see how well this works for a fork. Knives are out of the question for me. I require both hands to maintain the spoon study and get into my face.

On a side note, having a disability friendly plate helps immensely. One with a raised edge helps to push the food onto your fork or spoon. I wouldn't say it's required, but it does help prevent the food on your plate for making a break for it.

And, just for some fun. You can see the whole "Rejected" video here: Rejected

Stupid, yes. Funny, even more so ;-)

Wednesday, 27 February 2013

A First Prototype…


One of the unfortunate side effects of dealing with ALS is having to deal with the progressive loss of balance. Usually resulting in the unexpected face plant. In my particular case, my balance is still pretty good but I am prone to falling from time to time and as most of my losses in my hands and arms. I am unable to properly protect myself in a fall. And once down, getting up is starting to become rather difficult. I have had a few occasions were fallen and required help to get back on my feet.

Nevermind the subject of risking more serious injury…

So this got me thinking. What happens when I'm by myself and I fall somewhere in the house and I'm unable to get up? How do I call for help?

Well, there are for sure services like the life alert bracelets and the "help by fallen and I can't get up" panic button.

This got me thinking, sure I could sign up for one of the services. But I already have a smart phone which I use quite regularly for my home automation systems and my television remote control. Not to mention it has a Siri voice recognition, which is one of the reasons why I bought it. So do I really need the life link service? Other than the built-in fall detection, my iPhone will cover my needs. Thus the question becomes, how do I keep up with my all a time? With nonfunctioning hands, I need to keep it attached to my person while remaining accessible. Not to mention, anything attached to my belt, one involving a clip to dock the iPhone are pretty much out of the question. I don't have the range of motion to access my belt, nor the dexterity to unsnap the phone from a clip.

Now, I bought my grab it pack because it had the thigh pocket for the cell phone for just these reasons when I'm out of the house. But it's not quite as practical to wear all day while I'm home. Consequently I started thinking about something similar to a fighter pilots G suit. Below is an image on the right that this pilot is flight information strapped to her thighs. I realized that this is actually a pretty safe place to carry my iPhone. Should I fall, it'll remain accessible and it is very unlikely that on the top of my thigh my iPhone will receive a direct impact. And I know from experience with my grab it pack  that Siri will work just fine at this distance (assuming there's not too much ambient noise, but that's the same anywhere)

How could I do this with my smart phone? What could I adapt?

It turns out that Belkin has an armband product to hold iPhones for when you go to the gym. It is quite secure and will allow you to use the touchscreen through a plastic cover. It is however sized for an arm and not a thigh… Just a bit of a size difference, even with atrophy. Nonetheless, this is pretty close to what I'm looking for and reasonably easy to adapt. It was also reasonably inexpensive, around C$25. It will definitely work as a first prototype.


So with the help of my re-adaptation facility, we went about extending the length of the armband strap so it would fit my thigh. We replace the Velcro with a one-inch snapdragon buckles make it easier for me to remove, and less fidgety than messing with Velcro, i.e. Once I set the size, I don't have to adjust it every time. We also added a vertical loop so I can attach it to my belt or might grab it back if I so choose. The vertical strap is essential to prevent the armband from sliding down my leg. Don't want it to be to type all the time…

I know, looks a bit dorky
This is what we came up with...


I realize that this looks a bit dorky. But the fact of the matter is these days I have to focus on function over fashion and if it gives me a degree of ease of access and safety within my own home… So be it. Dorky.

Now, this works reasonably well. But not perfectly. First of all, in order for the iPhone to fit within the Belkin case it has to be removed from any other case. E.g. the iPhone has to be "naked" to fit properly. Also is an extremely tight fit making it nearly impossible for me to insert or remove the iPhone to the Belkin case myself.

The plastic cover over the screen does work and allows me to use the screens touch functions. However it is not completely flush to the screen, removing some of its sensitivity. It is also a little bit tricky to properly access the home button. But not impossible.

Finally, the strap from the hold and position from my belt is essential. That said, options of where to attach it to the Belkin case were very limited and the only place it could be attached without compromising the accessibility of the iPhone in the case causes a slight rotation of the case when it's attached to my leg making it just a bit uncomfortable. What do you expect, first prototype ;-)

I really should mention that I am actively considering getting one of those life alert devices and it does have some significant benefits that should not be overlooked. One of the reasons why I'm looking into this is that my needs are not quite there yet and I really do want to minimize the amount of devices and things I have to drag around with me. I'm looking at the phone as a viable option because I carry it all over the place. I use it to control my TV and my home automation system. And of course, Siri for communications.

Wednesday, 13 February 2013

Voice Banking with Model Talker


Although that I'm not showing any definitive changes to my voice at the moment (that I cannot attribute to paranoia anyway) and knowing the progression of ALS, I decided that it would be wise to create a voice bank so that when that unfortunate day does come.  I'll still be able to communicate using speech to text technology and it will sound somewhat like me.

Creating a voice bank is best done when your voice is still clear and strong. Definitely something that should be done before symptoms start affecting your speech patterns. Reason being is any speech impediment you may develop from ALS will consequently be recorded in the voice bank. Not to mention that the recording process is actually quite long. It can take quite a significant amount of time and effort to get done properly. And even not showing symptoms, it was at times quite fatiguing.

I used a software called model talker which required me to record about 1600 phrases. Most of the phrases were quite simple, with many references to the Wizard of Oz. There were however some reasonably challenging tongue twisters. This software then takes all the phonemes and uses them to create a text to speech file. This file can then be used within the Windows text-to-speech systems or (so I'm told) used with other hardware such as Dyna Vox.

say hello to my little voice bank
Model talker is presently in beta phase. So you can expect the possibility of some instabilities at times. Personally I did not counter many of these. The issues I did have had to do with setting up the recording in my own environment. For some reason any microphone I tried on my home computer was also recording a white noise or hum. After trying multiple microphones I could not isolate the cause. Best I can figure is this EMF field somewhere in my house, or noise from the power bar which is disrupting my audio recording (for example, check this video. The noise in my recording was not quite so pronounced enough to disrupt the quality of the recording). This is not something I could blame on model talker. I ended up having to record my voice and my rehabilitation facility. It was a bit inconvenient to go there so frequently, but I felt it was a necessity to create the voice bank. Recording their went quite smoothly.

The people at model talker were extremely helpful and responsive. Whenever there was a problem on the initial calibrations they would get back to me very quickly. Also once I submitted the final files, I was expecting it to take up two weeks to get back. They had my full voice bank ready for download by the next afternoon.

On a side note, if you need to make a recording of your synthesized voice as I did for this blog and you're using speech recognition for dictation… Be sure to turn off the microphone for speech recognition. I forgot to do so the first time and the speech recognition was actually dictating from my synthesized voice… LOL!
This download included two versions of playback software which could be used in addition to the Windows text-to-speech functionalities. So far, my best results seem to have been from using model talker 2. I was a little dissatisfied with the initial playbacks and found my voice didn't sound enough like me to make the effort worthwhile. In particular there seemed to be too much of a gurgle. However after tweaking some of the settings (unfortunately model talker 2 didn't include any documentation for this) I found that setting the phonetic target cost down to about 20 made for a significant improvement in the gurgling issue. I'll probably be able to improve on it further once I figure out more about the other settings.

Here, listen for yourself ;-)
can you hear me now?

However, being beta I did have some difficulties in recording the samples. The record option fails and changes to the synthesis settings do not seem to be retained between executions. That being said, it is presently free for you to create your own voice bank.








Wednesday, 9 January 2013

Home Automation, the 3rd Attempt

Introducing the "Jarvis Mod"

Wow. The Christmas holiday season can really get in the way of any plans you have for personal projects. I actually had the autohotkey script done at in early December, but all the obligations for this season and having the family around really slowed me down. Not that I am about that quickly anyway ;-)

Now I'm back to it. Introducing, the Jarvis mod for your Vera home automation system. But first a little back story.

We've talked before about how I'm starting to rely more and more on voice control for my computer. But that doesn't really help me out for the rest of my environment, so I started wondering if there was a way I could use voice to have some control over my environment. Ideally with minimal cost and using tools that are ready have.

The particular problem I was hoping to address was to be able to run my home automation system through my iPhone using Siri. I mean really, who would not want to be able to walk into their house speak a few instructions and have your environment respond to you in a similar way to what you see on Star Trek the next generation, or Jarvis (hence the name) from the movie Ironman.
Well, it turns out that there is!

Obviously, it's not going to be anywhere near as powerful as what you see in Star Trek or Ironman. However I can use Siri's existing functionality to send a message to my Vera Zwave home automation system. This is by definition a hack as it does use some digital duct tape and bailing wire to get this to work. But for my needs, it works very well. Check it out…
So how did I get this to work? As you can see from the video, I use the Siri to send a message to my computer via (a secret) e-mail. Microsoft outlook receives the mail, recognizes it and fires a rule to create a text file in a specific directory containing the contents of the e-mail. There is an auto hotkey script running on my PC which waits for this text file, parses its contents and then sends the appropriate notifications to my Z wave system.

It's probably easiest to visualize in the following chart.
The Jarvis script is at its core very simple. It is a simple text parser which reads the text for key phrases such as: "turn on the family room light". It doesn't use any fancy heuristic to figure out the meaning of the sentence. It simply looks for keywords in a sentence. In this case those words would would be "light", "on" and "family room". It doesn't care about the order, just their presence. I can however send multiple instructions via one e-mail using Siri. Each sentence is interpreted as one instruction. So I can have several sentences to fire several different devices. The script looks for the "." As a separator between instructions.

It is very easy to add more commands. Commands presently are:

  • turn on/off the basement/living room light
  • lock/unlock the door
  • run scene <scene name>

Now obviously this is going to reason some security questions. As I for sure do not want some stranger firing an e-mail to my house and operating my devices. So I do have some security protocols built in. Outlook requires the message to be from a certain e-mail which will remain secret ;-) it is also easy enough to integrate a password requirement into the autohotkey  Script. This will be a simple day password (not yet implemented) where if it is absent from the script, Jarvis will not operate. It is also very easy to detect multiple, repeated attempts.

Also, I only activate my Jarvis script when I expect to need it.

Some might also ask why I chose to use autohotkey  n this way as opposed to simply firing the instructions via Outlook. While this is possible to do via the integrated VBScript in Outlook I would have to duplicate the same code into the Microsoft speech macros to get the same functionality. I.e. doubling my maintenance requirements. Any change to one would have to be made to both. In This Way, Outlook and the speech macros simply messengers. Any changes, modifications or updates are simply done in the Jarvis script only. Also by using autohotkey  it is very easy to add additional functionality to interface with any other system running on my computer. For example it would be easy enough to add commands to start iTunes and play music over my airplay system.

Unfortunately however, this Jarvis mod has been written to operate with my z wave system and PC set up. This means that unfortunately it will not be immediately portable into your environment. My intention here was to share the methods and show that it can be done. That said I will be including the text file with some additional instructions on how to do so. You will however require a basic autohotkey knowledge to know where to make the appropriate changes to your script.

Okay, I'll admit it… I just
wanted to use this picture ;-)
You can grab the Jarvis files here: the Z wave Jarvis Mod however the Windows speech macros are not yet included. Functionally, they will be nearly identical to the VBScript for Outlook.

(Update: as of 14/1/2013 speech macros are included and functional)

I will be working on a tutorial on how to properly set this up in improving the provided instructions.

So I think it's safe to say that the myth you can't extend Siri functionality or improve on your voice control functionality is pretty much busted ;-)That being said, I really should point out will once again that this script is more of a first functional prototype or a proof of concept rather than a final product. And by definition, is not really modifying the function of Siri or any of the other systems, but extending the functionality by tying them together through another script… By definition to me, this is a hack ;-) I will be periodically updating or reworking the script.

Monday, 5 November 2012

Something for the Smokers…


We all have our little vices which give us a degree of satisfaction and pleasure in our day-to-day lives. Mine, as previously discussed in this blog is a really good cup of coffee. For me this is merely an essential way to start the day. Many of you however they also enjoy a good smoke with your morning cup of Joe.

Before I continue however, I really should qualify this post by saying "I am not a smoker". Okay. Now that's out of the way, I can get on with the story…

On a recent visit down to the ALS clinic at the Montréal Nero, I got involved in the discussion with the occupational therapist there and she was telling me about an older woman who'd really enjoy being able to continue smoking but was having significant difficulty in holding the cigarette. This conversation reminded me of something some of my friends had tried, which is the E–cigarette. Also known as an electric cigarette.

I personally can't vouch for the taste, but I know my friends who tried it quite enjoyed them and they found them to be very practical. So after telling the occupational therapist about that E–cigarettes, I decided to look into them. The following is copied from the e-mail I sent to my occupational therapist on the matter.


These might be very interesting for people who wish to continue smoking with motor disabilities for a couple reasons. 

  • you don't have to light them. They are battery-operated and rechargeable. I even saw some that operate without a switch, the "tobacco flavor" is activated when you inhale.
  • They burn cold and this is a big deal because if the user happens to drop them, they cannot set themselves on fire
  • They appeared to be much cheaper than regular cigarettes. One drop of flavoring is good for about 250 cigarettes and it costs about $10-$12
  • electric cigarette is reusable, so the initial purchase might seem a little bit expensive. But you make up for it over time.
  • This seems to be huge number of flavors to choose from as well.
  • There is no secondhand smoke. Electric cigarettes simulates embers on the end (glows Orange with an LED) and even provides a smoke effect when you exhale which is just water vapor.
  • For people who have motor disabilities holding a small items such as this, because it does not burn hot you can put all sorts of foam expansion rings onto it to make it easy told on two… Like the ones I have on my shaving razor and tooth brush ;-)

a YouTube video with David Letterman and a "smoking demonstration" 

There's a very large number of Canadian E-smoking sites selling these. Here's an example of one
http://esmokercanada.com/e-cigarette-starter-kits. I must admit, given the costs and benefits over regular cigarettes I'm almost tempted to try one myself. I'll let you know if I do, but in the meantime if you do please post a comment and let me know how you like them. I'd be very curious to know.

You can also read about them on the wiki here: http://en.wikipedia.org/wiki/Electronic_cigarette

Saturday, 6 October 2012

Finding a good Shillelagh

It turns out that finding a good walking stick or cane is not easy as you might think.

When I first started using a cane I was having only slight balance issues, but my psychologists suggested that I start using one more as a social signal to people around me rather than an actual mobility aid as at the time I was just starting to have enough difficulty to make me feel uncomfortable. But not enough for the people around me to realize there was in fact something wrong and I wasn't just drunk or stoned.

So on his advice I went out and bought an MS Society cane that I thought would be good for me. You know the type, you see a lot of elderly people using base. Cast aluminum tube, formed handle and a wide foot. This is probably the most common type of cane you will find houses sold in just about every drugstore. Consequently these are also contains you will most likely be suggested to start using…

I started with the one shown in the image. It only cost about $25, and for the price it worked okay. I did find it a bit heavy and awkward to control. This is also largely to do with the fact I was starting to have quite a bit of atrophy in my arms and hands.

So, not being terribly happy with this cane and actually starting to need it more at this point. I started to look around for alternatives. What I really needed was something that was light, well-balanced and within T-shaped handle.

I found very little that would work for me in handicap retail stores or that was actually being offered to me through my rehabilitation facility. So I decided to start looking at trekking poles. Thus when I stumbled across the wanderfreund-speed-lock by LEKI. I only found this particular model for sale in one retail store here in Montréal. It seems to be a less popular version and consequently not many people have stock. However for my needs this cane was perfect.

This cane was very light and easy for me to manipulate. The best thing about it places the balance point was much higher making it easier for me to keep away from my foot. The other MS canes tended to be heavier out at the end which would cause me to occasionally kick them as I walked. Needless to say this is kind of dangerous.

The  wanderfreund-speed-lock length is very easily adjustable as wherewith the MS Cains I would have to have someone do it for me. Not to mention it is designed to be collapsible, which is really handy for when you're out saith the movie or show and you don't want it sticking out into the aisle. You can collapse it down to a length of about 65 cm.

Not shown in the image is actually was under the rubber foot, which is a carbide tipped. The rubber foot is actually just a You can place over it to use or generally. Living in a city where the weather can be pretty cold and crappy for part of the year, this is really handy. If things are slippery hiking use the carbide tip to guarantee that I will bite into whatever surface I stick it on to.

so that's where my cane went…
I really liked this cane and wish I could continue to use it. Unfortunately my hands have degraded to the point right can't really hold it anymore without some sort of help. For a long time I was using a wrist wrap to attach myself to the cane, however the attending short in my right hand has made this no longer a viable option as it is a bit painful to do so.

For the cost of about $70, I got a lot of miles on this cane. The one thing to be concerned of is that the foot is substantially smaller than the MS cane and if you're not careful can easily fit through things like the gap at the elevator door or a sewer grate.


As I felt I still needed the use of a cane, hyped this to my rehabilitation people. Explain to them the problems with the grip and that I would need something to help me grasp the cane. Unfortunately the solution was less than satisfactory. They came back to me with another team that was very much like those from the MS Society mentioned above, only with a custom grip to which they riveted some neoprene and some Velcro so I can wrap it to my hand.

This only sort of worked as now I'm considerably weaker than I was and this cane although a little more comfortable hold was far too heavy. Despite requests to remove the handle from this new came and adding it to my LEKI one, they would not.

Needless to say, this would not do for me. So it's a little bit of help from my social worker, we chopped the ends off of my LEKI and the new right hand cane and using a little bit of epoxy we glued the right-hand grip on to the LEKI. For a time this worked out quite well, with the continued atrophy even this modification has started to become less useful. But nonetheless I managed to get a few more miles out of it…

The next option I considered was the  Side Stix crutches. These are more ergonomically designed for obtains are made of carbon fiber and are extremely light. they even have a shock absorbing spring the shaft. They are quite expensive, costing between $600 and $800 for a pair. But they will sell them as individuals for half the price.

When I was back in Vancouver, I tried one out for a bit and they are far superior to the regular forearm canes. Sadly, given the atrophy in my hand I still have the same grip problems and would require myself to be attached to the cane, both at the hand and forearm. For forearm canes this is quite dangerous, should I happen to fall I could probably severely hurt myself and possibly even break my forearm. This is quite a disappointment to me as I did find these canes to be very good. Even with my limited dexterity I was able to maintain far more control over the cane than any of the others I had tried to date.
Sadly the side stix canes did not work for me, but if you have the budget they could well work for you. Definitely check them out…

Wednesday, 3 October 2012

Alternative to the Sticky Mouse

Windows 7 has a very large number of accessibility settings to help people with disabilities use their computers.but sometimes the settings you're looking for might not be where you would think. For example when I started to need the use of a sticky mouse function I looked through easy access settings under "change how your mouse works"and found a couple of interesting settings, but none really useful to me. So I went about creating this sticky mouse auto hotkey script.

Then, the other day I was having a conversation with the tech person for my rehabilitation facility and begun to talking about my sticky mouse script. She was very impressed with it and thought it worked very well. But she also pointed out that window 7 already had a similar function built-in which I did not know about. It is called "click lock" which you can find under the mouse settings. This surprised me because I really expected this type of function to be under "ease of access".


When you open those properties, you'll find it under the activities tab. Just turn on the little check box. Let's click lock is enabled, you will be able to modify the timing before click lock activates the settings tab. It's controlled by little slider, in the same way that the sticky mouse auto hotkey script is. There is however one key difference and that is click lock does not give you any cute to indicate that it has locked your click. It is however more closely integrated into the Windows 7 operating system, consequently I would expect that it may have additional functionality/support that sticky mouse auto hotkey script does not.

Admittedly, I'm probably a little biased to my sticky mouse script but there's one thing that I very much prefer. I don't need the sticky mouse functionality 100% of the time, therefore it's very easy for me to click off from the taskbar. Simply right-click, exit script. If I were to try and disable click lock, well I have to navigate through the space control panel down to mouse properties every time I would want to turn it on or off. I know this is minor, but there are more steps involved and thus making it a bit more inconvenient.

In any case, it's well worth trying…

Thursday, 27 September 2012

Stupid Solutions to Stupid Problems

As my ALS progresses I'm losing function and strengthen my hands causing doors to start to become part of the problem, and this is been ongoing for around about a year. The regular round doorknobs I just don't have the strength to really hold onto anymore and turn. So a number of the doors in the house I replaced with a standard lever handle. And for the most part this worked out just fine, each door costing me about C$25. Not too much and I kind of prefer the look of the new doorknobs anyway. However, I do have a little 2 1/2-year-old running around the house, and if the lever makes the door it easier for me, then it sure makes it easier for him as well.

There's a few rooms we don't really want him to have access to… Like the stairway to the basement for example. So up until recently he wasn't able to deal with the standard doorknobs but of course I still wanted access, and of course if I put any child safety doorknob thing on there's no possible way I could open the door. What I needed was a way to apply extra grip to the door for my weakening hands, and it occurred to me the old trick for opening jars of spaghetti sauce would work just as well for opening a door knob… Add a rubber band… Duh!

This is of course a stupidly simple solution, but sometimes these stupid solutions stare us in the face and we just don't realize them and this can be just as true for the experts we invite to help. I even had a conversation with one of them about this issue and they handed me a strip of no slip plastic that I would have to carry around and place on the door, and then turned the doorknob.

The rubber band solution is so much easier.

Anyway, for the moment this is working quite well and the rubber band very rarely needs to be repositioned and it's only been in the last month or so my son is been able to actually open the door at this point is pretty good at the stairs I'm not terribly worried…

Monday, 30 July 2012

Autohotkey… The sticky mouse

So what exactly happens when the fuzzy critter on the left meets up with the scripting language on the right?

You get this, sticky mouse script.

I've been starting to have some difficulty with long clicking and drags. I would lose my selection, drop things right don't want him and all around have a general pain in the butt about it. So to ease my frustration, and hopefully some of yours I wrote a very simple sticky mouse script with autohotkey.

The script simply waits for you to hold down the left mouse button one second, it then provides you with an audio cue to let you know that the script will now hold the button down for you. You can release the left mouse button and drag your window or icon around as you like. Click the button again and it will release.

The script has no knowledge as to what's under it, so if you hold the button down over empty space, or text or whatever it was still hold down the button for you. If you miss your click, no big deal to/click something else and start again.

You can get a copy of the sticky mouse here:
The Sticky Mouse Script

The sticky mouse will eventually be integrated into the friendly mouse script as well.

Enjoy! Let me know how it works out for you, please post a comment ;-)


Monday, 23 July 2012

Hauling Me Around… my Jeep Liberty

For a long time I drove up standard Mazda MX3. I really enjoy driving this car, but back in November it started become too difficult for me to operate. It was very low to the ground, manual transmission and none of the creature comforts such as power windows. Not to mention that living in Montréal one also has to contend with a fair bit of snow in the winter.

So I sold this car and bought in 2004 Jeep liberty Rocky Mountain edition. The logic in choosing a Jeep was because it had an elevated suspension and four-wheel drive so I wouldn't have to dig it out in the winter. Ideally, put it in four-wheel drive and go.

I'm really pleased with the purchase of the Jeep, meets my needs very well. I find it much easier to get in and out of, and the interior has a number of features which are surprisingly adapted for my needs. Simple things like the shape of the inside door handle (it's a big ring) and how much easier it is to operate things like the temperature controls. I also really lucked out in finding the Rocky Mountain edition, it has all the additional features. Power locks, power windows, automatic transmission, air conditioning etc. As an added bonus the previous owner even installed an alarm system with a remote starter… This is really great!

The other reason that it was time to make the change, was that if I needed to make modifications to my vehicle my rehabilitation facility will only make modifications to one with an automatic transmission... and unfortunately, I'm to the point where I need to start making modifications…

Over the last month or so it started to become very difficult for me to put the Jeep in gear from Park. The shifter has a button on it that needs to be raised to unlock it from the park position to go to reverse or drive. I've had some changes in my hands which makes lifting this button very difficult, in short my fingers just slip off the button.

We are presently waiting for the request for modification to go through, however in the meantime I still need to drive to make my appointment setting generally get from point A to point B. So as a temporary solution my father came up with this. Using a latch from the gate, a zap strap and a couple rubber bands we've managed to extend a lever from the shifter button which makes it very easy for me.

The idea is that the zap strap secures the latch and provides the pivot point, the rubber bands not only help keep it in place to provide an additional tension to help me lift the button and return the latch to its proper position.

Now there are just a few issues with this, mostly because it is a temporary solution. The first is that sometimes the latch needs to be repositioned. After seeing a week or so of use, it sometimes wiggles a little bit out of position. As long as it doesn't pop out of the zap strap, this is no big deal. The second is that the rubber bands sometimes help maintain just a little too much tension on lifting the button. This means that when the vehicle is put in Park, the key is not released from the ignition. I simply have to remember to push the lead back down a bit… Again no big deal.


A note on driving:

The disability that comes with ALS can very much impair your ability to operate a motor vehicle and how quickly this comes on is different for everyone. Please remember, you may have been driving for years and are very experienced, but it is a privilege and not a right. If you are unsafe behind the wheel, please do what's right.

I exercise a high degree of caution while driving and have already modified not only my driving habits but destinations. I choose to no longer drive on the highway nor for long distances as I feel if I were to do so this would pose a safety hazard not only for myself but others. Also, the instant I begin to feel unsafe behind the wheel will also be the day I willingly give up my driving license. 

I strongly encourage you to exercise the same degree of discretion.