[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
Re: CM15A & receiving dim
On Sat, 18 Nov 2006 23:23:37 GMT, Dave Houston wrote:
> Neil Cherry <njc@xxxxxxxxxxx> wrote:
>
> [snip]
>
>>Dave thanks this goes a long way towards getting the CM15A up and
>>running with Mr. House. Next up is translating:
>>
>>5a0508313f0667
>>
>>The CM11A and Mr. House reports it as brighten A 1 to 100% (I think
>>it's a preset bright command). I have to sit down and decode the
>>middle 2 bytes. Here's what I've got so far:
>>
>>5A - Power Lince
>>05 - 5 bytes
>>08 - Extended
>>31 - ASCII 1
>>3f -
>>06 -
>>67 - HC = A FC = Extended code
>>
>>I'll have to sit down with the xtc797 doc to see if I can decode
>>this.
>
> Look at XTC798.TXT on my webpage. It's just the X-10 DOC reformatted to make
> it readable.
>
> http://davehouston.net/xtc798.txt
>
> N1 Extended Dim 63 (100%) gives 5A 05 01 87 06 3F 31 with the CM11A.
>
> It looks like they changed the order of some of the bytes from the CM11A
> protocol.
Thanks, that will be very helpful! It looks like the have the
following format (using the previous example):
5A - The what (Power line, RF, Macro, etc)
05 - Byte that follow
08 - Bit map type of data that follows
31 - data
3f - data
06 - data
67 - House code (high nibble) key code (low nibble)
The last byte seems to be the House code/Function code or House
code/Address code is all the commands such as in the simple a1aoff:
(5a020066) A1
(5a020163) AOff
> One thing that might be worth checking is whether the 11, 22, 33, 44 seen
> when you convert your first 4 DIM levels to decimal holds for higher DIM
> levels.
Easy enough to check, I can run a script adding dims to the end of the
command issued. Here's the script:
(T="n1" ; for i in $(seq 1 23); do T="${T}nm"; echo $T; sudo perl ti103.pl $T; sleep 5; done; )
Basically it says run the script 23 time and send the string to the
TI103. Each time the script loops it add an 'nm' (N Dim) to the end of
the string. This will send from 1 to 23 dims. The output shows up in a
Mr. House log. After I've cleaned it up and removed the redundant
information (each dim burst is preceded by an N1 (5a020086)). It
looks like this:
) 1 dims = 0b (11)
(5a03020b84) 2 dims = 0b (11)
(5a03021684) 3 dims = 16 (22)
(5a03022184) 4 dims = 21 (33)
(5a03022c84) 5 dims = 2c (44)
(5a03023784) 6 dims = 37 (55)
(5a03024284) 7 dims = 42 (66)
(5a03024d84) 8 dims = 4d (77)
(5a03025884) 9 dims = 58 (88)
(5a03026384) 10 dims = 63 (99)
(5a03026e84) 11 dims = 6e (110)
(5a03027984) 12 dims = 79 (121)
(5a03028484) 13 dims = 84 (132)
(5a03028f84) 14 dims = 8f (143)
(5a03029a84) 15 dims = 9a (154)
(5a0302a584) 16 dims = a5 (165)
(5a0302b084) 17 dims = b0 (176)
(5a0302bb84) 18 dims = bb (187)
(5a0302c684) 19 dims = c6 (198)
(5a0302d184) 20 dims = d1 (209)
(5a0302d284) 21 dims = d2 (210)
(5a0302d284) 22 dims = d2 (210)
(5a0302d284) 23 dims = d2 (210)
BTW, I did the 20 dims twice and that's the odd number (0xD1 / 209) I
came up with both times.
--
Linux Home Automation Neil Cherry ncherry@xxxxxxxxxxx
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
comp.home.automation Main Index |
comp.home.automation Thread Index |
comp.home.automation Home |
Archives Home