Indigo: home Automation on the Mac – part 1

14 years after moving into the Automated home we’re still using those X10 DIN rail modules in the loft.  There’s still no status available and the signals simply don’t make it through sometimes.

But besides replacing some fuses and a couple of dead appliance modules, they’ve worked remarkably well all things considered.  You absolutely can’t argue with the value they’ve supplied over the years.

But we’re well over a decade into the 21st Century and it’s time to step on.  This indicates our trusty rackmount HomeVision has been shut down and we’re trying to find a new system to take over control of our house.

There are contemporary hardware  controllers  available  but these can limit you to one or two technologies.  We’re trying to find something that’s as flexible as possible to give us lots of control options both now and in the future.

Out of the blue – We’ve been enjoying Perceptive Automation develop its smart home software suite “Indigo” since v1.2 in 2003.  A few weeks ago v6.0 was released and with it, built-in support for Z-Wave was added to the existing X10 and Insteon standards (here’s the full list of all the interface devices supported by Indigo).

It’s worth mentioning that although Insteon is now in the UK and Europe, Indigo currently only supports a couple of American interface devices. We’d love to see support for the Insteon Hub as it’s an Ethernet unit indicating (unlike the us only USB interfaces currently supported ) you can site it somewhere in your house that’s optimised for transmission – not just beside the Mac.  For now we’re using an old CM12U connected straight into one of the Mac mini’s USB ports for X10 control.

In addition Indigo supports over 40 third party plugins meaning it can link to a substantial variety of additional hardware.  For example if you plugin an RFXCOM RFXtrx433 USB stick you’ll be able to control LightwaveRF, HomeEasy and multitude of other wireless systems.

If a plugin doesn’t exist to link to your hardware of choice, and you have the chops for it, then Perceptive Automation offer detailed documentation on their API and Plugin SDK.  C-Bus or KNX anyone?

Most users seem to run Indigo on a Mac mini, they’re small, fast, efficient and in our experience incredibly stable with OS X.  If you don’t already have one you can pickup a core 2 duo maker on eBay for under £200.  However if, like us you already have a mini that’s employed 24/7 in another role but has tons of spare capacity then your only outlay is the cost of the software.

The software is available in 2 versions.  Indigo Lite (£78) has a 20 device limit and cannot use third-party plugins.  You’ll nearly certainly want the unrestricted pro version (£156) but you can start with Lite and pay the difference to upgrade to pro later on if you like.  Here’s a in-depth comparison chart of the differences between the two versions.

Setting Up – Indigo installs like any other Mac app.  Once up and running your first task is to add all your home automation devices to the system.

Devices – Every item in your home automation system gets added to the devices screen.  That’s things like your X10 and Z-Wave dimmers and also things like plugins and timers.  The screen supplies an introduction of the status of each device in your home and allows you to control it directly or change its settings.

Triggers – If you’d like an action to fire on an event then it goes in the Triggers section.  An example is setting a variable each time the system detects a change in the external temperature reported from the Netatmo weather station plugin.

Triggers can be instigated from a variety of inputs including an incoming email, a X10 / Z-Wave signal, system event or plugin.

Schedules – think of these as über smart programmable timer clocks.  The example below turns off our upstairs hall lights 30 mins after dawn (sunrise + 30) each morning.

You can build logic policies into triggers and schedules using Indigo’s point and click condition Editor or get stuck in with your own powerful AppleScript or Python Scripts (check out the exceptional Python course at codecademy.com).

There’s plenty of sample code on the Perceptive Automation web site and we have created a activate that sends a push notification to our phone (using our Boxcar email address) based on the example below.

# putting a variable’s data into the subject and body
theVar = indigo.variables[928734897]
theSubject = “The value of %s” % (theVar.name)
theBody = “The value of %s is now %s” % (theVar.name, theVar.value)
indigo.server.sendEmailTo(“emailaddress@company.com”, subject=theSubject, body=theBody)

