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: xPLRioNet To Do List


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

Re: xPLComfort install trouble




> You could try the following script - you'll need to substitute
"myserver" with the
actual instance of your Comfort application as it appears under "xPL
Devices".
>
> Sub johnb_comfort_myserver_trigger(XplMsg)
>   ' First examine the type parameter
>   Select Case Xpl.GetParam(xplmsg,"type",True)
>   Case "input"
>     If xpl.GetParam(xplmsg,"current",True) = "on"
Then
>       ' Zone has been activated
>       call
xpl.SendMsg("","","osd.basic","command=clear"
& vbLf & "text=Zone " &
xpl.GetParam(xplmsg,"device",True) & " activated!")
>     End If
>  End Select
> End Sub
I managed to get something like that working already. But shouldn't I check
that the
incoming message is of the expected class (or schema I guess is the right
term in xPL
land) for completeness?

Next step is indeed conversion to names (along with phone number to names).
Got a mysql DB
on a linux server...now will try and work out how to use mysql from VB. I
guess it's not
hard.

Thanks,
Paul





xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

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.