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: Barionet xAP code


  • Subject: Re: Barionet xAP code
  • From: Andre Van Der Merwe <andrevdm@xxxxxxxxx>
  • Date: Wed, 4 Jun 2008 13:17:12 -0700 (PDT)

--0-712474413-1212610632=:68516
Content-Type: text/plain; charset=us-ascii

Hi Kevin,
&nbsp;
no you answered my questions. i have just not checked this email recently.
&nbsp;
the system is now working and i am getting the 1-wire temperatures out
fine. Unfortunately the Barionet BCL code does not support floating point
variables, so I can only get integer degree celcius out. If is use the
correct xAP schema , typically 23degC corresponds to 368/4096. this works
great.
&nbsp;
Now i am working on getting the 368/4096 to make some sence in homeseer.
&nbsp;
I&nbsp;made some changes to the code to achieve the above. Also in the
code it refers to a "config.txt" file which should change to
"xapcfg.txt". Shall i send the update ?

--- On Tue, 6/3/08, Kevin Hawkins &lt;yahoogroupskh@xxxxxxx&gt;
wrote:

From: Kevin Hawkins &lt;yahoogroupskh@xxxxxxx&gt;
Subject: Re: [xap_automation] Barionet xAP code
To: xap_automation@xxxxxxx
Date: Tuesday, June 3, 2008, 11:58 AM






Andre,

Phew....We seem to have a communication problem..

I responded to a post you made a few days back in the xAP mi4
plugin area on the HomeSeer BBS where you were actually using the mcs
plugin - fortunately Michael saw it anyway. Also on the Barix Barionet
forum last week I responded too and you said you already had the code..
I have taken a look at the Barionet xAP code (the BSC v1.3 version) and
so I dusted off my own Barionet, re-tokenized it and it loaded fine. I
posted some detailed instructions there as to how to do this. Quite
why it was dusty I'm not sure as it's a great device on xAP and I shall
be using it now going forwards :-)

Since then, with Edwards permission, I have updated the code
slightly to fix a couple of issues I spotted and I have sent you two
revised versions by email . I also sent you directly by email the .cob
file so you could load it directly into your Barionet - assuming you
have the latest firmware - but I haven't been able to get any info from
you as to which Barionet firmware you are running. Then you posted
a HomeSeer plugin issue question and so I tried it out here and it
worked fine but I noticed you were still not using the latest firmware I
sent you :-(

So I don't know what more we can do... Please can you check your
email and try those most recent versions I sent you. They work
perfectly well here. You seem to be using an old xAP v1.2 / BSC v1.2
version still. You can of course use the previous BSC v1.3 version
direct from Edward but you will manually have to fix a couple of issues
that I have already corrected in my version. You will need to address
the 'state =' vs 'state=' parameter name and also levels are mistakenly
reported in the state= parmeter eg state=100/1024 . In my version
'12b' 1.12 this is already fixed for you.

Over the next few weeks I shall be revising the code to hopefully
support new features that later Barionet firmward now offers eg counters
and more 1-wire sensors, maybe threshold settings for the state=
parameter in level devices. The revision I already released provides
compliance with both xAP v1.3 and BSC v1.3. Please let me know
anything you would like to have added here, although for any custom
changes you are free to adapt the source code anyway.

Let us know how you want to move forward.....

Kevin

andrevdm wrote:
&gt;
&gt; Hi Edward,
&gt;
&gt; on you blueyonder website you invite to contact you if interested
in
&gt; your .bas code for the xAP version 1.3.
&gt;
&gt; is it still available ?
&gt;
&gt; regards
&gt;
&gt; Andre
&gt;
&gt;

















--0-712474413-1212610632=:68516
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit





<html><head>
<style type="text/css">
<!--
#ygrp-mkp{
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 14px 0px;
padding: 0px 14px;
}
#ygrp-mkp hr{
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd{
color: #628c2a;
font-size: 85%;
font-weight: bold;
line-height: 122%;
margin: 10px 0px;
}
#ygrp-mkp #ads{
margin-bottom: 10px;
}
#ygrp-mkp .ad{
padding: 0 0;
}
#ygrp-mkp .ad a{
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<body>


