Jump to content

Help with an IF/THEN


mfranzel

Recommended Posts

Hi again,

I am sorry for asking 1000 questions, but getting down to the really nitty gritty programing for the ISY is hard for me... So I thank everyone in advance for your help and patience!

 

I have a button on a KPL called "Bedtime". When I press this, all the devices on the first floor go off... lamps, fans, ceiling lights etc... However, I want to be able to press it and have all the 2nd floor devices go off, but also turn on devices on the third floor so when we get up there, it isn't dark... for example, the bedroom light, stairs, hallways etc.

 

I would assume I have to do this with programs and scenes, but I am having a lot of difficulty figuring it out.

 

Any help would be appreciated!

Link to comment
I have a button on a KPL called "Bedtime". When I press this, all the devices on the first floor go off... lamps, fans, ceiling lights etc... However, I want to be able to press it and have all the 2nd floor devices go off, but also turn on devices on the third floor so when we get up there, it isn't dark... for example, the bedroom light, stairs, hallways etc.

 

Without trying to define your requirements for you, or to assume your needs are more nuanced than indicated, I offer the following concepts as ideas from which you can elaborate and ponder further. Specific details would depend on what scenes you have already, and which devices you want to go off

 

configure your KPL button as "non-toggle off"

 

create a program such as:

 

if

control KPL button is turned off

then

turn off all applicable scenes

turn off any other devices that were not included in the scenes

turn on any applicable scenes

turn on additional device that were not included in the scenes

else

nothing

 

When I press this, all the devices on the first floor go off... lamps, fans, ceiling lights etc...

 

Are you currently doing this with scenes only, or are programs involved?

Link to comment

This is what I would start with;

 

Create three Scenes, say 1st Floor, 2nd Floor, 3rd Floor. You can name them anything you wish, I'll just use them as an example. Place all the devices you wish to control as responders in the three Scenes.

 

Then create a Bedtime program;

 

If

Control 'Bedtime' is switched On (this is your KPL button)

 

Then

Set Scene '1st Floor' Off

Wait 10 seconds

Set Scene '2nd Floor' Off

Wait 10 seconds

Set Scene '3rd Floor' On

 

The Wait time may be shorter or longer depending on how many devices are in each Scene.

 

~Mike

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

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