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: **SPAM: Re: xAP Jabber / xAP Four



------=_NextPart_000_003A_01C8E067.4488ABC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Don't think it's a hub thing as there's no other problems with other xAP
ap=
plications on the same machine.....

Actually, I'm not sure it's anything to do with xAP Four, I think it's all
=
down to xAP Jabber, as if I use the following from within FloorPlan:

tmp=3D"message.send" & chr(10)
tmp=3Dtmp & "{" & chr(10)
tmp=3Dtmp & "to=3Dsomechimp@xxxxxxx" & chr(10)
tmp=3Dtmp & "body=3DEnvironment: <Info> Garage Temperature:
" & GarageLevel=
& " deg C. RackTop Temperature: " & RackTopLevel &
" deg C. RackBottom Tem=
perature: " & RackBottomLevel & " deg C. Outside
Temperature: " & OutsideLe=
vel & " deg C." & chr(10)
tmp=3Dtmp & "}" & chr(10)
xap.sendxap tmp,"messenger.cmd"

I get multiple copies of the message sent over IM....

Very weird......


Martyn

----- Original Message -----=20
From: max barker=20
To: xap_automation@xxxxxxx=20
Sent: Monday, July 07, 2008 6:26 PM
Subject: **SPAM: Re: [xap_automation] xAP Jabber / xAP Four


Similar problem from december 2006. Here's James reply back then:-


I'm guessing this is a  hub thing, on the pc running jabber. It seems l=
ike it's doubling messages, so when it receives a message from news it
gets=
two copies and when jabber talks to four the messages get doubled, then th=
e replies get doubled hence the 4 responses.
This usually happens when the pc has multiple network cards. Also a net=
work card is not just an ethernet one. digital TV cards, firewire cards,
bl=
uetooth dongles all count!  Fix is easy though. In the hub's config file
ad=
d this line

> Edit the Hub.exe.config file and add the following line. Change the
> IP =
address to that of the NIC you want to bind to.>=20
>  <add key=3D"xAPListeningIP"
value=3D"192.168.1.10" />hthJames
2008/7/7 Martyn Wendon <martynwendon@xxxxxxx>:
> Hello,
>=20=20
> I'm plagued by "echoing" of responses from xAP Four when
questions are
> submitted from xAP Jabber.
>=20=20
> e.g. if I submit a "when is sunrise" to xAP Jabber I get the
response 2
> times.....
>=20=20
> In Viewer I see the following single query from xAP Jabber:
>=20=20
>=20=20
> xap-header
> {
>     v=3D12
>     hop=3D1
>     uid=3DFF111300
>     class=3Dmessenger.event
>     source=3Dmi4.jabber.Jabber
> }
> Message.Receive
> {
>     from=3Dsomechimp@xxxxxxx
>     body=3Dwhen is sunrise
> }
>=20=20
>=20=20
> Followed quickly by the following from xAP Four:
>=20=20
> xap-header
> {
>     v=3D12
>     hop=3D1
>     uid=3DFF111300
>     class=3Dmessenger.cmd
>     source=3Dmi4.four.Four
> }
> Message.Send
> {
>     to=3Dsomechimp@xxxxxxx
>     body=3DSunrise is at 04:44. Sunset is at 21:17. It is currently
day=
time.
> }
>=20=20
>=20=20
> But the above is repeated twice as separate messages in Viewer and I
re=
cieve
> the answer in the IM client twice.
>=20=20
>=20=20
>=20=20
> Any ideas how to stop this?
>=20=20
>=20=20
> Thanks,
>=20=20
>=20=20
> Martyn
>=20=20
>=20

=20=20=20
------=_NextPart_000_003A_01C8E067.4488ABC0
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">
<STYLE type=text/css>#ygrp-mkp {
BORDER-RIGHT: #d8d8d8 1px solid; PADDING-RIGHT: 14px; BORDER-TOP: #d8d8d8
1px solid; PADDING-LEFT: 14px; PADDING-BOTTOM: 0px; MARGIN: 14px 0px;
BORDER-LEFT: #d8d8d8 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #d8d8d8
1px solid; FONT-FAMILY: Arial
}
#ygrp-mkp HR {
BORDER-RIGHT: #d8d8d8 1px solid; BORDER-TOP: #d8d8d8 1px solid;
BORDER-LEFT: #d8d8d8 1px solid; BORDER-BOTTOM: #d8d8d8 1px solid
}
#ygrp-mkp #hd {
FONT-WEIGHT: bold; FONT-SIZE: 85%; MARGIN: 10px 0px; COLOR: #628c2a;
LINE-HEIGHT: 122%
}
#ygrp-mkp #ads {
MARGIN-BOTTOM: 10px
}
#ygrp-mkp .ad {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP:
0px
}
#ygrp-mkp .ad A {
COLOR: #0000ff; TEXT-DECORATION: none
}
</STYLE>

<META content="MSHTML 6.00.6000.16608"
name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>


