The idea for this program was to alert the neighbors if a door is opened while we
are away.
Another program triggers when a door is opened, and runs the following program:
==============================
If
- No Conditions - (To add one, press 'Schedule' or 'Condition')
Then
Repeat 50 times
Set 'Driveway Lights Appliancelinc' Fast On
Set 'Front Door Ceiling' Fast On
Set 'Back Light' Fast On
Wait 1 second
Set 'Driveway Lights Appliancelinc' Fast Off
Set 'Front Door Ceiling' Fast Off
Set 'Boat Light' Fast Off
Else
- No Actions - (To add one, press 'Action')
==============================
This program would have been nice, had it worked well. Unfortunately, I found two different problems with it.
1. It would take sometimes 20 seconds to blink these lights once, and sometimes longer. At the time of the testing, I received some error messages that the ISY was having problems to
communicate with the "Driveway Lights Appliancelinc" so I moved it to get power from a circuit closer to the PLM/ISY.
I continued testing and found that the cycle time was back to 2 seconds after moving the
troublesome Appliancelinc.
--this must mean that the ISY is sending out an Insteon command
and waiting for an acknowledgement before sending out the next command...
Unfortunately this has an impact on the programed operations, so it would be better NOT to
use very large repeat loops without checking conditions. We'll need to come up with a version 2 program to work around this.
How to Stop a Program's Operation
2. The program is not easy to stop.
I tried various ways to try to stop it, but these two ways below did not work:
a. The Blink Program is in a conditional folder, called "AWAY." When one pushes an "AWAY" button on a remotelinc, it makes the condition of the folder "True" and the programs in the folder can then be triggered. This part of the solution seems to work very well.
Push the "Away" button, and an Insteon Scene activates an "Away LED" on a keypadlinc, as well as making the "Away" folder condition "True."
Pushing the "Away" button again, makes the folder condition "False", but a program already running within the folder continues to run.
b. I tried an "Alarm OFF" program outside of the "AWAY" folder:
If
Program 'Blink Alarm Lights' is True
And Control 'Dons Remote Control / 1C.4B.A8 - G' is switched On
Then
Run Program 'Blink Alarm Lights' (Else Path)
Set 'Driveway Lights Appliancelinc' Fast Off
Set 'Front Door Ceiling' Fast Off
Set 'Boat Light' Fast Off
Else
- No Actions - (To add one, press 'Action')
but here I found that running "Run Program 'Blink Alarm Lights' (Else Path)" did not interrupt
the 'Blink Alarm Lights' program that was already running.