Posted: December 10 2002 at 16:14 | IP Logged
|
|
|
Tony,
I looked at those sites yesterday but they didn’t help, but I spent a little more time today and I got it to work. Here are the long steps it took me to get the right answer.
The basic information from the web site provided me with the codes. For example: Here is the extended code: Data= 00111111 (H#3F), Type= 0011 (H#3), Command= 0001 (H#1). This should send the command to turn the light on full without dimming up. So now how do I get that command sent. Well in my macro I tried this:
SEQ | TYPE | ID | VALUE | SEND KEYS/TTS/DIM/FORMULA
10 | X-10 1 | B | 14 EXTENDED | 0011111100110001
I test it and check my Log and here is what it shows:
X-10 controller 1 transmission of House code: B, Unit Code: 14, Extended Data: D4B1
But that’s not the right Hex code.
So I thought maybe it needs the Hex so I put in 3F31 in the Send keys then the log shows this:
X-10 controller 1 transmission of House code: B, Unit Code: 14, Extended Data: 0000
Finally I tried the decimal value 16177 and the log showed this:
X-10 controller 1 transmission of House code: B, Unit Code: 14, Extended Data: 3F31
So now I have the extended code right and it seems to work.
So after some trial an error I got it, maybe I missed it in the manual but I did not see anything about sending extended codes and the need to be in decimal.
Dave why do the extended codes use decimal and not Hex or even binary?
=========================================================
All:
Here is how to use extended codes for Lights:
In a macro use the ID of the units House Code, and then pick the unit number with the EXTENDED extension. In the Send keys field put one of the decimal values listed below.
% Light |
DEC |
OFF |
49 |
2 |
305 |
3 |
561 |
5 |
817 |
6 |
1073 |
8 |
1329 |
10 |
1585 |
11 |
1841 |
13 |
2097 |
14 |
2353 |
16 |
2609 |
17 |
2865 |
19 |
3121 |
21 |
3377 |
22 |
3633 |
24 |
3889 |
25 |
4145 |
27 |
4401 |
29 |
4657 |
30 |
4913 |
32 |
5169 |
33 |
5425 |
35 |
5681 |
37 |
5937 |
40 |
6449 |
41 |
6705 |
43 |
6961 |
44 |
7217 |
46 |
7473 |
48 |
7729 |
49 |
7985 |
51 |
8241 |
52 |
8497 |
54 |
8753 |
56 |
9009 |
57 |
9265 |
59 |
9521 |
60 |
9777 |
62 |
10033 |
63 |
10289 |
65 |
10545 |
67 |
10801 |
68 |
11057 |
70 |
11313 |
71 |
11569 |
73 |
11825 |
75 |
12081 |
76 |
12337 |
78 |
12593 |
79 |
12849 |
81 |
13105 |
83 |
13361 |
84 |
13617 |
86 |
13873 |
87 |
14129 |
89 |
14385 |
90 |
14641 |
92 |
14897 |
94 |
15153 |
95 |
15409 |
97 |
15665 |
98 |
15921 |
Full On |
16177 |
For example I want my B-14 light switch to come on to 30% brightness no matter what it currently is set to, so my macro would look like this:
SEQ| TYPE |ID| VALUE | SEND KEYS/TTS/DIM/FORMULA
10 |X-10 1 |B | 14 EXTENDED | 4913
And now play your macro and check your status.
I don’t know how well this works for other controllers as I have only tested on a Leviton 16383-WI.
NOTE: The Full ON code (16177) above does not dim up, to dim up use the X-10 ON command if you do not have the preset dim, if you have preset dim then us the 98% light level code (15921) fallowed by the a full on code (16177).
Good Luck!
|