Jump to content

Program not triggering KeypadLinc light...


ketchup318

Recommended Posts

Hi all

 

I have my garage lights controlled by a program on the ISY99. When the motion sensor detects motion, the lights turn on. In addition, if it's late and the garage door opens, the lights turn on too.

 

As part of the debugging process, I currently have the garage lights linked to button C on the keypadlinc (from the main page). So when I manually switch on the lights in the garage, Button C lights up, and when I switch off the lights, Button C turns off.

 

The problem I have is that when the motion sensor turns the garage lights on, Button C doesn't turn on. I'm not sure what the disconnect is, but I need to know if the lights are on. There have been times, due to communications problems, and problems with my code in the program, that the garage lights have been left on over the weekend.

 

I've tried to rewrite my program to turn on Button C, but there isn't an action that lets you do that. All I see when I choose the actions for Button C are to change the LED levels...

 

Can someone please help? Thanks

Link to comment

If you want the Motion Sensor to turn On Keypadlinc button C include KPL button C as a Responder to the Scene where the Motion Sensor is the Controller and the garage lights are the Responder. What device are you using to physically control the actual garage lights. Linking the garage lights device as a Controller with KPL button C as a Responder does not automatically cause KPL button C to turn On when the Motion Sensor turns on the garage lights device.

 

That scenario would require Controller A (Motion Sensor) turning On Responder B (garage lights) which would cause Responder B (garage lights) to turn into a Controller to then turn On KPL button C as a Responder. Insteon architecture does not work that way. There is one Controller with one or more Responders. The Responders DO NOT then become Controllers and turn On their Responders. All devices that should turn On in response to the Motion Sensor must be Responders to the Motion Sensor.

 

EDIT: if in the end you want to control the KPL secondary button LED with a Program define a Scene with the KPL button C as a Responder and have the Program turn On or Off the Scene. A Program is issuing Insteon Direct commands when individual devices are selected. To turn On or Off a KPL secondary button LED you need to use a Group command and that requires the use of a Scene.

Link to comment

You did not specify they type of motion sensor (did you?). If it is intsteon, then you could create the effect you want using either scenes or programs.

 

If you want to do it in a scene (possibly best), then create a scene via ISY with motion sensor, light, and KPL. Sensor and KPL should BOTH be controllers in this scene. Of course, you will be relying on the motion sensor to turn things off after certain time.

 

If you prefer using a program (for timing or other reasons), then I suggest creating a scene with the KPL and light, with KPL as controller. (I suspect you have already done this, correct?) Then, use the motion-detector-initiated program to turn the scene on, rather than turning the light only. Turning the scene on will turn both light and KPL.

Link to comment

oberkc:

I and using an Insteon Motion sensor. I have a program that controls the garage lights (switchlinc). It's not directly linked (scene) to the keypadlinc button because there are a handful of variables that keep the lights on and depending on the time or event, the lights should not come on. That's why the program controls the lights. I would have no idea how to include all the different if branches if it was just controlled using a scene.

 

LeeG:

I guess I was mistaken and tried to turn a responder into a controller too. It seemed like a reasonable thing to do, well at the time...

 

I think I'll try incorporating the turning on and off the scene as you both suggested. Hopefully that will work. Thanks for the quick response and the help.

Link to comment

ketchup318:

Creating a new Scene with KPL button C as the Responder will work. I defined a new Scene and turned the Scene On then Off with two Programs which did turn the KPL button C LED On then Off. I did this on 2.7.15 before posting my previous response. I like to make sure something actually works before suggesting an approach. Good Luck. Post back it you have any difficulties.

Link to comment

I suspect most people who have an ISY-99 use programs for motion sensors, for the reasons you state.

 

When you state that you have KPL-C linked to the lights, you did this through the ISY-99 by creating a scene. Correct? (If you did this manually, then I suggest re-doing it through the ISY). If so, then you already have a scene that includes the KPL and lights. Your program should simply turn this existing scene on and off in response to the motion sensor program.

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...