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: Z-Wave Getting Started?



------=_Part_54011_3250037.1135693298991
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thanks for pointing this out to me.  It seems like it will do that trick. 
=
I
never thought about treating each device as a separate address but that
doe=
s
make it more convenient to identify the nodes on the network and for
controlling them.

It looks like I will need to implement some sort of GUI for setting up the
addresses to each device.  This is fine because I was going to develop an
interface for adding and removing devices from the network anyways. I can
just roll the addresses into the setup.

I notice the xAP Framework offers a Custom xml configuration class.  I have
already implemented my own xml parsing class but could probably swap it out
for the xAP Framework class.  Is there any major advantages to using the
xA=
P
class?  I would think that for the purposes of retrieving application
information that any form of accessing the xml file would do just fine.


On 12/27/05, Stuart Booth <lists@xxxxxxx> wrote:
>
> Hey Dave,
>
> The generic, simple, BSC Schema immediately sounds like a suitable
> candidate to support. I've made up a xAP address in some examples
> below.
>
> On Mon, 26 Dec 2005 21:52:00 -0000, "davepow16"
<Davepow16@xxxxxxx>
> wrote:
>
> >So I think that I can make a message available to the client
> >(HomeSeer or CQC) which tells the client all the available node
> >ID's.
>
> The node IDs would map onto xAP hardware subaddress values such as:
>
> Source=3DDavePow16.ZWave.Server:Lounge.Dimmer
> UID=3DFF123401
>
> > With the node ID's available to the client it would be able to
> >ask for information such as device type (IE. Thermostat, Dimmer,
> >Blinds, ect.).
>
> I'm not sure of the best way to encode this information into a BSC
> message. Perhaps in the Source address.
>
> >Different device types provide different status
> >indications and settings.  For example the dimmers return a value
> >from 0 to 99 for their dim levels and 255 if the status is
unknown.
>
> BSC supports a Level setting of the format:
>
> xap-header
> {
>     v=3D12
>     hop=3D1
>     uid=3DFF123401
>     class=3DxAPBSC.info
>     source=3DDavePow16.ZWave.Server:Lounge.Dimmer
> }
> output.state
> {
>     ID=3D01
>     State=3DON
>     Level=3D50/99
> }
>
> A State of "?" indicates the status is unknown.
>
> >Thermostats return the current temp, current fan setting, and
> >current mode setting (cool, heat).
>
> You would use the Text value for this e.g.
>
> xap-header
> {
>     v=3D12
>     hop=3D1
>     uid=3DFF123402
>     class=3DxAPBSC.info
>     source=3DDavePow16.ZWave.Server:Lounge.Thermometer
> }
> output.state
> {
>     ID=3D02
>     Text=3D23.5
> }
>
> >So, I really really need everyones help to first design the
schema.
>
> Supporting BSC allows you to provide a common interface for basic
> devices, giving you immediate wide support from other devices. You can
> also implementing a higher level schema on top of this, but other
> devices must then be aware of this newer, more specific schema.
>
> Hope this helps for starters?
>
> S
> --
> Stuart Booth <stuart@xxxxxxx>
> xAPFramework.NET - a xAP software development framework for .NET
>
> http://www.xapautomation.org/     
 http://www.xapframework.net/
