X10 Community Forum
💬General Category => General Discussion => Topic started by: alegon on August 01, 2007, 08:04:05 PM
-
HI,
I AM TRYING TO USE the X10.
I SERIAL SENDING FOR THE COMMAND 11100110011001110011000111
TO POWER HOUSE "A" KEY NUMER "1"
IT DOES NOT FUNCTION >:(
WHERE IT IS THE ERROR?
THANKS
-
First, please do not use all CAPITAL letters (unless you have no choice) as this is seen as SHOUTING! ;)
It sounds like you are sending a string of bits out the serial port?
What device is connected to your computer's serial port to put the output on the power line?
From the way your post reads, I believe you are not an english speaker. What is your native language?
We will help all we can if you can give more detail.
-
Hi
Excuse I don't speak English.
I am from Brazil. I speak Portuguese.
I am programmer windows dot net
I am use CM11A in computer serial.
I sending the command for serial port 11100110011001110011000111
1110 0110 01100 1110 0110 00111
star house key start house Function
code code code code code code (off)
I want to turn off X10 Appliance Module (house "A" key "1")
what is wrong?
thank you
-
Hi
Excuse I don't speak English.
I am from Brazil. I speak Portuguese.
I am programmer windows dot net
I am use CM11A in computer serial.
I sending the command for serial port 11100110011001110011000111
1110 0110 01100 1110 0110 00111
star house key start house Function
code code code code code code (off)
I want to turn off X10 Appliance Module (house "A" key "1")
what is wrong?
thank you
The code you describe is the bit stream that the CM11A transmits over the power line, not what you should write to the CM11A.
To program the CM11A to send the "A1 Off" signal, you have to communicate with the CM11A as follows.
Address the module "A1":
1. Send the two bytes 0x04 0x66
2. Read back the checksum, which should be 0x6a
3. Send the byte 0x00 to tell the CM11A to transmit the code over the powerline.
4. Read back the "ready" code 0x55
5. Delay for 3 AC powerline cycles.
Send the command function "A Off":
1. Send the two bytes 0x06 0x63
2. Read back the checksum, which should be 0x69
3. Send the byte 0x00 to tell the CM11A to transmit the code over the powerline.
4. Read back the "ready" code 0x55
5. Delay for 3 AC powerline cycles (before sending another address or function).
For more details, see the CM11A protocol at:
http://software.x10.com/pub/manuals/cm11a_protocol.txt
-
alegon,
Give more information = get better answer! You see? ;D
(I try to keep simple for translator program!) ;)
Good luck! :D
-
Bill,
I don't quite understand.
house code A =0110
Key code 1 = 01100
How do you get from 01100110 to 0x04,0x66
What conversion did you use?
thank you
-
Bill,
I don't quite understand.
house code A =0110
Key code 1 = 01100
How do you get from 01100110 to 0x04,0x66
What conversion did you use?
thank you
I'm not Bill.
01100110 = 0x66
Read section 3 of the protocol and you will understand.
http://software.x10.com/pub/manuals/cm11a_protocol.txt