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



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

Guess I should of checked that debug was still in the new framework, it
isn't :(
Re-reading you earlier messages I had missed the bit that said viewer
was seeing two of the replies from Four. I've sent you offlist the
latest Four build to try. While it may not solve the problem it does now
have a log tab so you can see what it is doing/trying to do. You should
see a line for the receiving of a message and also lines for when it
sends replys.  Can you see how many of which you are seeing?  What I am
wondering is, is Four seeing two messages therefore replying twice or is
it doing something wrong and replying twice to a single message.

James


Martyn Wendon wrote:
>
> Yes, it's still happening with 0.5
>
> (I got teh <br/> stuff working now which is cool, nicely
formatted IM
> messages now!)
>
> I set xml=yes and triggered some messages but don't seem to have any
> file "xmldebug" in the app directory, or anywhere else for
that matter??
>
> Martyn
>
>     ----- Original Message -----
>     *From:* James Traynor <mailto:james.traynor@xxxxxxx>
>     *To:* xap_automation@xxxxxxx
>     <mailto:xap_automation@xxxxxxx>
>     *Sent:* Monday, July 07, 2008 9:08 PM
>     *Subject:* **SPAM: Re: [xap_automation] xAP Jabber / xAP Four
>
>     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
>>         >
>>         >
>>
>
>


--------------060504050104060301090602
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">


Guess I should of checked that debug was still in the new framework, it
isn't :(<br>
Re-reading you earlier messages I had missed the bit that said viewer
was seeing two of the replies from Four. I've sent you offlist the
latest Four build to try. While it may not solve the problem it does
now have a log tab so you can see what it is doing/trying to do. You
should see a line for the receiving of a message and also lines for
when it sends replys.&nbsp; Can you see how many of which you are
seeing?&nbsp;
What I am wondering is, is Four seeing two messages therefore replying
twice or is it doing something wrong and replying twice to a single
message.<br>
<br>
James<br>
<br>
<br>
Martyn Wendon wrote:
<blockquote cite="mid:005501c8e06e$dd0ab530$1201a8c0@xxxxxxx"
type="cite">
<div id="ygrp-text">
<p></p>
<div><font face="Arial" size="2">Yes, it's
still happening with 0.5</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">(I got teh
&lt;br/&gt; stuff working
now which is cool, nicely formatted IM messages
now!)</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">I set
xml=yes and triggered some
messages but don't seem to have any file "xmldebug" in the app
directory, or anywhere else for that matter??</font></div>
<div>&nbsp;</div>
<div><font face="Arial"
size="2">Martyn</font></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="james.traynor@xxxxxxx"
href="mailto:james.traynor@xxxxxxx";>James
Traynor</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 9:08 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>
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 moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://www.thewebsiteisdown.com/";>http://www.thewebsi<wbr>teisdown.<wbr>com/</a><br>
<br>
Martyn Wendon wrote:
<blockquote cite="mid:003d01c8e05e$e534ce90$1201a8c0@xxxxxxx"
type="cite">
<div id="ygrp-text">
<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";
moz="true">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="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";
moz="true">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";
moz="true">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";
moz="true">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";
moz="true">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 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=3994/stime=1215466333";
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=X3oDMTJmNWpybXJsBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTU0NjYzMzM-";>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=X3oDMTJkNGwwdWV1BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE1NDY2MzMz";>
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>

--------------060504050104060301090602--


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.