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: Anyone using a MiCasaVerde Vera ?



------=_NextPart_000_0029_01CF1785.940DDF20
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_002A_01CF1785.940DDF20"

------=_NextPart_001_002A_01CF1785.940DDF20
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sounds great, mine (rather shamefully) only does 1.2 and wraps the UID at
9=
9  tut tut!

I will see if I can run both, since mine=E2=80=99s only broadcast and the
a=
ddressing is different it should be ok as an interim measure.



M

From: Kevin Hawkins=20
Sent: Wednesday, January 22, 2014 2:40 PM
To: xap_automation@xxxxxxx=20
Subject: Re: [xap_automation] Anyone using a MiCasaVerde Vera ?



On 22/01/2014 14:10, Martyn Wendon wrote:
>=20
>=20
>=20
>=20
> Will be good to try your version, I=E2=80=99ll just need to work out a
wa=
y to
> leave mine in place as well, or maybe merge aspects of the two
=E2=80=93 =
I
> suspect we=E2=80=99ll probably have used different addressing and UIDs
- =
i.e.
> yours will be =E2=80=9Ccorrect=E2=80=9D and mine will be bodged
Winking s=
mile
>=20
>=20
>=20
Mine generates unique UID's and source names based on the MAC address,
devi=
ce ID, room name and device name.  You could alter this in code however. 
I=
know one of the things I still needed to do is to allow editing of key par=
ameter values from a Vera device that appears in the UI.    Here's a
sample=
xAP message from Z-Wave

xap-header
{
v=3D13
hop=3D1
uid=3DFF.01CB5FBF:0022
class=3DxAPBSC.info
source=3DUKUSA.Vera.5FBF:Dining Room.Centre Lights
}
output.state
{
State=3DON
Level=3D100/100
}

It will be awkward to get both running together as there is no xAP hub on
V=
era so both can't listen on port 3639.  You'd really have to merge the
two.=
...    But .. actually because you are only sending xAP messages you could
=
run both.   I have not looked at the current resource usage of my code in
t=
erms of memory / CPU.    I'll likley send you the code tonight 'as is' to
p=
eruse as I know you're well versed in xAP and my awful coding style ;-) 
an=
d then work on the refinements gradually.  Due to unfamiliarity with Vera
I=
know I kludged some UPnP schema aspects which might cause issues if you're=
using UPnP control.

K





------=_NextPart_001_002A_01CF1785.940DDF20
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<HTML><HEAD>
<STYLE type=3Dtext/css>
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</STYLE>

<META content=3D"text/html; charset=3DUTF-8"
http-equiv=3DContent-Type></HE=
AD>
<BODY dir=3Dltr bgColor=3D#ffffff text=3D#000000>


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

<br><br>

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



