Jump to content

Initiate a program from a keypad button press


Recommended Posts

Hi everyone,

New guy here. Please be gentle :)

 

Is it possible to initiate the IF portion of a program from a keypad (8 button 2334-222, specifically)?

 

I have the scene thing figured out.  I'm using scenes for four of the buttons to control a fanlinc.  I need the programs for some more complex actions.

 

Example:

I have a "bedtime" program that sets all of the house lights for night (some on/dimmed, most off).  It also shuts the garage doors (if open) and turns off the bathroom fans.

 

I'd love to be able to push one of those buttons and set that all in motion.

 

Thanks for your help!!

 

-Mike

Link to comment

Of course it is possible.

 

First, however, you need to decide how you want to configure your button (toggle mode?  Non-toggle off?  Non-toggle on?).  Do you want your program to respond only to ON commands?  Off commands?  Both?

 

Depending on answers to some of those questions, the program could likely look something like:

 

if

control "KPL Button X" is switched ON

then

Run bedtime program (then path)  <<< assumes all your actions are in the THEN, rather than ELSE

Link to comment

Archived

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


×
×
  • Create New...