The Indigo Security Script is a AppleScript applet for Indigo that is run anytime a Security Event has been received by Indigo.
The typical Security device is a DS10A X10 based magnetic reed sensor switch. The sensor itself is very versatile, and can be used for a variety of tasks, including detecting:
- Open Doors, and Windows
- With Small modification detecting Deadbolt positions
The script itself when a event occurs, can do the following:
- Sound a Chime (Every time, or only on open events) on a device-by-device basis
- Send a Growl Notification on a device-by-device basis
- Play a Sound File on a device-by-device basis
- Monitor for inactivate security sensors (eg. Low Battery Warning, Broken Sensor Warning)
- Ignore the event on a device by device basis
- Use Mac Text-to-Speech to speak the alarm
- (Optional) Indigo Security Status Web Plugin (See below)
Security Script Version 3
The New version of the security script has been rewritten, and simplified in some ways… But the installation (currently) requires a bit more than just installing the security script.
There are now two scripts. Security Script v3, and Indigo Timers. The Indigo Timers script is copy of the script from the Indigo Forums (originally written by Mac Pro, please see http://www.perceptiveautomation.com/phpBB2/viewtopic.php?t=1926&highlight=timers for all the details on it’s features). The main benefit is that this allows us to seperate the timer code from the security script, and allows the Home Automator use the timer code for other projects.
To Install:
- Download the Security Script
- Copy the Indigo Timer script to /Library/Application Support/Perceptive Automation/Indigo 4/Scripts/Background Tasks
- Now we need to start the script, everytime the Indigo Server Starts. So define a new trigger “Indigo Server Startup” with a type “Indigo Server Startup”. No condition needed. The action is to execute Applescript in a file. Select the Timer script in the Background Tasks folder. To start the script, you can restart the Indigo server or just execute the trigger.
- Copy the Security Script v3 into /Library/Application Support/Perceptive Automation/Indigo 4/Scripts/Attachments
- Please ensure that the old copy of the security script is moved out of the attachment script, but do not delete it. You may want to revert at some point (or use it for testing purposes).
- At this point just update the Security script’s Alarm matrix. See the security script for more details.
Versions for Download
- 7/02/2009, Indigo Security Script v3.01 Version - v3.01, Downloaded - 78 times
- 6/29/2009, Indigo Security Script v3.0 Version - v3.0, Downloaded - 38 times
- Indigo Security Script Version - v1.65, Downloaded - 57 times
Version History of Security Script
- 3.00 – Fixed the path in the install instructions for the background & attachment scripts… (Cut ‘n paste error)
- 3.01 – Fixed an Applescript issue that could crash the script if a unrecognized sensor was detected.
- 3.02 – Fixed an Growl issue that could crash the script
Indigo Security Status Web Plugin
I have also made available an plugin to the Indigo Web Server that will display the status of all security sensors (that are controlled by the Security Script), along with Security related Variables, and the last 25 lines of security related log entries.
To Install the Security Status Plugin, download the Plugin, unzip it, and move the folder created to the /Library/Application Support/Perceptive Automation/Indigo 4/IndigoWebServer/plugins directory. Once that has been done, restart the Indigo Web server, and you should now see the plugin.
Drivers for USB to Serial Adapter (for w800rf32)
The Snow Leopard Driver for the USA-28XG is here
http://www.tripplite.com/shared/software/Driver/Mac-OS-10-6-v26b-driver.zip
Keyspan notes for the driver:
The latest driver version 2.6b (file: Model USA-19HS, USA-49WG, USA-28XG & UPR-112G Keyspan Driver – Mac OS 10.6 (Snow Leopard) – found in Help & Downloads section of each product as well as the download section) will allow the following products to run on Mac OS10.6. Those products are the USA-19HS, USA-49WG, USA-28XG, and the serial port of the UPR-112G. Although previous versions of these serial based products should work with the new driver release, our support staff will only be able to troubleshoot issues with the current skus. We have done extensive testing, but welcome you the user to give any additional feedback to help with the improvement of the this beta driver.
Troubleshooting
If your having an issue, please let me know. Please create a trouble ticket, and I will be happy to assist in any way possible… Please feel free to offer suggestions for Feature Enhancements, or new features through the Ticket system as well..
Creating a new Ticket
(for Problem, Suggestion, Feature Enhancement, etc)
[WATS_TICKET_SUBMIT_FORM]
Indigo Security Script Ticket Listings
[WATS_TICKET_LIST 173]
Indigo Security Script Plugin Ticket Listings
[WATS_TICKET_LIST 173]
