💬General Category > General Discussion

BEGINNING IN X10

(1/2) > >>

alegon:
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




-Bill- (of wgjohns.com):
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.

alegon:
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






Charles Sullivan:

--- Quote from: alegon on August 02, 2007, 10:20:29 AM ---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


--- End quote ---

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




-Bill- (of wgjohns.com):
alegon,

Give more information = get better answer!  You see?   ;D

(I try to keep simple for translator program!)  ;)

Good luck!   :D

Navigation

[0] Message Index

[#] Next page

Go to full version