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: Re: RS485 - XPL on the wire




Hi Frank,

> > Rather than creating a DMX-specific schema, we could probably
make use of
> the standard control schema, as follows:
> >
> > control.basic
> > {
> > device=<dmx channel>
> > type=dmx
> > current=<dmx level>
> > }
> >
> > And use sensor.basic for reporting data back from DMX (if
required).
> >
>
> Okay .......Im a little confused......When Tony did my Probe App he
created
> a probe.basic schema and i have done the same with xpl FirM.....ie
> FirM.Basic.....???
>
> Looks like i need to change my xPL FirM code......Weh are you allowed
to
> create a new schema ??

ISTR the control.basic and sensor.basic schemas were developed about 12
months ago when the HV connector was being written.
The idea was to provide a standard means of controlling basic devices, such
as inputs, outputs, lights etc. without each device having it's own
specific schema.

An xpl-cmnd message using control.basic is used to control a device.
An xpl-trig message is used with sensor.basic when a device wishes to
report an event (e.g. button press etc.)
An xpl-stat message is used with sensor.basic for status reporting.

It's really up to the device developer to decide whether to use the
control/sensor schemas, or whether their device needs it's own schema.
For devices like the probe and FirM, I don't think control/sensor schemas
are appropriate, as these are specialist devices that I think are probably
best suited to their own device-specific schemas.

HTH,

John




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.