>
>
> SPONSORED LINKS
>   Palm developer<http://groups.yahoo.com/gads?t=3Dms&k=3DPalm+developer&w=
1=3DPalm+developer&w2=3DFilemaker+developer&w3=3DSql+developer&w4=3DCompute=
r+internet+security&w5=3DWeb+developer&w6=3DDeveloper+tool&c=3D6&s=3D135&.s=
ig=3Ds-VhzdIgQqxUdEajDGtCdQ> Filemaker
> developer<http://groups.yahoo.com/gads?t=3Dms&k=3DFilemaker+developer&w1=
=3DPalm+developer&w2=3DFilemaker+developer&w3=3DSql+developer&w4=3DComputer=
+internet+security&w5=3DWeb+developer&w6=3DDeveloper+tool&c=3D6&s=3D135&.si=
g=3DlGgnefWZwGisM8FwbeG8Wg> Sql
> developer<http://groups.yahoo.com/gads?t=3Dms&k=3DSql+developer&w1=3DPalm=
+developer&w2=3DFilemaker+developer&w3=3DSql+developer&w4=3DComputer+intern=
et+security&w5=3DWeb+developer&w6=3DDeveloper+tool&c=3D6&s=3D135&.sig=3DRCE=
EysgM658XhXL6fkmVHA>  Computer
> internet security<http://groups.yahoo.com/gads?t=3Dms&k=3DComputer+intern=
et+security&w1=3DPalm+developer&w2=3DFilemaker+developer&w3=3DSql+developer=
&w4=3DComputer+internet+security&w5=3DWeb+developer&w6=3DDeveloper+tool&c=
=3D6&s=3D135&.sig=3DbIm18F_2jJUWqlxWaPuKKA> Web
> developer<http://groups.yahoo.com/gads?t=3Dms&k=3DWeb+developer&w1=3DPalm=
+developer&w2=3DFilemaker+developer&w3=3DSql+developer&w4=3DComputer+intern=
et+security&w5=3DWeb+developer&w6=3DDeveloper+tool&c=3D6&s=3D135&.sig=3DrL2=
5Ohn9r_NpW8Pscbl4kg> Developer
> tool<http://groups.yahoo.com/gads?t=3Dms&k=3DDeveloper+tool&w1=3DPalm+dev=
eloper&w2=3DFilemaker+developer&w3=3DSql+developer&w4=3DComputer+internet+s=
ecurity&w5=3DWeb+developer&w6=3DDeveloper+tool&c=3D6&s=3D135&.sig=3Dps2RfkQ=
zNqD_ZJvU3Sakhw>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group "xAP_developer<http://groups.yahoo.com/group/xAP_d=
eveloper>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>     xAP_developer-unsubscribe@xxxxxxx<xAP_developer-unsubscribe@y=
ahoogroups.com?subject=3DUnsubscribe>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>

------=_Part_54011_3250037.1135693298991
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html><body>


