rob_hut wrote:Hey guys, I am trying to use Indigo as my security system. I have the Securilink SC1200, but I am thinking instead of trying to interpret signals from the system from the Indigo app, perhaps I can have an algorithm that mimics the alarm system:
When enabled, if triggers are received from window sensors etc, then alarm is tripped.
It looks as if you have this solved, can you please create a tutorial on how you did this? I know how to program, and script, but have never done it with Indigo and still have a LOT to learn with regards to X-10!
Is there a way to get signals from a motion sensor in Indigo? (I have the MS18A models) As well as the window sensors (DS12A models).
I know that there are variables in Indigo, so I should be able to test against that..
(pseudo code)
if ( signalReceivedFromDevice && alarmActive === true ) {
startAlarmSequence;
}
Using Switchboard, you would define a Monitored Device Group. A Monitored Device Group is simply a container that stores common devices together.
Let's construct an example, let's say your setting up a Monitored Device Group for your Living Room Windows. Create the Monitored device group, and then add in your Window Trigger Lincs, or DS10As that are monitoring your Living Room Windows, into that Living room Window Monitored Device Group.
Once done, you can then either set an Indigo Trigger for that Group being triggered, or you can use the built-in Action Group support.
The Built-in Action Group support means that it will take whatever action group name you have defined (in the Action Group Name field), and append the following states:
* Open
* Closed
* Armed
* Disarmed
* Panic
* LightsOn
* LightsOff
So let's take your example. You have Living Room Windows Device Group created, and you have Turned on Action Group Support with a Action Group Called "Living Room Windows". (Yes, very creative!).
If the Window Sensor is "opened", then the Action Group called
Living Room Windows_Opened will be automatically triggered by Switchboard.
When the Windows Sensors are returned to a closed position, the Action Group called
Living Room Windows_Closed will be automatically triggered by Switchboard.
I'll see about detailing this more.
- Benjamin