Jump to content

Combining Separate Programs: One to Two


plipof

Recommended Posts

Posted

I dont know if it is possible to combine these two programs. My girlfriend can't stand the keypad lights and switchlinc LED at night. So, I made two programs. One dims or eliminates the lights and the other returns the lights to normal levels when daytime returns. I didn't know if it is possible to accomplish what I did with one program using If, Then, Else rather then two.

 

-Paul

post-4018-140474156197_thumb.png

post-4018-140474156199_thumb.png

Posted

I would expect that one program would work. In this case, I would try "status" rather than "control" for your master bedroom keypad condition.

Posted

In retrospect, status would not be right, either.

 

My thoughts are now something like:

 

from 0800 am 
to 1000 pm (same day)
or
control master keypad ... switched off
or
control master keypad ... is not switched on


then
set shade... on
set master... on
set master ... on

else
set ... off
set ... off
set ... off

 

I expect a program such as this to trigger at: 0800am (evaluates true), 1000pm (evaluates false), keypad off (evaluates true), keypad on (evaluates false). This also assumes that your master keypad is a relay (not dimmer).

 

Hopefully, this works, or give you some ideas to combine these two into a single program.

  • 2 months later...
Guest
This topic is now closed to further replies.

×
×
  • Create New...