<div>Thanks for pointing this out to me.&nbsp; It seems like it
will do that trick.&nbsp; I never thought about treating each device as
a separate address but that does make it more convenient to identify the
nodes on the network and for controlling them.
</div>
<div>&nbsp;</div>
<div>It looks like I will need to implement some sort of GUI for
setting up the addresses to each device.&nbsp; This is fine because I
was going to develop an interface for adding and removing devices from the
network anyways. I can just roll the addresses into the setup.
</div>
<div>&nbsp;</div>
<div>I notice the xAP Framework offers a Custom xml configuration
class.&nbsp; I have already implemented my own xml parsing class but
could probably swap it out for the xAP Framework class.&nbsp; Is there
any major advantages to using the xAP class?&nbsp; I would think that
for the purposes of retrieving application information that any form of
accessing the xml file would do just fine.
<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/27/05, <b
class="gmail_sendername">Stuart Booth</b> &lt;<a
href="mailto:lists@xxxxxxx";>lists@xxxxxxx</a>&gt;
wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px
solid"><tt>Hey Dave,<br><br>The generic, simple,
BSC Schema immediately sounds like a suitable<br>candidate to
support. I've made up a xAP address in some examples
<br>below.<span class="q"><br><br>On Mon,
26 Dec 2005 21:52:00 -0000, &quot;davepow16&quot; &lt;<a
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Davepow16@xxxxxxx";
target="_blank">Davepow16@xxxxxxx
</a>&gt;<br>wrote:<br><br>&gt;So I think
that I can make a message available to the client
<br>&gt;(HomeSeer or CQC) which tells the client all the
available node <br>&gt;ID's. <br><br></span>The
node IDs would map onto xAP hardware subaddress values such as:
<br><br>Source=DavePow16.ZWave.Server:Lounge.Dimmer<br>UID=FF123401<span
class="q"><br><br>&gt; With the node ID's
available to the client it would be able to <br>&gt;ask for
information such as device type (IE. Thermostat, Dimmer,
<br>&gt;Blinds, ect.).<br><br></span>I'm not
sure of the best way to encode this information into a
BSC<br>message. Perhaps in the Source address.<span
class="q"><br><br>&gt;Different device types
provide different status
<br>&gt;indications and settings.&nbsp; For example the
dimmers return a value <br>&gt;from 0 to 99 for their dim levels
and 255 if the status is unknown. <br><br></span>BSC
supports a Level setting of the format:<br><br>xap-header
<br>{<br>&nbsp;&nbsp;&nbsp;
v=12<br>&nbsp;&nbsp;&nbsp;
hop=1<br>&nbsp;&nbsp;&nbsp;
uid=FF123401<br>&nbsp;&nbsp;&nbsp;
class=xAPBSC.info<br>&nbsp;&nbsp;&nbsp;
source=DavePow16.ZWave.Server:Lounge.Dimmer<br>}<br>output.state<br>{<br>&nbsp;&nbsp;&nbsp;
ID=01<br>&nbsp;&nbsp;&nbsp;
State=ON<br>&nbsp;&nbsp;&nbsp;
Level=50/99<br>}<br><br>A State of &quot;?&quot;
indicates the status is unknown.
<span class="q"><br><br>&gt;Thermostats
return the current temp, current fan setting, and <br>&gt;current
mode setting (cool, heat).<br><br></span>You would use
the Text value for this
e.g.<br><br>xap-header<br>{<br>&nbsp;&nbsp;&nbsp;
v=12
<br>&nbsp;&nbsp;&nbsp;
hop=1<br>&nbsp;&nbsp;&nbsp;
uid=FF123402<br>&nbsp;&nbsp;&nbsp;
class=xAPBSC.info<br>&nbsp;&nbsp;&nbsp;
source=DavePow16.ZWave.Server:Lounge.Thermometer<br>}<br>output.state<br>{<br>&nbsp;&nbsp;&nbsp;
ID=02<br>&nbsp;&nbsp;&nbsp; Text=23.5<span
class="q"><br>}<br><br>&gt;So, I really
really need everyones help to first design the schema.
<br><br></span>Supporting BSC allows you to provide a
common interface for basic<br>devices, giving you immediate wide
support from other devices. You can<br>also implementing a higher
level schema on top of this, but other
<br>devices must then be aware of this newer, more specific
schema.<br><br>Hope this helps for
starters?<br><br>S<br>-- <br>Stuart Booth
&lt;<a onclick="return
top.js.OpenExtLink(window,event,this)" href="mailto:stuart@xxxxxxx";
target="_blank">
stuart@xxxxxxx</a>&gt;<br>xAPFramework.NET - a xAP software
development framework for .NET<br><br><a
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.xapautomation.org/";
target="_blank">http://www.xapautomation.org/
</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.xapframework.net/";
target="_blank">http://www.xapframework.net/</a><br></tt>
<div><span class="e"
id="q_1086beef7ea005d8_11"><br><br>
<div style="MARGIN-BOTTOM: 1px; WIDTH: 500px; COLOR: #909090;
TEXT-ALIGN: right"><tt>SPONSORED LINKS</tt>
</div>
<table cellspacing="13" cellpadding="0"
width="500" bgcolor="#e0ecee">
<tbody>
<tr valign="top">
<td style="WIDTH: 25%"><tt><a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/gads?t=ms&amp;k=Palm+developer&amp;w1=Palm+developer&amp;w2=Filemaker+developer&amp;w3=Sql+developer&amp;w4=Computer+internet+security&amp;w5=Web+developer&amp;w6=Developer+tool&amp;c=6&amp;s=135&amp;.sig=s-VhzdIgQqxUdEajDGtCdQ";
target="_blank">
Palm developer</a></tt> </td>
<td style="WIDTH: 25%"><tt><a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/gads?t=ms&amp;k=Filemaker+developer&amp;w1=Palm+developer&amp;w2=Filemaker+developer&amp;w3=Sql+developer&amp;w4=Computer+internet+security&amp;w5=Web+developer&amp;w6=Developer+tool&amp;c=6&amp;s=135&amp;.sig=lGgnefWZwGisM8FwbeG8Wg";
target="_blank">
Filemaker developer</a></tt> </td>
<td style="WIDTH: 25%"><tt><a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/gads?t=ms&amp;k=Sql+developer&amp;w1=Palm+developer&amp;w2=Filemaker+developer&amp;w3=Sql+developer&amp;w4=Computer+internet+security&amp;w5=Web+developer&amp;w6=Developer+tool&amp;c=6&amp;s=135&amp;.sig=RCEEysgM658XhXL6fkmVHA";
target="_blank">
Sql developer</a></tt> </td></tr>
<tr valign="top">
<td style="WIDTH: 25%"><tt><a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/gads?t=ms&amp;k=Computer+internet+security&amp;w1=Palm+developer&amp;w2=Filemaker+developer&amp;w3=Sql+developer&amp;w4=Computer+internet+security&amp;w5=Web+developer&amp;w6=Developer+tool&amp;c=6&amp;s=135&amp;.sig=bIm18F_2jJUWqlxWaPuKKA";
target="_blank">
Computer internet security</a></tt> </td>
<td style="WIDTH: 25%"><tt><a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/gads?t=ms&amp;k=Web+developer&amp;w1=Palm+developer&amp;w2=Filemaker+developer&amp;w3=Sql+developer&amp;w4=Computer+internet+security&amp;w5=Web+developer&amp;w6=Developer+tool&amp;c=6&amp;s=135&amp;.sig=rL25Ohn9r_NpW8Pscbl4kg";
target="_blank">
Web developer</a></tt> </td>
<td style="WIDTH: 25%"><tt><a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/gads?t=ms&amp;k=Developer+tool&amp;w1=Palm+developer&amp;w2=Filemaker+developer&amp;w3=Sql+developer&amp;w4=Computer+internet+security&amp;w5=Web+developer&amp;w6=Developer+tool&amp;c=6&amp;s=135&amp;.sig=ps2RfkQzNqD_ZJvU3Sakhw";
target="_blank">
Developer tool</a></tt>
</td></tr></tbody></table><br>
<div style="WIDTH: 500px; COLOR: #909090; TEXT-ALIGN:
center">
<hr style="WIDTH: 500px; BORDER-BOTTOM: 1px; TEXT-ALIGN:
left">
<tt>YAHOO! GROUPS LINKS</tt> </div><br>
<ul><tt>
<li type="square">&nbsp;Visit your group
&quot;<a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://groups.yahoo.com/group/xAP_developer";
target="_blank">xAP_developer</a>&quot; on the
web.<br>&nbsp;</li></tt> <tt>

