Jump to content

All On/ All Off programing using KPL


danielt

Recommended Posts

I have struggled for a while to get a consistent 'all off' button to work and an 'all on' and also to lit appropriately. I have a KPL in the bedroom and near the garage entry door. In the bedroom, I wanted to be able to turn all the lights off in the house when we go to bed, or turn on all lights when needed in an emergency. I also wanted the KPL to tell me there is a light on somewhere both in the bedroom and at the garage door.

To make all this work, I have 2 scenes:

-All On

Bedroom light - responder

Kitchen light - responder

Garage entry light - responder

Bedroom KPL-C - controller

Bedroom KPL-D - controller

Garage KPL-C - controller

 

-Any Light On

Bedroom KPL-C - responder

Garage KPL-C - responder

 

The KPL-C are my 'all off' switches. The KPL-D is the 'all on/panic' switch. Initially, I had all kinds of trouble keeping them sync'd. The trick was to confige the KPL-D as non-toggle/On and the KPL-C buttons as non-toggle/Off. This way, the KPL-C buttons can only send a 'Off' command.

 

The second scene is for notification if a light is on. I have a 2 programs running:

"Any light on program"

If

Status 'Kitchen UnderLight' is not Off

Or Status 'Master Bedroom Light' is not Off

Or Status 'Garage_entry_light_KPL' is not Off

Then

$light_any_on = 1

Else

$light_any_on = 0

 

"light up KPL-C"

If

$light_any_on is 1

Then

Set Scene 'Keypad scenes / Any Light on' On

Else

Set Scene 'Keypad scenes / Any Light on' Off

So, if any of the Insteon lights is on in the house, then it turns the KPL-C buttons On and the LEDs are lit.

 

Hope this helps!!!

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...