Your Universal Remote Control Center
RemoteCentral.com
Lighting & Home Control Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 33 made on Sunday September 26, 1999 at 01:47
Simon Ngan
Historic Forum Post
I found something in CommanderX about a work around for IF..AND..THEN logic. Here is my code:

:Flag=1
IF Time (less than) Dusk THEN :Flag=0
IF Time>2145 THEN :Flag=0

IF :Flag=1 THEN A7 DIM TO 40%
ERASE :Flag

This is part of the HT Lights OFF script. What it does is it will check the time whether it's dusk "AND" the time is before 21:45, it will then turn on and dim the lamp.

This is similar to what Roland had written for the DUSK and DAWN controls.

I'm also going to get more Hawk Eye so they will check if someone is in the house. If it hasn't detected anything for 2 hours, then it will enable the IN TOWN (Away) macro. This way I don't need to remember to enable the macro before I go out.

Simon


Hosting Services by ipHouse