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: xAP Floorplan



------=_NextPart_000_0027_01C96670.5D2A66C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi James,

Thanks for that, it gives me a few ideas.

I noticed that if I send an xpl message from a script in Floorplan then it
=
doesn't get translated and therefore doesn't show up in xFx Viewer?  It
wou=
ld be handy if this could happen to aid troubleshooting.

Also, when I use xap.sendxap in a script, is there an optional parameter
th=
at I can pass to it to fake the source?

e.g.

xap.sendxap
tmp,"message.display","mi4.IntranetLaunch.*","ahs.HomeEasy.ahsh=
aserver"

If not, it would be useful to be able to do this on the odd occasion that
I=
need to send a message from Floorplan to a device that usually filters out=
all messages apart from those from specific sources.


Thanks,

Martyn
----- Original Message -----=20
From: James=20
To: xap_automation@xxxxxxx=20
Sent: Thursday, December 25, 2008 12:12 AM
Subject: Re: [xap_automation] xAP Floorplan


Hi,


dummy device plan is a good one, as the homeeasy is only one way there is=
not much you can do about triggering things on messages. You don't have to=
send xAP messages to update the device on the map, you can just use the se=
tdisplayvalue function. That way you can avoid the additional messages. 
Yo=
u can then use the custom button functions to trigger certain messages to
c=
ontrol things. (or you could get fancy and do some custom html as the
popup=
).  This all assumes that the schema is odd.  If not why not just make a
ra=
w device to receive the xPL messages, look on the guides on mi4 for how to
=
do this. You'll need the xpl receicing support turned on for this to work
a=
s well as an xpl hub on the pc running Floorplan.


James




On 23 Dec 2008, at 14:45, Martyn Wendon wrote:


I've started to use some of the HomeEasy stuff in my HA setup, using Ma=
l's=20
excellent xPL->RFXCom gateway.

From within Floorplan I can happily generate xPL messages from various=
=20
scripts to turn sockets, lights, etc on and off in response to events.

Since most of the HomeEasy stuff is only one-way (i.e. you can send it=
=20
commands but can't query it's current status), how can I best represent=
an=20
item like a light fitting on a Floorplan map? So that when I send it a=
=20
command e.g. "on" the light fitting on the map comes on and if I
click =
on=20
the light fitting on the map it will toggle on / off?

I thought about creating a raw "dummy" xAP device, which I can
then dro=
p on=20
a map, then in my scripts that send the raw xPL messages I can also sen=
d a=20
raw xAP message that updates the pseudo xAP device?

Would that be the best way, or is there something else I can do?

Cheers,

Martyn=20




=20=20=20
------=_NextPart_000_0027_01C96670.5D2A66C0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit





<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space"
bgColor=#ffffff>


