Jump to content

What am I doing wrong??


boatfevor

Recommended Posts

Posted

I am sure this is really really simple but when I use this program, the light never turns off.

 

If: From sunset to sunrise

and control motion sensor is turned on

and status front door light is off

 

Then:

sert front door light on

wait 3 min

set front door light off

 

Thank you for your time!!

Posted

The Wait causes the If to be reevaluated. The "and status front door light is off" is no longer True so the remainder of the Then does not run. The standard solution for this type of problem, where the Program changes the If conditions and has a Wait or Repeat is to break it into two Programs. Program1 has the If and Run Then Program2. Program2 has the current Then statements.

Guest
This topic is now closed to further replies.

  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...