Timers and Pesters – one of the functions we used a lot of with HomeVision was timers.  These are especially beneficial when automating lighting based on movement sensor data.  Indigo’s “Timers and Pesters” plugin adds this functionality, allowing you to define, start, stop, pause and resume timers in your logic.‘Pesters’ are tiny timers that you can set to repeat multiple times – maybe to remind you to complete a task.

Action groups – There are typically groups of actions that you’d like to call on again and again.  Rather than create this list of action in each schedule or activate You can define them once in the action groups screen and then use them often.  This may be something as basic as a lighting scene or maybe a script to email you a message.

Variables – You can use variables to store an integer or floating value – the temperature for example.  You can also store boolean variables (True or False) which replaces our HomeVision ‘flags’ concept. You might want to set a variable ‘HouseOccupied’ or ‘GarageDoorOpen’ for example.  Indigo has a built in “isDaylight” variable which gives a beneficial approximation of whether or not it’s dark outside based on your Latitude and Longitude.

Control Pages – Indigo’s built in web server supplies a browser interface to your home.  Several pages are automatically created for controlling your system including one suitably sized for mobile devices indicating your Android, Windows Phone or other mobile can always control the system too.  Other pages allow you to fire any actions as well as view and edit your Variables.  There’s even an RSS feed of the current device, action group, and variable states.

In addition to these conventional web pages, Indigo also includes a system for creating custom-made control screens.  These are created in a click and drag style designer and can be used in a browser window or with the free companion iOS app Indigo Touch.

Within a few minutes we had CCTV images from our IP cameras along with control buttons and variable values appearing on our iPhone.  There are some terrific examples of the control screens users have created on the Indigo forums.

Event Log – Every action and error is logged to the Indigo event Log.  There are different levels of logging and plugins can typically be set to debug mode to produce even a lot more detail when trying to diagnose an issue.

The pro version of Indigo lets you run in client / Server mode.  This is an exceptional feature and with basic port forwarding on your router (port 1176 for the remote client and port 8176 for the web interface) allows you to pull up the full Indigo app on your maker from anywhere, and program and control as if you were on your home machine.  If you’d rather not mess with your router then Perceptive also offer a zero config path back to your home Indigo system called Prism Reflector that deals with dynamic IP’s too.

Up and Running – So for now all our X10 devices have been added and the Automated home is up and running on Indigo.  The setup process was pain complimentary and we’re really impressed with Indigo.  Our schedules are starting to take shape and the system is pulling data from our Netatmo weather station to display outside and inside temperatures on our control pages.

What’s Next? –  Over the coming weeks and months we’ll be checking out some of the features pointed out above in a lot more detail and we’ll be covering a lot more home automation hardware and software additions to our Indigo system.  The first non-X10 modules we’re eyeing up to add are the Z-Wave Aeotec’s Z-Stick along with some Z-Wave motion detectors and garage door sensors.  We’ll also be covering adding the RFXCOM and the Global Cache iTach IP2CC.  Fun times at the Automated Home!

#
Preview
Product
Rating
Price

1

LightwaveRF connected Light Switch, Quad Dimmer Wireless – iOS, iphone and Android smart Home…

No ratings yet

£79.99

get on Amazon

2

Lightwave L21 smart Dimmer, 1 Gang, Stainless Steel – works with Alexa, Google Assistant, HomeKit….509 Reviews

£59.95

get on Amazon

3

LightwaveRF home or Away button White JSJSLW929

1 Reviews

£49.00

get on Amazon

4

LightwaveRF home Thermostat

No ratings yet

£118.40

get on Amazon

5

LightwaveRF by Deta connect 9511 1 Gang 2 way slave Dimmer with White Inserts (Chrome)

5 Reviews

£14.95

get on Amazon

Download complimentary 30-Day Indigo Trial  :  Read part 2 Here

Share this:
Facebook
Twitter
Reddit
LinkedIn
Pinterest
Email
More

WhatsApp
Print

Skype
Tumblr

Telegram
Pocket

Last update on 2021-10-04 / affiliate links / images from Amazon product advertising API

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post