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]

xAP BSC



Queryette for the BSC knowledgeable:

66
Example:

xap-header
{
v=12
hop=1
uid=FF776147
class=xAPBSC.info
source= ACME.Lighting.apartment:Outside.Floodlights
}
output.state
{
State=OFF
}

In this case, the hardware endpoint known Outside.Floodlights
corresponding to  subUID endpoint 47 (Hex) has provided information.
It is a binary device and is currently off. However, this information
represents a request to a query, or a startup, or a periodic
notification. It is explicitly NOT a state change (because that would
have been a xAPBSC.event message instead.) However, it may be a
"new"
state as a result of device startup.
99

This seems to indicate that on startup I should send a xAPBSC.Info
message rather than a xAPBSC.Event? Is that correct, despite being a
change of state, say from Indeterminate to Off?

S
--
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET

http://www.xapautomation.org/ 
     http://www.xapframework.net/




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