<DIV dir=3Dltr>
<DIV style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR:
#000000">
<DIV>Sounds great, mine (rather shamefully) only does 1.2 and wraps
the UID=
at=20
99 <IMG class=3D"wlEmoticon wlEmoticon-sadsmile"=20
style=3D"BORDER-TOP-STYLE: none; BORDER-BOTTOM-STYLE: none;
BORDER-RIGHT-ST=
YLE: none; BORDER-LEFT-STYLE: none"=20
alt=3D"Sad smile"
src=3D"cid:DE695CAEA2A0409891F01937AE68D359@xxxxxxx=
l"> tut=20
tut!</DIV>
<DIV>&nbsp;</DIV>
<DIV>I will see if I can run both, since mine=E2=80=99s only
broadcast and =
the=20
addressing is different it should be ok as an interim measure.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>M</DIV>
<DIV=20
style=3D'FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY:
"Calibri"; F=
ONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY:
inline'>
<DIV style=3D"FONT: 10pt tahoma">
<DIV>&nbsp;</DIV>
<DIV style=3D"BACKGROUND: #f5f5f5">
<DIV style=3D"font-color: black"><B>From:</B>
<A=20
title=3Dyahoogroupskh@xxxxxxx=20
href=3D"mailto:yahoogroupskh@xxxxxxx";>Kevin
Hawkins</A> </DIV>
<DIV><B>Sent:</B> Wednesday, January 22, 2014 2:40
PM</DIV>
<DIV><B>To:</B> <A title=3Dxap_automation@xxxxxxx=20
href=3D"mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx=
om</A>=20
</DIV>
<DIV><B>Subject:</B> Re: [xap_automation] Anyone using a
MiCasaVerde Vera=20
?</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV=20
style=3D'FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY:
"Calibri"; F=
ONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY:
inline'><B=
R><BR><!-- **end egp html banner** -->On=20
22/01/2014 14:10, Martyn Wendon wrote:<BR><SPAN
style=3D"WHITE-SPACE: pre">=
&gt;=20
<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;
Will be good to try your version, I=E2=
=80=99ll just=20
need to work out a way to<BR>&gt; leave mine in place as well, or
maybe mer=
ge=20
aspects of the two =E2=80=93 I<BR>&gt; suspect we=E2=80=99ll
probably have =
used different=20
addressing and UIDs - i.e.<BR>&gt; yours will be
=E2=80=9Ccorrect=E2=80=9D =
and mine will be=20
bodged Winking smile<BR>&gt; <BR>&gt;
<BR>&gt; </SPAN><BR>Mine generates un=
ique=20
UID's and source names based on the MAC address, device ID, room name and
d=
evice=20
name.&nbsp; You could alter this in code however.&nbsp; I know one
of the t=
hings=20
I still needed to do is to allow editing of key parameter values from a
Ver=
a=20
device that appears in the UI.&nbsp;&nbsp;&nbsp; Here's a
sample xAP messag=
e=20
from=20
Z-Wave<BR><BR>xap-header<BR>{<BR>v=3D13<BR>hop=3D1<BR>uid=3DFF.01CB5FBF:002=
2<BR>class=3DxAPBSC.info<BR>source=3DUKUSA.Vera.5FBF:Dining=20
Room.Centre=20
Lights<BR>}<BR>output.state<BR>{<BR>State=3DON<BR>Level=3D100/100<BR>}<BR><=
BR>It=20
will be awkward to get both running together as there is no xAP hub on
Vera=
so=20
both can't listen on port 3639.&nbsp; You'd really have to merge the=20
two....&nbsp;&nbsp;&nbsp; But .. actually because you are only
sending xAP=
=20
messages you could run both.&nbsp;&nbsp; I have not looked at the
current=20
resource usage of my code in terms of memory /
CPU.&nbsp;&nbsp;&nbsp; I'll=
=20
likley send you the code tonight 'as is' to peruse as I know you're well
ve=
rsed=20
in xAP and my awful coding style ;-)&nbsp; and then work on the
refinements=
=20
gradually.&nbsp; Due to unfamiliarity with Vera I know I kludged some
UPnP=
=20
schema aspects which might cause issues if you're using UPnP=20
control.<BR><BR>K<BR><BR>
<DIV style=3D"COLOR: white; CLEAR: both"
width=3D"1"></DIV></DIV></DIV></DI=
V>



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

<br>


<br>

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


<div width=3D"1" style=3D"color: white; clear:
both;"/>__._,_.___</div>

=20=20=20=20=20=20
=20=20=20=20=20=20
<!-- Start Recommendations -->
<!-- End Recommendations -->



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

<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D9674343/grpspI=
d=3D1705007709/msgId=3D4845/stime=3D1390404076" width=3D"1"
height=3D"1"> <=
br>

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

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

<br>
<div style=3D"font-family: verdana; font-size: 77%; border-top: 1px
s=
olid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href=3D"http://groups.yahoo.com/group/xap_automation/join;_ylc=3DX=
3oDMTJmZDgzMDNtBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5=
BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEzOTA0MDQwNzY-">Change settings
via the W=
eb</a> (Yahoo! ID required) <br>
Change settings via email: <a href=3D"mailto:xap_automation-digest@ya=
hoogroups.com?subject=3DEmail Delivery: Digest">Switch delivery to
Daily Di=
gest</a>  <a href =3D "mailto:xap_automation-fullfeatured@xxxxxxx?=
subject=3DChange Delivery Format: Fully Featured">Switch to Fully
Featured<=
/a> <br>
<a href=3D"http://groups.yahoo.com/group/xap_automation;_ylc=3DX=
3oDMTJkOXVhcDZlBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5=
BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMzkwNDA0MDc2">
Visit Your Group=20
</a>
<a href=3D"http://info.yahoo.com/legal/us/yahoo/utos/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href=3D"mailto:xap_automation-unsubscribe@xxxxxxx?subject=
=3DUnsubscribe">
Unsubscribe=20
</a>=20
<br>
</div>
<br>

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


