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: Re: jabber feature request



Argh, my post was incredibly misleading, and wrong :) I thought Jabber
was misreporting the status, in actual fact I had an errant IM client
which wasnt logging off or resetting the online status.
The floorplan script appears to be working, had a couple of "wake up
ping"s logged early this morning around the transport restart (failed
a
bit later on though, not sure why).

Max

rleong1 wrote:
>
> it only sends a message when it detects a change on xstatus. so if the
> account is offline before floorplan is started it will not detect its
> xstatus going to null.
>
> --- In xap_automation@xxxxxxx
> <mailto:xap_automation%40yahoogroups.com>,
max <max@...> wrote:
> >
> > Yep, I caught the typo.
> >
> > Just been through the last couple of hours worth of messages,
with
> > viewer, monitoring a couple of jabber accounts One online, one
offline.
> > Messages for the online account are sent, regardless of actual
> status,
> > status=Available xstatus=
> > Nothing is sent for the offline account,
> >
> > Max
> >
> > rleong1 wrote:
> > >
> > > --- In xap_automation@xxxxxxx
> <mailto:xap_automation%40yahoogroups.com>
> > > <mailto:xap_automation%40yahoogroups.com>,
max <max@> wrote:
> > > >
> > > > Oh yeah, the script didn't work for me. It seems to be
running fine,
> > > > everything looks fine in viewer, but I still lost the
MSN transport
> > > when
> > > > it restarted/disconnected this morning.
> > >
> > > there was a typo in the script that james pointed out below.
did you
> > > fix that?
> > >
> > > >
> > > > Max
> > > >
> > > > James Traynor wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm in the process of adding some internal keep
alive messsages
> > > per user
> > > > > and just wanted to confirm a couple of points.
> > > > >
> > > > > The disconnection is just to the Yahoo transport,
ie
> theconnection to
> > > > > the jabber server is kept alive.
> > > > > What kind of interval is there between
disconnects? I can
> either do a
> > > > > 'hello' message every hour( or some other
interval) or just
> send on a
> > > > > blank xstatus.
> > > > > I was looking at the script posted and was a
little confused by
> > > > >
> > > > > if Len(Mystatus) < 2 then
> > > > > shouldn't that be
> > > > > if Len(status) < 2 then
> > > > > or am i missing something obvious ( probably the
case!!)
> > > > >
> > > > > James
> > > > >
> > > > > max wrote:
> > > > > > That seems to have done it. Script is running
on queue now.
> Lets see
> > > > > > what happens in the morning.
> > > > > >
> > > > > > Max
> > > > > >
> > > > > > rleong1 wrote:
> > > > > >
> > > > > >> access to raw values in scripts is from a
test release:
> > > > > >>
> > > > > >>
> http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>
> > > <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>>
> > > > >
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>
> > > <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>>>
> > > > > >>
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>
> > > <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>>
> > > > >
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>
> > > <http://tech.groups.yahoo.com/group/xap_automation/message/2972
> <http://tech.groups.yahoo.com/group/xap_automation/message/2972>>>>
> > > > > >>
> > > > > >> --- In xap_automation@xxxxxxx
> <mailto:xap_automation%40yahoogroups.com>
> > > <mailto:xap_automation%40yahoogroups.com>
> > > > > <mailto:xap_automation%40yahoogroups.com>
> > > > > >> <mailto:xap_automation%40yahoogroups.com>,
Lehane Kellett
> <lehane@>
> > > > > >> wrote:
> > > > > >>
> > > > > >>> Could you look to see which version
of the executable you are
> > > running?
> > > > > >>>
> > > > > >>> (Right click on Floorplan.exe, then
properties) should be
> > > something
> > > > > >>>
> > > > > >> like
> > > > > >>
> > > > > >>> 195.
> > > > > >>>
> > > > > >>> I have a sneaky feeling that the
released FP 1.1 doesn't
> support
> > > > > >>> rawmessage..
> > > > > >>>
> > > > > >>> Lehane
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>> max wrote:
> > > > > >>>
> > > > > >>>> Corrected the formatting, the new
error is
> > > > > >>>>
> > > > > >>>> Script error : *jabberstatus* :
26/10/2006 18:51:39
> > > > > >>>> Line : 7
> > > > > >>>> Error Text :
> > > > > >>>> Error Description :Object doesn't
support this property or
> > > method:
> > > > > >>>> 'xap.getfromraw'
> > > > > >>>>
> > > > > >>>> Lehane Kellett wrote:
> > > > > >>>>
> > > > > >>>>> Max,
> > > > > >>>>> Did you put all the SendxAP
stuff on one line or three? It
> > > should be
> > > > > >>>>> on one line but the example
has been formatted from what I
> > > can see.
> > > > > >>>>>
> > > > > >>>>> Lehane
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>> max wrote:
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>> Tried the script but I
get the following syntax error.
> > > > > >>>>>>
> > > > > >>>>>> Script error :
*jabberstatus* : 26/10/2006 15:19:13
> > > > > >>>>>> Line : 17
> > > > > >>>>>> Error Text :
x=xap.SendxAP( "display. text" & chr(10) &
> "{" &
> > > > > >>>>>>
> > > > > >> chr(10) &
> > > > > >>
> > > > > >>>>>> Error Description :Syntax
error
> > > > > >>>>>>
> > > > > >>>>>> Means nothing to me :)
> > > > > >>>>>>
> > > > > >>>>>> Max
> > > > > >>>>>>
> > > > > >>>>>> rleong1 wrote:
> > > > > >>>>>>
> > > > > >>>>>>> funny. i was just
figuring out this problem w/ the yahoo
> > > > > >>>>>>>
> > > > > >> transport.
> > > > > >>
> > > > > >>>>>>> posted my solution on
my new blog
> > > > > >>>>>>>
> > > > > >>>>>>> http://kjsdoghouse. blogspot. com <http://kjsdoghouse.
> > > blogspot.
> > > > > >>>>>>>
> > > > > >>>> com <http://kjsdoghouse.blogspot.com
> <http://kjsdoghouse.blogspot.com>
> > > <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>
> > > > > <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>
> <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>>
> > > > > >>>>
> > > > > >> <http://kjsdoghouse.blogspot.com
> <http://kjsdoghouse.blogspot.com>
> <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>
> > > <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>
> <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>>>>>
> > > > > >>
> > > > > >>>>>> <http://kjsdoghouse. blogspot. com <http://kjsdoghouse.
> > > blogspot.
> > > > > >>>>>>
> > > > > >>>> com <http://kjsdoghouse.blogspot.com
> <http://kjsdoghouse.blogspot.com>
> > > <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>
> > > > > <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>
> <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>>
> > > > > >>>>
> > > > > >> <http://kjsdoghouse.blogspot.com
> <http://kjsdoghouse.blogspot.com>
> <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>
> > > <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>
> <http://kjsdoghouse.blogspot.com
<http://kjsdoghouse.blogspot.com>>>>>>>
> > > > > >>
> > > > > >>>>>>> --- In
xap_automation@ yahoogroups. com
> > > > > >>>>>>>
> > > > > >>>>>> <mailto:xap_ automation% 40yahoogroups. com>
> > > > > >>>>>>
> > > > > >>>>>>> <mailto:xap_ automation%
40yahoogroups. com>, max <max@>
> > > wrote:
> > > > > >>>>>>>
> > > > > >>>>>>>> Also, can you add
individualized reconnection options for
> > > > > >>>>>>>>
> > > > > >> allowed
> > > > > >>
> > > > > >>>>>>> users?
> > > > > >>>>>>>
> > > > > >>>>>>>> If user A is
offline, attempt reconnection at x minutes
> > > > > >>>>>>>>
> > > > > >>>> intervals. If
> > > > > >>>>
> > > > > >>>>>>>> user B is
offline, do not reconnect. etc.
> > > > > >>>>>>>>
> > > > > >>>>>>>> The MSN transport
that I'm using likes to disconnect
> a few
> > > > > >>>>>>>>
> > > > > >> minutes
> > > > > >>
> > > > > >>>>>>> after
> > > > > >>>>>>>
> > > > > >>>>>>>> arriving at work
:)
> > > > > >>>>>>>>
> > > > > >>>>>>>> Max
> > > > > >>>>>>>>
> > > > > >>>>>>>> rleong1 wrote:
> > > > > >>>>>>>>
> > > > > >>>>>>>>> James,
> > > > > >>>>>>>>>
> > > > > >>>>>>>>> any chance
you can add a feature to
> disconnect/reconnec t
> > > > > >>>>>>>>>
> > > > > >>>> jabber on
> > > > > >>>>
> > > > > >>>>>>>>> receipt of
some xap command? i'd like to disable it at
> > > > > >>>>>>>>>
> > > > > >> certain
> > > > > >>
> > > > > >>>>>> times
> > > > > >>>>>>
> > > > > >>>>>>>>> (like when
i'm asleep) so it doesn't forward messages.
> > > > > >>>>>>>>>
> > > > > >>>>>>>>>
> > > > > >>>>>>>>>
> > > > > >>>>>>>>>
> > > > > >>>>>>>
> > > > > >>>>>> ------------ ---------
--------- --------- ---------
> > > --------- -
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>
----------------------------------------------------------
> > > > > >>
> > > > > >>>>
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > Yahoo! Groups Links
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>




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.