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 4 made on Wednesday September 15, 1999 at 08:50
Simon Ngan
Historic Forum Post
Hi Roland,

What you have done is exactly what I'm looking for. I went a little bit further and did the following:

Schedule file: weekday.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
IF B2>0 THEN END ; something new I added
B2,B3 ON ; turns lamps B2 & B3 ON
PAUSE 7200 ; wait 7200 seconds (2 hours)
B2,B3 OFF ; turns lamps B2 & B3 OFF

---------------------
Basically I have to put the away schedule in the WEEKDAY.SCH so that it will run along with other schedules (I haven't been able to have time to modify weekends and holidays). Then at 19:00, the script will run as it's supposed to.

I added a new line just in case I decided not to go out and the light has already been turned on, the script will not run.


The following are some of the scripts I created last night:

THEATER LIGHTS ON:
------------------
IF Time
IF A1>0 THEN A1 OFF ; I don't like this one, but it will make sure the script will work 100%
A1 DIM TO 50% ; After it's off, it will then dim down to 50%
A2 OFF ; turn off other lamp
A3 OFF ; turn off other lamp

I haven't found a command to issue an "ABSOLUTE DIM". If it happens to be the ceiling light is already on and dim to 70%, when I issue a DIM 50%command, the final result is going to be 20% rather than absolute 50%. Therefore, I made that line so it sort of reset the dim level and will always go to 50%. I'm not satisfied with this script because if the light is already on, then it will be turned off then then on then dim to 50%. I want to improve it to if it's already on, it will dim to 50% and that's it.

THEATER LIGHTS OFF:
-------------------
IF Time
A2 ON
A3 OFF
IF A1>0 THEN A1 DIM TO 0%
A1 OFF

This script will basically turn on one lamp and leave everything else off. A1 (ceiling fixture) will be dimmed down to 0% then OFF. Also the script can only be run after the sun has set down. I'm satisfied with this script!

PANIC:
------
FlashN A1,4,0
FlashN A5,4,0
FlashN A8,4,0
FlashN A7,4,0

I wanted to flash all those lights at once, but it will take too long to process one cycle (unless they are in the same code like A10). Therefore, I flash them one by one. At a later time, I will add a chime module so it will sound also. I'm sort of happy with this, but I wanted to flash lights all at once. I wonder if I add a chime module, can I set it to chime for 2 minutes while other lights are flashing?

I found out this Commander-X program is superb and there is almost nothing you can't do with it. It's like Pronto, it's only limited to your imagination.

Thanks Roland for your tips.

Simon


Hosting Services by ipHouse