Jump to content

can't change a KPL button state via a program


baabm

Recommended Posts

Posted

I am trying to do the following:

1)I have an open/close sensor on a garage screen door. The sensor is ON when the screen door is open and OFF when the screen door is closed. 

2) I have a blank KPL switch that I want to use as an indicator for the screen door. BUT I want the button to light up when the screen is closed and turn off when the screen is open (the opposite of the way the sensor works.)

3) Since I want the logic to be "reversed", I cannot use a scene because then the button will light when the door is open and vice versa.

4) I created two programs "Screen open" and "screen closed" that trigger when the screen opens and closes. (These work OK because I have them sending me a notification.) But when I try to add the KPL switch to the THEN , it only allows me to set the backlight level of the KPL. It doesn't allow me to say KPL.button.C ON or KPL.button.C OFF.

 

How can I get the behavior I am looking for?

 

Thanks,

Bob

 

Posted

Create a scene that contains only the button as a responder. Use a program to control the button scene.

Guest
This topic is now closed to further replies.

×
×
  • Create New...