User Contribution Library

Looking for ways to extend Indigo to support additional hardware or new functionality? Want to integrate your home automation with other software (iTunes, iCal, Security Spy, etc.)? Need to see some example Indigo AppleScripts to help you get started?

Below are some great user contributions for integrating Indigo home automation with different devices and software. Additionally, some of these are excellent tutorials-by-example, so fire up your Script Editor application (inside your Applications/AppleScript/ folder) or other editor and see how they work. If you write a script, application, or plug-in that might be useful for others, then please submit it.

Disclaimer: Perceptive Automation, LLC. does not guarantee the usefulness, quality, or safety of any scripts on this page. We have personally used quite a few of these scripts, but be careful and use common sense when installing and using any software or scripts.

Find items that contain these keywords:    
       Separate keywords with spaces. Results will be sorted most relevant to least relevant.

Indigo Database Report    
Indigo 2.x-4.x more info
Overview  Indigo Database Report is Paul Roomberg's great new free utility. It creates a browser-viewable (and printable!) report of your entire Indigo home database. It is definitely worth checking out, especially if you have several devices or actions.
 
Dump Database    
Indigo 2.x-4.x download   
Overview  These four scripts allow you to easy dump the database information for Devices, Action Groups, Time Date Actions, and Trigger Actions into the Event Log window. This is useful for copying and pasting from the Event Log window into a text editor application for printing.
Installation  After downloading, drag all the script files into:
   /Library/Application Support/Perceptive Automation/Indigo 2/Scripts/
The scripts will then be available to run via Indigo's Script menu.
 
Device Usage Report    
Indigo 4.x only download   
Overview 

This plugin will generate a report for the specified day (yesterday by default) that shows how long each device was on for that day (in minutes). The plugin makes a couple of assumptions:

  1. All times are in local time, so the values may be a little odd on days when DST changes.
  2. If the first command seen for a device is to turn it OFF, the plugin assumes that the device was on since midnight.
  3. For any device whose last command seen was an ON, the plugin assumes that it was on up to midnight.
  4. The report doesn't currently include Thermostats, Sprinklers, and IO devices - it does however include some devices that may not make any sense, specifically motion sensors.

This report should be used only as rough insight into what devices in your home are used most. It requires that SQL logging be turned on and SQLite as the database type. The plugin reads all the necessary config information from the IndigoSqlClient.conf file that you must configure in order to make SQL logging work correctly.

NOTE: When the IndigoServer first starts up or switches Indigo Databases broadcasts some device state changes during the startup process that the SQL logger then adds to the log database. Unfortunately, these don't actually represent real state changes. However, from the plugin perspective, it's not possible to distinguish these from normal state changes. Therefore, you may see some days that contain erroneous data. Unfortunately, until we figure out a good solution for those errant changes, you may need to just skip days where you restarted the IndigoServer.

Installation 

To install this plugin drag the "usageReporter" folder to the following location:

/Library/Application Support/Perceptive Automation/Indigo 4/IndigoWebServer/plugins/

and restart the server. Also, you MUST have SQL logging turned on and configured properly (only SQLite is currently supported).


 
Ocelot to Indigo    
Serial Bridge download   
Overview  This set of scripts from Martijn Heeroma provide basic Ocelot support from Indigo. Once installed you can use the Ocelot for sending IR and X10 commands and you can read Ocelot's sensor inputs.
Installation  After downloading, drag the Ocelot to Indigo folder into:
   /Library/Application Support/Perceptive Automation/Serial Bridge/
Next, double-click the Serial Bridge connection settings.sbDb file inside that folder. Lastly, to install the Action Groups inside Indigo for sending commands to the Ocelot, run the AppleScript Install into Indigo.scpt.
Usage  Once installed, you will have several Ocelot Action Groups defined inside your Indigo database file. You can execute these to send commands to the Ocelot. Additionally, several Indigo Variables will be defined that contain the arguments for commands to be sent to the Ocelot as well as return data from the Ocelot.
 

Script Resources
visit these great web sites for AppleScript tutorials and references:
MacScripter
Apple Site
MacCentral Primer
Doug's iTune Scripts
ScriptWeb

Online User Forum
visit the online support forum for help, tips, and announcements

Indigo Essentials

Control Hardware!!