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 xplhal scripting help (kevin h?)




Gregg Liming wrote:

>Kevin Hawkins wrote:
>
>
>
>>I also have a more generic script that places all xPL packets out
on xAP
>>and allows a xPL message to be sent from a xAP schema.  One of the
>>issues is that the bridge in xPLHAL still needs some extra features
to
>>allow header manipulation from scripts , it's been on the xPLHAL
feature
>>request list for a year + now  . xAP has a richer set of data in
the
>>messages which means that although xPL messages can all be sent as
xAP
>>the reverse is not true, for example xAP address constructs are
longer
>>and hence get truncated on xPL ,  plus xAP has multi level
wildcarding
>>support and multiple message bodies , also the UID field and sub
>>addressing are not features supported in xPL.   xAP has the
flexibility
>>to support all xPL traffic but xPL can't support all xAP messages,
>>that's a lot of the reason that using xAP as my main choice works
well
>>for me as I can pick and choose applications from either.
>>
>>
>>
>>
>>
>
>Kevin,
>
>    Would you be willing to make this script accessible?  I have been
>thinking about adding corresponding functionality into misterhouse.
>
>Gregg
>
>
>
Of course...

I haven't ever posted it as it needed the extra features in xPLHAL
to be added to work correctly to the xAP spec (each app should have a
unique ID) - so currently it's a bit brute force / untidy  and not to
spec.    I will post the script here when I dig it out later. IIRC to
send a xPL message from xAP you just set the class of the xAP message to
one of the four allowable xPL types and it will bridge it. All xPL
traffic bridges transparently to xAP . No schema translations are done
although I do intend to add this for a couple of things later.  You need
to be careful the source/target addresses are mappable as they will be
truncated on xPL. Neil - it also shows how to bridge back from xAP to xPL.

If you have any Q's on the xAP side for the Misterhouse integration
then just ask away Gregg,

Kevin




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