3 hours ago3 hr I have a relay that controls my gate. I use a KPL button to open the gate so I've made a program to do that. The problem is I can't figure out how to turn the KPL button off after it's activated. Can someone help me please?
3 hours ago3 hr I believe the best approach is to create a scene including your relay. Then use programs to have the scene turned on and off (including by the KPL).For the light on the KPL button, that is another story. Create another scene including the KPL button. In the program controlling the relay, add an entry to turn off the KPL button scene when the relay is turned off.
2 hours ago2 hr There are different ways to handle this depending on how you want things to work and what sort of hardware you have.First off, posting programs on the forum is best done by right clicking the program and selecting "copy to clipboard", then pasting it here as text.To your issue. It appears your gate is triggered by powering on a relay for a few seconds. I assume the gate opens, has some sort of built-in delay and then closes on its own.First off, do not use "status" of the KPL, use "control" command which gives you "is control switched on".Configure the KPL as a non-toggle on. You do this from the main screen of the admin console.Also, you don't need the "stop program" line. It isn't doing anything.Now, every time you click the KPL button, it will send a "control on" Insteon command. This will trigger the program and turn the relay on for 3 seconds (or whatever you put in the program). The backlight on the button will end up being on all the time, which may be fine for you or maybe not. If you want the backlight to change depending on something, you would have to be more specific on what you are looking for. I suppose if you wanted the backlight to default to off, you could set it to non-toggle off and change your program from "switched on" to "switched off".To control the KPL light independently, you would need to put the KPL button into a scene. Then you can turn the scene on/off from another program or as a responder to another device in the scene. Turning the kpl button on/off in this fashion will NOT trigger the program. The only thing that will trigger the program is actually physically pushing the KPL button. This is how the logic of "control" works and how it differs from "status". Edited 2 hours ago2 hr by apostolakisl
1 hour ago1 hr Author Thanks I tried copy to clipboard but it only shows text:Gate KPL-A - [ID 0002][Parent 006C]If 'Indoor / Foyer / KPL Foyer Right / Right Front Door KPL.A Gate' is switched Off Then Set 'Outdoor / Gate / Gate Relay' On Wait 1 second Set 'Outdoor / Gate / Gate Relay' Off Else - No Actions - (To add one, press 'Action') But is this what you meant for me to program if I always want the backlight off?
Create an account or sign in to comment