<DIV><FONT face=Arial size=2>Hi James,</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for that, it gives me a few
ideas.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I noticed that if I send an xpl
message from a
script in Floorplan then it doesn't get translated and therefore doesn't
show up
in xFx Viewer?&nbsp; It would be handy if this could happen to aid
troubleshooting.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, when I use xap.sendxap in a
script, is there
an optional parameter that I can pass to it to fake the
source?</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>e.g.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>xap.sendxap
tmp,"message.display","mi4.IntranetLaunch.*","ahs.HomeEasy.ahshaserver"</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If not, it would be useful to be
able to do this on
the odd occasion that I need to send a message from Floorplan to a device
that
usually filters out all messages apart from those from specific
sources.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><BR>Martyn</DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message -----
</DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
black"><B>From:</B>
<A title=james.traynor@xxxxxxx
href="mailto:james.traynor@xxxxxxx";>James</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=xap_automation@xxxxxxx
href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B>
Thursday, December 25, 2008 12:12
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B>
Re: [xap_automation] xAP
Floorplan</DIV>
<DIV><BR></DIV>
<DIV>Hi,</DIV>
<DIV><BR></DIV>
<DIV>dummy device plan is a good one, as the homeeasy is only one way
there is
not much you can do about triggering things on messages. You don't have to
send xAP messages to update the device on the map, you can just use the
setdisplayvalue function. That way you can avoid the additional messages.
&nbsp;You can then use the custom button functions to trigger certain
messages
to control things. (or you could get fancy and do some custom html as the
popup). &nbsp;This all assumes that the schema is odd. &nbsp;If not
why not
just make a raw device to receive the xPL messages, look on the guides on
mi4
for how to do this. You'll need the xpl receicing support turned on for
this
to work as well as an xpl hub on the pc running Floorplan.</DIV>
<DIV><BR></DIV>
<DIV>James</DIV>
<DIV><BR></DIV><BR>
<DIV>
<DIV>On 23 Dec 2008, at 14:45, Martyn Wendon wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none;
COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING:
normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0">
<DIV style="BACKGROUND-COLOR: rgb(255,255,255)">
<DIV id=ygrp-mlmsg
style="FONT-SIZE: 13px; WIDTH: 655px; FONT-FAMILY: arial, helvetica,
clean, sans-serif; POSITION: relative">
<DIV id=ygrp-msg
style="PADDING-RIGHT: 25px; PADDING-LEFT: 0px; Z-INDEX: 1; FLOAT:
left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 470px; LINE-HEIGHT: 1.22em;
PADDING-TOP: 0px">
<DIV id=ygrp-text style="LINE-HEIGHT: 1.22em; FONT-FAMILY:
Georgia">
<P style="MARGIN: 0px 0px 1em; LINE-HEIGHT: 1.22em">I've
started to use some
of the HomeEasy stuff in my HA setup, using Mal's<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">excellent xPL-&gt;RFXCom
gateway.<BR
style="LINE-HEIGHT: 1.22em"><BR style="LINE-HEIGHT:
1.22em">From within
Floorplan I can happily generate xPL messages from various<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">scripts to turn sockets, lights,
etc on and off
in response to events.<BR style="LINE-HEIGHT:
1.22em"><BR
style="LINE-HEIGHT: 1.22em">Since most of the HomeEasy stuff
is only one-way
(i.e. you can send it<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">commands but can't query it's
current status),
how can I best represent an<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">item like a light fitting on a
Floorplan map? So
that when I send it a<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">command e.g. "on" the
light fitting on the map
comes on and if I click on<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">the light fitting on the map it
will toggle on /
off?<BR style="LINE-HEIGHT: 1.22em"><BR
style="LINE-HEIGHT: 1.22em">I
thought about creating a raw "dummy" xAP device, which I can then
drop
on<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">a map, then in my scripts that
send the raw xPL
messages I can also send a<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em">raw xAP message that updates the
pseudo xAP
device?<BR style="LINE-HEIGHT: 1.22em"><BR
style="LINE-HEIGHT: 1.22em">Would
that be the best way, or is there something else I can do?<BR
style="LINE-HEIGHT: 1.22em"><BR style="LINE-HEIGHT:
1.22em">Cheers,<BR
style="LINE-HEIGHT: 1.22em"><BR style="LINE-HEIGHT:
1.22em">Martyn<SPAN
class=Apple-converted-space>&nbsp;</SPAN><BR
style="LINE-HEIGHT: 1.22em"><BR
style="LINE-HEIGHT: 1.22em"></P></DIV><SPAN
style="COLOR: white; LINE-HEIGHT: 1.22em"
width="1"></SPAN></DIV></SPAN></DIV></DIV></BLOCKQUOTE></DIV><BR><SPAN
style="COLOR: white" width="1"></SPAN>
</BLOCKQUOTE>
<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=4216/stime=1230196123";
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=X3oDMTJmZnJ2aHJoBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMzAxOTYxMjM-";>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=X3oDMTJkbjFwcDAyBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjMwMTk2MTIz";>
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>

------=_NextPart_000_0027_01C96670.5D2A66C0--


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.