Jump to content

"wait" command


bolt01

Recommended Posts

I am trying to program lights to come on for two minutes when a program is activated, then turn off. The "then" section looks like this:

 

Set lights on

wait 2 minutes

Set lights off

 

What happens is that the lights flash, then turn off. Obviously, my command is wrong. What is the correct command to activate an instruction for a finite amount of time?

 

Thanks in advance for any help.

Link to comment

Thanks for getting back. The "If, Then" commands go like this:

 

If

Status "Keypad A-F2 Vacation Flag" is on

 

Then

Set Kitchen Light on

Wait 2 minutes

Set Kitchen light off

 

Else

nothing

 

Having the kitchen lights turn on is a confirmation that all programs associated with F2 are activated.

When I activate (turn on) keypad A, the kitchen lights flash and have stayed on for as long as 2 seconds, then go off. Should I insert an "kitchen lights on/off" in the Else section?

Link to comment

I am wondering, like TS99, if your "keypad A-F2" is in a scene with your kitchen lights. I am also wondering if you would be better served if you use "control" for your condition, rather than "status".

 

A remote (in my mind) possibility is communication problems. Though I don't think I have seen this, I wonder if some devices flash their load if experiencing comm problems. I know that the keypad lights do.

Link to comment

fitzpatria8

That was it. I checked the other programs within the F2Vacation Flag and found that the kitchen light program had a "kitchen lights off" in the "Else" section. When I removed the "Else" off command and activated the F2 program, the lights came on and stayed on for the specified time.

 

Thanks for your help. I would not have thought to look there.

 

oberkc-thanks for chipping in. I is very nice to have capable help to solve, for me, a difficult problem.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...