Home > Archive > Home Automation > March 2007 > X10 Status request









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author X10 Status request
Jack B. Pollack

2007-03-21, 3:25 am

I have a 2-way module and a TW523 2-way interface.

Using a PIC microcontroller I am able to send on, off, etc code to the
modules, and read commands sent by controllers.

I am looking for some help sending a STATUS request to my 2 way module.


XOUT X10Out,zCross,[house\unit,House\%11001] ' <----%11001 is correct code
for status request not 11111
XIN X10in,zCross,[housekey]
SerOut2 PORTA.3,16468,#housekey,13,10]


Sending above returns 517 (1000000101) if the module is on or off. Any ideas
why I am getting the same answer for both states? Do I need to send an
extend code first?

Any general help or info regarding the status request would be appreciated.


Jack B. Pollack

2007-03-21, 9:25 am

Never mind. figured it out. I need to read 2 samples to see the on/off code
(the first is the bright level)

"Jack B. Pollack" <N@NE.nothing> wrote in message
news:46009e9a$0$8985$4c368faf@roadrunner.com...
> I have a 2-way module and a TW523 2-way interface.
>
> Using a PIC microcontroller I am able to send on, off, etc code to the
> modules, and read commands sent by controllers.
>
> I am looking for some help sending a STATUS request to my 2 way module.
>
>
> XOUT X10Out,zCross,[house\unit,House\%11001] ' <----%11001 is correct

code
> for status request not 11111
> XIN X10in,zCross,[housekey]
> SerOut2 PORTA.3,16468,#housekey,13,10]
>
>
> Sending above returns 517 (1000000101) if the module is on or off. Any

ideas
> why I am getting the same answer for both states? Do I need to send an
> extend code first?
>
> Any general help or info regarding the status request would be

appreciated.
>
>



LinkBot





Other archives available: Cellular phones topics archive | Web Design forum archive | Software help archive | Hardware reviews archive | Programming topics archive

Copyright 2004 - 2008 homeownerschat.com