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: Control schema


  • Subject: Re: Control schema
  • From: Frank Mc Alinden
  • Date: Mon, 08 Dec 2003 10:22:00 +0000

Hi Ian
Im not sure how my Probe Hub fits within the schema.....How it works
with HV is as follows..Its a multizone input device ...But Homevision
" REQUESTS
" the status of an input (probe) when it needs to know its
status....Can this be
used with the Contol Schema ?? The Probe Hub does not report a change in
status
of inputs....So would the following be allowed...
XPL-CMND
CONTROL.BASIC
COMMAND = STATUS
ZONE = X
PROBE =X
and the hub replies
XPL_CMND? or STAT??
CONTROL.BASIC
STATUS = HIGH OR LOW
ZONE = X
PROBE = X

THANKS
Frank
----- Original Message -----
From: Ian Lowe
To: <a
href="/group/ukha_xpl/post?postID=t98U4Pscul6q81_HoFZr9gP285arYCiXYqQMkIG4pbXq8ehMklc4vC8TTJOqeqfM9UxsDlYCSBlL3EynVXU0Ywc">ukha_xpl@xxxxxxx</a>
Sent: Monday, December 08, 2003 8:45 PM
Subject: Re: [ukha_xpl] Control schema


Yeah, my bad on that one. Our server was DDoSed for about a week, still
getting things back to normal.

Here's the details you need:

SENSOR.BASIC &amp; CONTROL.BASIC

Trigger Messages that come from a device are of type
"SENSOR.BASIC" or an
extension of SENSOR. Command Messages attempting to SET a value are of type
"CONTROL.BASIC". There is no Trigger of type "Control"
and there is no
Command of type "Sensor"

The Basic Structure is:

<message header>
{
DEVICE=
TYPE=
CURRENT=
[DATA1=]
[NAME]=
}

NAME= is an optional "friendly" label
DATA1= exra parameters approrpriate for a given type of device

In terms of setting items: Where current= can explain it all
that should be used e.g. current=HIGH or LOW or INC or DEC but where it
needs more info like increment counter by 4 you would use

CURRENT=INC
DATA1=4

The "type" of device can be:

INPUT - ENABLE, DISABLE
OUTPUT - ENABLE, DISABLE, HIGH, LOW, TOGGLE, PULSE
FLAG - SET, CLEAR, NEUTRAL
VARIABLE - INC, DEC, 0-255 (for set)
INFRARED - SEND, ENABLE_RX, DISABLE_RX, ENABLE_TX, DISABLE_TX, SENDX (send
x
times)
MACRO - ENABLE, DISABLE, DO
PERIODIC - STARTED, ENABLE, DISABLE
SCHEDULED - STARTED, ENABLE, DISABLE
TIMER - WENT OFF, START, STOP, HALT, RESUME
MUTE - YES, NO
SLIDER - 0-255
BALANCE - -100 to +100

(this list will grow, and will be held in an XML file, similar to the
xplhal
Manager plugins)




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.