<table cellspacing='0' cellpadding='0' border='0' background='none'
style='font-family:arial;font-size:10pt;color:#000000;background-color:#ffffff;width:100%;'><tr><td
valign='top' style='font: inherit;'><P>Hi Kevin,</P>
<P>&nbsp;</P>
<P>no you answered my questions. i have just not checked this email
recently.</P>
<P>&nbsp;</P>
<P>the system is now working and i am getting the 1-wire temperatures
out fine. Unfortunately the Barionet BCL code does not support floating
point variables, so I can only get integer degree celcius out. If is use
the correct xAP schema , typically 23degC corresponds to 368/4096. this
works great. </P>
<P>&nbsp;</P>
<P>Now i am working on getting the 368/4096 to make some sence in
homeseer. </P>
<P>&nbsp;</P>
<P>I&nbsp;made some changes to the code to achieve the above.
Also in the code it refers to a "config.txt" file which should
change to "xapcfg.txt". Shall i send the update
?<BR><BR>--- On <B>Tue, 6/3/08, Kevin Hawkins
<I>&lt;yahoogroupskh@xxxxxxx&gt;</I></B>
wrote:<BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: rgb(16,16,255) 2px solid">From: Kevin Hawkins
&lt;yahoogroupskh@xxxxxxx&gt;<BR>Subject: Re:
[xap_automation] Barionet xAP code<BR>To:
xap_automation@xxxxxxx<BR>Date: Tuesday, June 3, 2008, 11:58
AM<BR><BR>
<DIV id=yiv1528519421>
<DIV id=ygrp-text>
<P>Andre,<BR><BR>Phew....We seem to have a communication
problem.. <BR><BR>I responded to a post you made a few days
back in the xAP mi4 <BR>plugin area on the HomeSeer BBS where you
were actually using the mcs <BR>plugin - fortunately Michael saw it
anyway. Also on the Barix Barionet <BR>forum last week I responded
too and you said you already had the code.. <BR>I have taken a look
at the Barionet xAP code (the BSC v1.3 version) and <BR>so I dusted
off my own Barionet, re-tokenized it and it loaded fine. I <BR>posted
some detailed instructions there as to how to do this. Quite <BR>why
it was dusty I'm not sure as it's a great device on xAP and I shall
<BR>be using it now going forwards :-)<BR><BR>Since then,
with Edwards permission, I have updated the code <BR>slightly to fix
a couple of issues I spotted and I have sent you two <BR>revised
versions by email . I also sent you directly by email the .cob <B
R>file so you could load it directly into your
Barionet - assuming you <BR>have the latest firmware - but I haven't
been able to get any info from <BR>you as to which Barionet firmware
you are running. Then you posted <BR>a HomeSeer plugin issue question
and so I tried it out here and it <BR>worked fine but I noticed you
were still not using the latest firmware I <BR>sent you
:-(<BR><BR>So I don't know what more we can do... Please can
you check your <BR>email and try those most recent versions I sent
you. They work <BR>perfectly well here. You seem to be using an old
xAP v1.2 / BSC v1.2 <BR>version still. You can of course use the
previous BSC v1.3 version <BR>direct from Edward but you will
manually have to fix a couple of issues <BR>that I have already
corrected in my version. You will need to address <BR>the 'state ='
vs 'state=' parameter name and also levels are mistakenly
<BR>reported in the state= parmeter eg state=100/1024 . In my version
<BR>'12b' 1.12 th
is is already fixed for
you.<BR><BR>Over the next few weeks I shall be revising the
code to hopefully <BR>support new features that later Barionet
firmward now offers eg counters <BR>and more 1-wire sensors, maybe
threshold settings for the state= <BR>parameter in level devices. The
revision I already released provides <BR>compliance with both xAP
v1.3 and BSC v1.3. Please let me know <BR>anything you would like to
have added here, although for any custom <BR>changes you are free to
adapt the source code anyway.<BR><BR>Let us know how you want
to move forward.....<BR><BR>Kevin<BR><BR>andrevdm
wrote:<BR>&gt;<BR>&gt; Hi
Edward,<BR>&gt;<BR>&gt; on you blueyonder website you
invite to contact you if interested in<BR>&gt; your .bas code for
the xAP version 1.3.<BR>&gt;<BR>&gt; is it still
available ?<BR>&gt;<BR>&gt;
regards<BR>&gt;<BR>&gt; Andre
<BR>&gt;<BR>&gt;
<BR><BR></P></DIV></DIV></BLOCKQUOTE></td></tr></table><br>


<span width="1" style="color:
white;"/>__._,_.___</span>

<!-- Start Recommendations -->
<!-- End Recommendations -->



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

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=3908/stime=1212619821";
width="1" height="1"> <br>

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


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

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmMm5ncXB0BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTI2MTk4MjE-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkczdlZG1kBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjEyNjE5ODIx";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

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


<span  style="color: white;"/>__,_._,___</span>
</body></html>

--0-712474413-1212610632=:68516--


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.