This is the newest version of the Indigo Security Script…
This now includes code that will check for out of date heartbeats (ie. Defective Units, or low/out of Battery) and either warn via Growl, Indigo Log File, or even Email!
Some of these changes were suggested by Scott Buchanan… And some where added after examining the Battery Dead Notify script from the Perceptive Automation User Contributed Scripts web page.
version 1.5 Changes
– Added Heartbeat inactivity detection (5/28/2008)
– Growl Support for Heartbeat inactivity detection
– Email on Heartbeat inactivity
– Added optional switch (Update_Heartbeat_After_Actions) to allow heartbeat to be updated after every action.
Added the following variables:
– Inactivity_Heartbeat_Watchdog
– Update_Heartbeat_After_Actions
– SE_IBeat_Address
– Send_Email_on_Inactive_Heartbeat
The new properties are:
property Inactivity_Heartbeat_Watchdog : 7200
— The maximium number of seconds before a warning will start appearing for an alarm heartbeat. If you receive an inactivity warning, please check the batteries, and test the contacts. The Deafult is : 7200 seconds = 120 Min = 2 Hrs before a inactivity warning will start logging.
property Growl_Notifications_List : {“Opened”, “Closed”, “Check Alarm”} — List the Growl notifications that you wish to use
— Advanced Settings
property Send_Email_on_Inactive_Heartbeat : false
— Send an email if the security Heartbeats have not been detected within the Watchdog value.
property SE_IBeat_Address : {“example@example.com”, “example2@example.com”}
— Send Email(s) to the following addresses, seperated by a comma.
property Update_Heartbeat_After_Actions : false
— Update the heartbeat after every action. Normal behavior is to not update Heartbeats after an action occurs. This forces the heartbeat to update after every action of the device.
Please feel free to use the script, I have just tested the email functionality…. And I have been using this script for the last few days, without any issues…