[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
|