<li type="square">&nbsp;To unsubscribe from this group,
send an email to:<br>&nbsp;<a onclick="return
top.js.OpenExtLink(window,event,this)" href="mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe";
target="_blank">
xAP_developer-unsubscribe@xxxxxxx</a><br>&nbsp;</li></tt>
<tt>
<li type="square">&nbsp;Your use of Yahoo! Groups is
subject to the <a onclick="return
top.js.OpenExtLink(window,event,this)" href="http://docs.yahoo.com/info/terms/";
target="_blank">Yahoo! Terms of
Service</a>.</li></tt> </ul>
<br>
<div style="WIDTH: 500px; COLOR: #909090; TEXT-ALIGN:
center">
<hr style="WIDTH: 500px; BORDER-BOTTOM: 1px; TEXT-ALIGN:
left">
</div></span></div></blockquote></div><br>




<!-- **begin egp html banner** -->

<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
<tt>YAHOO! GROUPS LINKS</tt>
</div>
<br>
<ul>
<tt><li type=square>&nbsp;Visit your group "<a
href="http://groups.yahoo.com/group/xAP_developer";>xAP_developer</a>"
on the web.<br>&nbsp;</tt>
<tt><li type=square>&nbsp;To unsubscribe from this group,
send an email to:<br>&nbsp;<a href="mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe";>xAP_developer-unsubscribe@xxxxxxx</a><br>&nbsp;</tt>
<tt><li type=square>&nbsp;Your use of Yahoo! Groups is
subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.</tt>
</ul>
<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
</div>
</br>

<!-- **end egp html banner** -->


</body></html>

------=_Part_54011_3250037.1135693298991--



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.