srjacob Posted May 25, 2020 Share Posted May 25, 2020 I posted this in the program forum and accidentally posted this to the Home Alarm forum here, but got no helpful replies. Perhaps someone here understands what is going on. If I can't get any help here, I will open a trouble ticket. There doesn't seem to be any good way of tracing a program I am running the latest ISY994 firmware and the Elk-ISY module. I can't get this program to work. The Elk Zone "LeftGarageDoor" is a magnetic reed switch connected to my Elk M1G zones. It works great. I use the Elk as (in addition to a security system), a physical input/output connection for the Insteon lighting and ISY994. I find that the Insteon input/output modules aren't very reliable. Most of the time it the Elk-ISY programs work, but this is a head scratcher. LftGarageDoor is an Elk output that toggles the garage door button. It works great. I basically want to close the garage door when I push a "night off" button on an Insteon keypad to turn off all the lights in the house. The $GarageDoorClose is a local ISY variable that is normally set to 1. I open the garage door. I set $GarageDoorClose to 0 when I want the "night off" program to turn all the lights off and run (IF) this little program. The problem here is that the garage door doesn't close, but when I run the "Then" section, the door closes just fine. I tried reversing the two IF conditions, but it still doesn't work. If I didn't have the $GarageDoorClose variable in there, every time the garage door would open, the reed switch would trip, the Elk would send a message to the ISY, and the garage door would stop, so that part is working. The $GarageDoorClose is simply a flag to let the ISY know when I want to turn off or on the close test. I tried having $GarageDoorClose both be a state variable and an integer, but neither worked. Using M1ToGo, I can see the "LeftGarageDoor" is violated, and when I toggle the output "LftGarageDoor", the door opens and closes fine. Anybody have a clue as to why this doesn't automatically close the garage door? -------------------------------------------------------------------------------------------------------------------------------------------------------- Program. If Elk Zone 'LeftGarageDoor' is Violated And $GarageDoorClose is 0 Then Set Elk Output 'LftGarageDoor' On for 5 Seconds Else - No Actions - (To add one, press 'Action') Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.