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 6 made on Tuesday September 14, 1999 at 14:58
Roland S
Historic Forum Post
I downloaded Commander X and looked at the command set... Here is a script to try. I'm at work and not using the program to test it, so I don't know if this will work or not...

filename: AWAY.SCH (load this into memory)
-------------------------------------------
0000 A1 OFF ; an arbitrary unit code turned off when schedule loads
0000 SETWATCH A1=100 AWAY.SCR ; if A1-ON is pressed, run script AWAY.SCR


filename: AWAY.SCR (will run when A1-ON is pressed)
------------------------------------------
WHEN YYYYMMdd1900 B1,B2,B3 ON ; when time is 7pm, turn on A2,A3,A4 (e.g. lamps)
PAUSE 7200 ; wait for 7200 seconds (2 hours)
A2,A3,A4 OFF ; turn off the 3 lamps
A1 OFF ; reset A1 so it won't activate the script next day at 7pm



...that's it, I think...

The thing I don't know (since i haven't used the program yet) is if once the schedule is loaded, it unloads itself at 23:59 or it monitors continuously day after day.


Roland


Hosting Services by ipHouse