Archive for August, 2010

Shion: Location-based Home Automation

August 17th, 2010

After a busy week of client work, I spent most of today hacking on Shion. For the past couple of months, I wanted to implement location-based home automation (e.g. “activate Snapshot FOO when I go more than 5 miles from home”), so I spent the day doing just that:

Shion Location Based Services

Rather than treat mobile clients as invisible participants in the Shion ecosystem, I went ahead and made them full peers of the other devices in the network. Doing so made it convenient for me to gather information from the devices (phones as sensors) and send instructions to the mobile client (phones as controllable devices). If you click through to the higher-resolution version of the screenshot, you’ll see that Shion gathers location information from the mobile clients and provides a “beacon” command that plays a unique sound on the mobile client (for those times when you unwittingly lose it between the couch cushion). For those concerned with sharing too much location information, a preference on the iPhone app allows it to go into private mode: beacon commands can be sent, but location data stays on the device. Since Shion does not store any of this information on a server (information passes through, but doesn’t stick around in the online components), it provides a secure alternative to other server-centric location-based services. The online service is only the conduit for passing the information from your phone to your Mac.

For those willing to share location information with their copies of Shion, a variety of interesting possibilities open up:

  1. Shion can be used to define geographically-aware “zones” that associate a particular geography with an action (activate a snapshot, execute an AppleScript, etc.)
  2. Shion can be used to track the location of several mobile devices simultaneously. This is much like Apple’s “Find My iPhone”, but will work on any client or device equipped with some form of geolocation functionality. On my own roadmap are Android and WebOS devices. (Both of those platforms will actually implement a richer feature set than the iOS devices on account of their unfettered multitasking abilities.)
  3. By hooking into the Events system in Shion, this feature an be used to draw a map of your travels over a given period of time. Don’t remember where you saw that interesting shop? Look it up on your copy of Shion.

I’m very excited about this feature and feel that I’m only scratching the surface of the possibilities. Location-awareness will be available in the next releases of Shion & Shion Touch.

This month in projects

August 13th, 2010

While I spent the bulk of the space here writing about Shion, I figured that it might be useful to describe some of the client work that I currently have underway that is funding the work on your friendly neighborhood home automation app. I run Audacious Software as both a products and services company, and while it receives fewer mentions on this weblog, the services side of the company is much more mature than the products side. Fortunately, I’ve been able to find client projects that strongly compliment the product work I do as well, so there’s a nice virtuous circle at work here.

So, in terms of what’s keeping me busy this month, here are a few descriptions (provided with permission) of some of the other work underway.

Free Shion 2 License Update

August 9th, 2010

Despite my requests for users to migrate to Shion 3 for their home automation needs, I still receive regular requests for Shion 2 licenses. I’ve been slow to respond to these requests, to expedite the process, I’ve uploaded a generic license to unlock Shion 2. Feel free to download this license (Right-click, “Save As”…) to unlock Shion 2 without e-mailing me.

Moving forward, I encourage all Shion 2 users to at least try Shion 3 for your home automation needs. Shion 3 is now the active development version of Shion and it is superior to Shion 2 in terms of reliability, device support, user interface, and mobile access. If you’re a Shion 3 user and interested in beta testing the companion iPhone client, send a note to and I’ll get you started with the iPhone app. (Recently updated for iOS4!)