The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: [OT] Programming Language


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

k8000 xPL interface Progress and some questions


  • Subject: k8000 xPL interface Progress and some questions
  • From: "Tom Van den Bon" <tvdbon@xxxxxxxxx>
  • Date: Sat, 03 Dec 2005 12:33:15 -0000

Hi Guys,

I started with the k8000 xPL interface last night and this is the
progress so far:

(a) sends sensor.basic messages on any DIGITAL inputs going high
(b) sets the DIGITAL outputs on any control.basic messages received


Some questions though:

(1)(a) If a digital input is triggered I send the following
sensor.basic schema message:

xpl-trig, sensor.basic,
device=K8000_D1     // where the first IO is triggered
type=input
current=1           // if the input is high

and/or

xpl-trig, sensor.basic,
device=K8000_D1     // where the first input is triggered
type=input
current=0           // if the input is low

(1)(b) If I received the control.basic message that would look like this:

xpl-cmnd, control.basic,
device=K8000_D9     // where is IO9 needs to be set
type=output
current=1           // if it needs to be set high

and/or

xpl-cmnd, control.basic,
device=K8000_D9     // where is IO9 needs to be set
type=output
current=0           // if it needs to be set low

Is this the right way of using this schema or did I get it wrong?

(2) I read in the schema documentation that a status message can be
either sent on regular intervals or when requested by another node on
the network. What sort of message would another node send to get the
status of this device ?

(3) Are there any other incoming messages that I should handle?

k8000 xPL Gateway Todo List:

* Implement the Analog IO
* Make the gateway configurable (still need to figure that one out)
* Handle any additional messages that should be handled

I've got the board connected to several devices and I'm impressed it
works like a dream. I'll be posting the source soon if anybody is
interested.

Thanks,
Tom (vdbon)







xPL Main Index | xPL Thread Index | xPL 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.