The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: Urgent Request - xAP Hub


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAP Jabber / xAP Four



--------------020905090403030308000400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Do you still get this happening with Jabber 0.5
The internals are completely different than the older jabbers so
hopefully this has helped ( fingers crossed)

Also from my last mail, yep ment to say <BR/> doh!. Tested a
message.display and I was getting the message lines separated by
<BR/>
so it should be working. This is a 0.5 thing again as the older jabber
didn't really do the marked up messages.
If the duplicates still occur can you set xml=yes and trigger the
duplicates.  It will make a file called xmldebug in the app directory.
Could you send me a copy offlist. (You'll want to check and strip the
logon strings and addresses first though)

James

p.s. For anyone in tech support : http://www.thewebsiteisdown.com/

Martyn Wendon wrote:
>
> Don't think it's a hub thing as there's no other problems with other
> xAP applications 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="message.send" & chr(10)
> tmp=tmp & "{" & chr(10)
> tmp=tmp & "to=somechimp@xxxxxxx
> <mailto:to=somechimp@xxxxxxx>"
& chr(10)
> tmp=tmp & "body=Environment: <Info> Garage Temperature:
" &
> GarageLevel & " deg C. RackTop Temperature: " &
RackTopLevel & " deg
> C. RackBottom Temperature: " & RackBottomLevel & "
deg C. Outside
> Temperature: " & OutsideLevel & " deg C." &
chr(10)
> tmp=tmp & "}" & chr(10)
> xap.sendxap tmp,"messenger.cmd"
>
> I get multiple copies of the message sent over IM....
>
> Very weird......
>
>
> Martyn
>
>
>     ----- Original Message -----
>     *From:* max barker <mailto:vworpi@xxxxxxx>
>     *To:* xap_automation@xxxxxxx
>     <mailto:xap_automation@xxxxxxx>
>     *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 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 <http://192.168.1.10>" />
>         hth
>         James
>
>
>
>     2008/7/7 Martyn Wendon <martynwendon@xxxxxxx
>     <mailto: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
>     >
>     >
>
>


--------------020905090403030308000400
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit





<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">


Do you still get this happening with Jabber 0.5<br>
The internals are completely different than the older jabbers so
hopefully this has helped ( fingers crossed)<br>
<br>
Also from my last mail, yep ment to say &lt;BR/&gt; doh!. Tested a
message.display and I was getting the message lines separated by
&lt;BR/&gt; so it should be working. This is a 0.5 thing again as
the
older jabber didn't really do the marked up messages.<br>
If the duplicates still occur can you set xml=yes and trigger the
duplicates.&nbsp; It will make a file called xmldebug in the app
directory.
Could you send me a copy offlist. (You'll want to check and strip the
logon strings and addresses first though)<br>
<br>
James<br>
<br>
p.s. For anyone in tech support : <a
class="moz-txt-link-freetext" href="http://www.thewebsiteisdown.com/";>http://www.thewebsiteisdown.com/</a><br>
<br>
Martyn Wendon wrote:
<blockquote cite="mid:003d01c8e05e$e534ce90$1201a8c0@xxxxxxx"
type="cite">
<div id="ygrp-text">
<p></p>
<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>&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>&nbsp;</div>
<div><font face="Arial"
size="2">tmp="message.<wbr>send" &amp;
chr(10)<br>
tmp=tmp &amp; "{" &amp; chr(10)<br>
tmp=tmp &amp; "<a moz-do-not-send="true"
href="mailto:to=somechimp@xxxxxxx";>to=somechimp@<wbr>somejabber.<wbr>server</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.<wbr>cmd"</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">I get
multiple copies of the message
sent over IM....</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Very
weird......</font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><font face="Arial"
size="2">Martyn</font></div>
<div>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0);">
<div
style="font-family: arial; font-style: normal; font-variant: normal;
font-weight: normal; font-size: 10pt; line-height: normal;
font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; font-family: arial;
font-style: normal; font-variant: normal; font-weight: normal; font-size:
10pt; line-height: normal; font-size-adjust: none; font-stretch:
normal;"><b>From:</b>
<a moz-do-not-send="true" title="vworpi@xxxxxxx"
href="mailto:vworpi@xxxxxxx";>max
barker</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal;
font-weight: normal; font-size: 10pt; line-height: normal;
font-size-adjust: none; font-stretch:
normal;"><b>To:</b>
<a moz-do-not-send="true"
title="xap_automation@xxxxxxx"
href="mailto:xap_automation@xxxxxxx";>xap_automation@<wbr>yahoogroups.<wbr>.com</a>
</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal;
font-weight: normal; font-size: 10pt; line-height: normal;
font-size-adjust: none; font-stretch:
normal;"><b>Sent:</b>
Monday, July 07, 2008 6:26 PM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal;
font-weight: normal; font-size: 10pt; line-height: normal;
font-size-adjust: none; font-stretch:
normal;"><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="border-left: 1px solid rgb(204, 204, 204);">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.
<span class="moz-txt-citetags">&gt; </span>

<span class="moz-txt-citetags">&gt; </span>
&lt;add key="xAPListeningIP<wbr>" value="<a
moz-do-not-send="true" href="http://192.168.1.10";>192.168.1.10</a>"
/&gt;
hth
James
</pre>
</blockquote>
<br>
2008/7/7 Martyn Wendon &lt;<a moz-do-not-send="true"
href="mailto:martynwendon@xxxxxxx";>martynwendon@<wbr>yahoo.co.<wbr>uk</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.<wbr>event<br>
&gt; &nbsp; &nbsp;
source=mi4.jabber.<wbr>Jabber<br>
&gt; }<br>
&gt; Message.Receive<br>
&gt; {<br>
&gt; &nbsp; &nbsp;
from=somechimp@<wbr>somejabber.<wbr>server<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.<wbr>cmd<br>
&gt; &nbsp; &nbsp; source=mi4.four.<wbr>Four<br>
&gt; }<br>
&gt; Message.Send<br>
&gt; {<br>
&gt; &nbsp; &nbsp;
to=somechimp@<wbr>somejabber.<wbr>server<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>
</div>
<!--End group email --> </blockquote>
<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=3992/stime=1215461335";
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=X3oDMTJmN2kzdnBnBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTU0NjEzMzU-";>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=X3oDMTJkMzd0MzRkBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE1NDYxMzM1";>
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>

--------------020905090403030308000400--


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.