Security Manager monitors devices you specify to see if your house is secure. The concept is relatively simple, if your device or devices are not in a state that indicates security (i.e., garage door is closed and front door is locked) then the plugin indicates that your house is not secured by toggling its own state on and off.
You should be able to use any device in your network in this plugin because not only does it allow for standard devices such as On/Off and I/O but lets you specify a custom set of parameters based on the states that a device may have.
Because the plugin is a device you can trigger from it, such as "if Security is off and it's after 9PM then turn on lights and send me a text message". I also use it as a visual indication in my control pages, a big red light when the house is not secure and a green on when it is.
The plugin will monitor in real time the state of all devices specified, so you will get instant results. For example, when you unlock the front door the plugin will immediately change from "On" (being secure) to "Off" (being insecure), so once you set this it should be done.
Download and Installation
Install according to the Indigo documentation, then create a new Security Manager device and specify the devices you want to include in the group as well as what state indicates not being secure.
Download Plugin (Indigo File Library)
Release Notes
- May 26, 2016 (1.0.2):
- BUG Fix - Device validation issue fixed when creating a new device
- May 25, 2016 (1.0.1):
- Change - For boolean values you can now use any variation of the words true and false instead of being forced to use all lowercase letters
- May 24, 2016 (1.0.1):
- Initial release
Configuration and Use
Each plugin device supports four devices, one of which can be another Security Manager plugin device. In this way you can monitor an unlimited number of devices to monitor as well as be able to break down your home security into zones (i.e., bedroom security, front door security, garage security, etc).
Add up to four devices per plugin device, you goal is to set this that if any of these devices are in the state you specify then it is NOT secure. If you have multiple Security Manager devices you can link them into any other Security Manager device and it knows that if that device is not secure then this group will fail security as well.
Advanced
The options are fairly self explanatory, only one bears a bit more explanation - Advanced Custom Devices. If you want to really dial the plugin in then you can use any state of any device but you will need to know what the EXACT state name is as well as the EXACT value that determines it is insecure. The button "Show States In Log" will help you figure this out and will dump all of the states of the selected device to the log so you can see which one you want to use.
When it comes to naming, note that "onoffstate" is different than "onOffState" so make sure the state name is exactly as the log dump shows. For the value it's a little tricky since there can be so many different types of states (boolean, string, number, etc) so the current way to configure that is:
- If the state is boolean then use either true or false as the value (WITHOUT quotes), the plugin will properly interpret that as boolean. You can use any variation of the word true or false (True, true, TRUE, TrUe, etc)
- If the state is a string the surround the value with double quotes, i.e., if state UIDeviceState is "on"
- A non quoted value is literal and should generally be a number
Examples of Use
- Example: When the garage door I/O linc is off (door is open) and the door lock is off (unlocked) then we are insecure, therefore the device shows a state of Off
- Trigger: When the Security Group changes to Off say "The house is not secure"
- Control Page: A button configured for the On/Off state of the Security Group that changes color depending on if the group is secure (On) or insecure (Off):
- Image 1: Button.png (Off state, insecure)
- Image 2: Button+on.png (On state, secure)
- Example: In addition to the Security Group in the first example, a second Security Group device is created to check if various motion sensors are On or Off:
- Device: Create a Security Group device for the locks
- Device: Create a Security Group device for the motion sensors
- Device: Create a Security Group device for the other two Security Group devices that serves as the master "is secure" device in Indigo, if either device 1 or 2 are insecure then this device is insecure as well