<DIV><FONT face=Arial size=2>Don't think it's a hub thing as
there's no other
problems with&nbsp;other xAP applications on the same
machine.....</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Actually, I'm not sure it's
anything to do with xAP
Four, I think it's all down to xAP Jabber, as if I use the following from
within
FloorPlan:</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>tmp="message.send"
&amp; chr(10)<BR>tmp=tmp &amp;
"{" &amp; chr(10)<BR>tmp=tmp &amp; "<A
href="mailto:to=somechimp@xxxxxxx";>to=somechimp@xxxxxxx</A>"
&amp; chr(10)<BR>tmp=tmp &amp; "body=Environment:
&lt;Info&gt; Garage
Temperature: " &amp; GarageLevel &amp; " deg C. RackTop
Temperature: " &amp;
RackTopLevel &amp; " deg C. RackBottom Temperature: "
&amp; RackBottomLevel
&amp; " deg C. Outside Temperature: " &amp; OutsideLevel
&amp; " deg C." &amp;
chr(10)<BR>tmp=tmp &amp; "}" &amp;
chr(10)<BR>xap.sendxap
tmp,"messenger.cmd"</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I get multiple copies of the
message sent over
IM....</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Very
weird......</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>Martyn</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</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=vworpi@xxxxxxx href="mailto:vworpi@xxxxxxx";>max
barker</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>
Monday, July 07, 2008 6:26 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B>
**SPAM: Re: [xap_automation] xAP
Jabber / xAP Four</DIV>
<DIV><BR></DIV>Similar problem from december 2006. Here's
James reply back
then:-<BR><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT:
rgb(204,204,204) 1px solid">I'm
guessing this is a&nbsp; hub thing, on the pc running jabber. It seems
like
it's doubling messages, so when it receives a message from news it gets two
copies and when jabber talks to four the messages get doubled, then the
replies get doubled hence the 4 responses.<BR>This usually happens
when the
pc has multiple network cards. Also a network card is not just an ethernet
one. digital TV cards, firewire cards, bluetooth dongles all
count!&nbsp;
Fix is easy though. In the hub's config file add this
line<BR><PRE><SPAN class=moz-txt-citetags>&gt;
</SPAN>Edit the Hub.exe.config file and add the following line.
Change the <SPAN class=moz-txt-citetags>&gt; </SPAN>IP
address to that of the NIC you want to bind to.<BR><SPAN
class=moz-txt-citetags>&gt; </SPAN><BR>
<SPAN class=moz-txt-citetags>&gt; </SPAN> &lt;add
key="xAPListeningIP" value="<A href="http://192.168.1.10";>192.168.1.10</A>"
/&gt;<BR>hth<BR>James<BR></PRE></BLOCKQUOTE><BR>2008/7/7
Martyn Wendon &lt;<A
href="mailto:martynwendon@xxxxxxx";>martynwendon@xxxxxxx</A>&gt;:<BR>&gt;
Hello,<BR>&gt; &nbsp;<BR>&gt; I'm plagued by
"echoing" of responses from xAP
Four when questions are<BR>&gt; submitted from xAP
Jabber.<BR>&gt;
&nbsp;<BR>&gt; e.g. if I submit a "when is sunrise"
to xAP Jabber I get the
response 2<BR>&gt; times.....<BR>&gt;
&nbsp;<BR>&gt; In Viewer I see the
following single query from xAP Jabber:<BR>&gt;
&nbsp;<BR>&gt; &nbsp;<BR>&gt;
xap-header<BR>&gt; {<BR>&gt; &nbsp; &nbsp;
v=12<BR>&gt; &nbsp; &nbsp;
hop=1<BR>&gt; &nbsp; &nbsp;
uid=FF111300<BR>&gt; &nbsp; &nbsp;
class=messenger.event<BR>&gt; &nbsp; &nbsp;
source=mi4.jabber.Jabber<BR>&gt;
}<BR>&gt; Message.Receive<BR>&gt; {<BR>&gt;
&nbsp; &nbsp;
from=somechimp@xxxxxxx<BR>&gt; &nbsp; &nbsp; body=when is
sunrise<BR>&gt; }<BR>&gt; &nbsp;<BR>&gt;
&nbsp;<BR>&gt; Followed quickly by
the following from xAP Four:<BR>&gt; &nbsp;<BR>&gt;
xap-header<BR>&gt;
{<BR>&gt; &nbsp; &nbsp; v=12<BR>&gt; &nbsp;
&nbsp; hop=1<BR>&gt; &nbsp; &nbsp;
uid=FF111300<BR>&gt; &nbsp; &nbsp;
class=messenger.cmd<BR>&gt; &nbsp; &nbsp;
source=mi4.four.Four<BR>&gt; }<BR>&gt;
Message.Send<BR>&gt; {<BR>&gt; &nbsp;
&nbsp; to=somechimp@xxxxxxx<BR>&gt; &nbsp; &nbsp;
body=Sunrise is at
04:44. Sunset is at 21:17. It is currently day time.<BR>&gt;
}<BR>&gt;
&nbsp;<BR>&gt; &nbsp;<BR>&gt; But the above is
repeated twice as separate
messages in Viewer and I recieve<BR>&gt; the answer in the IM
client
twice.<BR>&gt; &nbsp;<BR>&gt;
&nbsp;<BR>&gt; &nbsp;<BR>&gt; Any ideas how to
stop this?<BR>&gt; &nbsp;<BR>&gt;
&nbsp;<BR>&gt; Thanks,<BR>&gt;
&nbsp;<BR>&gt; &nbsp;<BR>&gt;
Martyn<BR>&gt; &nbsp;<BR>&gt;
<BR><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=3988/stime=1215455161";
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=X3oDMTJmcWRycGMyBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTU0NTUxNjE-";>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=X3oDMTJkbzJxczM1BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE1NDU1MTYx";>
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_003A_01C8E067.4488ABC0--


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.