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 Jabber / xAP Four



------=_Part_12673_2003833.1215451572780
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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 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.
> 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!  Fix is easy though. In the hub's config
file
> add 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.
> >
> >  <add key="xAPListeningIP"
value="192.168.1.10" />
> hth
> James
>
>
2008/7/7 Martyn Wendon <martynwendon@xxxxxxx>:
> Hello,
>
> I'm plagued by "echoing" of responses from xAP Four when
questions are
> submitted from xAP Jabber.
>
> e.g. if I submit a "when is sunrise" to xAP Jabber I get the
response 2
> times.....
>
> In Viewer I see the following single query from xAP Jabber:
>
>
> xap-header
> {
>     v=12
>     hop=1
>     uid=FF111300
>     class=messenger.event
>     source=mi4.jabber.Jabber
> }
> Message.Receive
> {
>     from=somechimp@xxxxxxx
>     body=when is sunrise
> }
>
>
> Followed quickly by the following from xAP Four:
>
> xap-header
> {
>     v=12
>     hop=1
>     uid=FF111300
>     class=messenger.cmd
>     source=mi4.four.Four
> }
> Message.Send
> {
>     to=somechimp@xxxxxxx
>     body=Sunrise is at 04:44. Sunset is at 21:17. It is currently day
time.
> }
>
>
> But the above is repeated twice as separate messages in Viewer and I
recieve
> the answer in the IM client twice.
>
>
>
> Any ideas how to stop this?
>
>
> Thanks,
>
>
> Martyn
>
>

------=_Part_12673_2003833.1215451572780
Content-Type: text/html; charset=ISO-8859-1
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>


Similar problem from december 2006. Here&#39;s James reply back
then:-<br><br><blockquote style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"
class="gmail_quote">

I&#39;m guessing this is a&nbsp; hub thing, on the pc running
jabber. It seems
like it&#39;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&#39;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=&quot;xAPListeningIP&quot; value=&quot;<a
href="http://192.168.1.10";>192.168.1.10</a>&quot;
/&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&#39;m
plagued by &quot;echoing&quot; 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
&quot;when is sunrise&quot; 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 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=3987/stime=1215451576";
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=X3oDMTJmOXRxNGEwBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTU0NTE1NzY-";>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=X3oDMTJkOWNuMjkxBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE1NDUxNTc2";>
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>

------=_Part_12673_2003833.1215451572780--


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.