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 3 made on Tuesday September 14, 1999 at 23:40
Roland S
Historic Forum Post
I've figured out the lighting macro with Commander-X.

First of all, you need an unused unit code that can be turned ON by remote. In my case, I will assign "B1".

Schedule file: away.sch
------------------------
0000 B1=0 ; initializes B1 to be OFF
1900 IF B1=100 THEN away.scr ; activate script if B1 is ON at 7pm

Script file: away.scr
---------------------
B1 OFF ; reset the macro activator to OFF
B2,B3 ON ; turns lamps B2 & B3 ON
PAUSE 7200 ; wait 7200 seconds (2 hours)
B2,B3 OFF ; turns lamps B2 & B3 OFF


Basically, what it does is that everyday at 7pm, it will check to see if B1 is ON. If it is, it will run the script to turn the lights on for 2 hours. If B1 is OFF, the script does not run.

You can press B1-ON anytime after midnight to activate the light sequence for that day.

** Obviously, Commander-X must be running for this to work.

Simon, let me know if this is what your idea was and if it works.

Roland


Hosting Services by ipHouse