The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAP Framework - x10 Connector


  • Subject: Re: xAP Framework - x10 Connector
  • From: "Alistair Watkins" <ukha@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 19 Oct 2004 19:38:39 -0000



Edward,

Sorry in the delay in replying, heve been kinda side tracked..
Looking at the log, I see the following:

19/10/2004 20:30:49 : ---------------------
19/10/2004 20:30:49 : Start log: 20:30:49 19 October 2004
19/10/2004 20:30:49 : Sending status request
19/10/2004 20:30:49 : R:ff R:ff R:29 R:1e R:0a R:24 R:84 R:67 R:00
R:00 R:00 R:00 R:00 R:00 Got status
19/10/2004 20:30:49 : Received status response => unit present
19/10/2004 20:31:07 : Send 2 bytes
19/10/2004 20:31:07 : T:04 T:56
19/10/2004 20:31:07 : R:5a Got poll, send poll ack
19/10/2004 20:31:07 : T:c3
19/10/2004 20:31:07 : Rx interrupted Tx
19/10/2004 20:31:12 : Transmit timeout, txState = interrupted
19/10/2004 20:31:12 : Resend 2 bytes, attempt 1, txState = interrupted
19/10/2004 20:31:12 : T:04 T:56
19/10/2004 20:31:12 : R:5a Too slow responding to poll, try again
19/10/2004 20:31:17 : Transmit timeout, txState = checksumPending
19/10/2004 20:31:17 : Resend 2 bytes, attempt 2, txState =
checksumPending
19/10/2004 20:31:17 : T:04 T:56
19/10/2004 20:31:17 : R:5a Got poll, send poll ack
19/10/2004 20:31:17 : T:c3
19/10/2004 20:31:17 : Rx interrupted Tx
19/10/2004 20:31:22 : Transmit timeout, txState = interrupted
19/10/2004 20:32:27 : Tried to send in txState = interrupted

now, I can see there are errors there, but I dont know why they are
happening.  the only thing I can think of it maybe due to is the
speed of my machine? I'm running this off my ITX box, which is
running Apache as well.. and Windows 2k, so its pretty slugish, dunno
if this is the problem though!

Any thoughts?

thanks,

alistair






--- In xAP_developer@xxxxxxx, "Edward Pearson"
<edward.mailgroup@b...> wrote:
> Alistair,
>
> The .net X10 connector is two-way so it should behave as you
describe.
> It'd be helpful if you could take a look at the log file that it
produces,
> commlog.txt which you will find alongside the plugin dll. This
documents all
> the interactions with the CM11.
>
> One comment on your message below: you say, "this would then
toggle
the G1
> light and turn it off", it would turn it on (maybe that's just a
typo), and
> there's no 'toggle' function, you have to send 'command=on' and
> 'command=off' explicitly.
>
> I'm now going to go and plug my X10 stuff together and check it
out - I've
> still not unpacked from UKHA04!
>
> Edward
>
> -----Original Message-----
> From: Alistair Watkins [mailto:ukha@a...]
> Sent: 05 July 2004 22:59
> To: xAP_developer@xxxxxxx
> Subject: [xAP_developer] xAP Framework - x10 Connector
>
>
> Hi.
>
> been toying with xAP for a while, but am actually trying to make
use
> of it now.
> I had used patricks Linux xAP X-10 connector, but now I have
migrated
> the server over to windows I'm looking at the .NET stuff, but I
cant
> seem to figure out the 'new' x10 connector!
>
> with patricks proggy i send (something simular to) :
>
>     xap-header
>     {
>         v=12
>         hop=1
>         uid=FF123400
>         class=xap-x10.request
>         source=home.webserver.php
>         target=ERSP.X10.kevin
>     }
>     xap-x10.request
>     {
>         command=On
>         device=G1
>     }
>
> this would then toggle the G1 light and turn it off. but with
> the .net connector nothing seems to be sent to the powerline (G1
> stays off), but i do get an x10-event message back.
>
>     xap-header
>     {
>         v=12
>         hop=1
>         uid=FF182000
>         class=xAP-X10.Event
>         source=ERSP.X10.kevin
>     }
>     xAP-X10.Event
>     {
>         command=On
>         device=G1
>     }
>
> which is exactly the same as the connector sends when i put an x10
> command on the powerline.
>
> is this functioning correctly? does the connector not pass on xAP >
> x10 messages?
>
> I am pretty sure that the connecter is talking to the CM12U as it
> sends a message when i send an x10 command...  Im using the xFX
> Message viewer on my PC to see the messages.
>
> Well if you need any more further info, please ask!
>
> Thanks Guys,
>
> Alistair
> (cant wait to get the doorbell xAPified!)
>
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
<http://us.ard.yahoo.com/SIG=129thrcrq/M=295196.4901138.6071305.300117
6/D=gr
>
oups/S=1705007709:HM/EXP=1089151202/A=2128215/R=0/SIG=10se96mf6/*http:
//comp
> anion.yahoo.com> click here
>
> <http://us.adserver.yahoo.com/l?
M=295196.4901138.6071305.3001176/D=groups/S=
> :HM/A=2128215/rand=801350260>
>
>
>   _____
>
> Yahoo! Groups Links
>
>
> *	To visit your group on the web, go to:
> http://groups.yahoo.com/group/xAP_developer/
>
>
> *	To unsubscribe from this group, send an email to:
> xAP_developer-unsubscribe@xxxxxxx
> <mailto:xAP_developer-unsubscribe@xxxxxxx?
subject=Unsubscribe>
>
>
> *	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/>
.






xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.