<div style=3D"color: white; clear:
both;"/>__,_._,___</div>
</BODY></HTML>

------=_NextPart_001_002A_01CF1785.940DDF20--

------=_NextPart_000_0029_01CF1785.940DDF20
Content-Type: image/png;
name="wlEmoticon-sadsmile[1].png"
Content-Transfer-Encoding: base64
Content-ID: <DE695CAEA2A0409891F01937AE68D359@xxxxxxx>

iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAPXSURBVDhPdVRtTFNnGH2moeA6JLJgHCX8cFli
tji2H0Tc2AK6r6iYiROHwWnIlJAtc2YIOPbVfWRbp5E1Cwu4RlMWRqmBhsoqYLTQibQEGQsT6wak
fHhrqHy0Q+jq5ex5b8s23fokJ7m5733PPc95zvvS/9WZPHV2Q268faaW7FOnaNz3HcFbTePSN2Sv
y4m3129XZ0c+jV5oIFW/VmWs3ZIg91WmITRcCFl6E5g+BNmzG6H+p9D78Wqc2pwgdxSrjAMfkiqy
9e7ymyip/6MYd/XzD6NuZzLOvZGKvpqDWJz9AJgtgew9gB79HuW9WK954RFcLIxxXz9KSRGKcJ3e
lKg5u199w5SfAlfVIcxPSwqu1lfgd8tWJivFoDEd1xo//Xut++simHPV+GGL+sa3GYkahejz9Qmr
Lh+JNfnan4OtWINg4BaWav7WuKIEs2VR18Z0y2DZEWsSPDRnIo2/noII1cO67wHlQ4PBgIKCAuW5
aTcB/rLoa5cIPQcp6NhLqTRbR9qF3peBxTOwFa2Bb9ABFqzA+7NNeQf/kehrTsLNEwTHHtISj98R
GisD7tRipK1Q+dsSLPnL4Wnbzm2+jZHmZ/67ZmBlXYSFOsKFPHLQ1GmSFqe/AILVYfxpBkJdDAew
UKOowgzHY2o/40tAKgdGi4HhfUqL+IkgtxDO7yCJJk+yX3/o2NETvJkx/xWDyee0ileYeYtz9jqT
5AJDG4Ff1wK9K4HLTORgdDLaCa3bKEicbEn2vgMEPolAkLynKJobOYDJK3mYdG7FZEcGbjvXAVdW
s0+xiiLYGRdYWRPB9iIrE0ckdHUXKygNgwMqPHJbtsH4SgqOp90PbfJ9OL4+BsYcNdxVTCTaixDh
POH2SYJ1M9lprJLKA7bH2Q/2wSdQxIHcCP2GlXDpn4DUlo47A2mQGtfApY2D/klC99F/iHCO8Fsp
DySbymmiklLHjrFvE68CN/di2JoNw0sPYrQlHfLgBgR71mHu0kMIdsRD7lyO0RqC4VnCsJ6JWgmL
FsLZLAo2P805EzX0GekC5mTAk4Vu3Vp4mtgb92MIdKbA15wIrzkOPvMyBHhjiAk8VayuhMl+JLgP
c1QySacQiRKnf/B9cgYbE4FrPK2BFKAvCYF2NfwtKgSsBD+bHGDM87NQJIgm3uX2MsnZ8Og9t4c4
/b+UkHO6WsXTigNcMUoglamJ8f/LI9HadVYkiEyZ99waS9V1mFb0FJPOxWdNOsbJ/j4cyKXxi6kN
lYc9Eq2ZMmhFZGv06nqNNJ35VHExj+wi2a054RyJ8VuyqMK6icJXzl1F9BcapS0GGCqmOQAAAABJ
RU5ErkJggg==

------=_NextPart_000_0029_01CF1785.940DDF20--

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.