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: more questions!


  • Subject: Re: more questions!
  • From: "rleong1" <rleong1@xxxxxxxxx>
  • Date: Mon, 28 Aug 2006 22:01:10 -0000

thanks James, that fixed the uid mapping problem.

--- In xap_automation@xxxxxxx, James <james@...> wrote:
>
> Hi,
>
> A fix for you:
> http://www.mi4.biz/files/testing/floorplan20060828.zip
> There was a fault which happened when the uid became  0A which broke
things.
>
> Also added,  when triggering a script from a raw device you can now
> access any other value of the message from the script.
> for example  if you wan the TOD item from the Time section in a
> Weather.Report message then this:
> x=xap.getfromraw(rawmessage,"time,tod")
> will load the value into x
> ie the syntax is section comma item  so to get the air pressure it
would be:
> x=xap.getfromraw(rawmessage,"weather.report,airpressured")
>
> If you're wondering RawMessage is a string holding the xAP message
that
> is passed to the script.
>
> James
>
> rleong1 wrote:
> > here's a couple messages that goes thru.  same format as the
failing
> > one, but these are among the first 8 devices i send xpl messages
for.
> >  i notice the uids have changed.  the failing ones all have
FF486200.
> >  i guess something isn't correctly updating the uid beyond 8
devices?
> >
> > xap-header
> > {
> >     v=12
> >     hop=1
> >     uid=FF486201
> >     class=xapbsc.info
> >     source=xpl.pts.starcom.home:officelampr
> > }
> > output.state
> > {
> >     state=On
> >     level=0
> > }
> >
> >
> > xap-header
> > {
> >     v=12
> >     hop=1
> >     uid=FF486205
> >     class=xapbsc.info
> >     source=xpl.pts.starcom.home:sinklight
> > }
> > output.state
> > {
> >     state=On
> >     level=0
> > }
> >
> > --- In xap_automation@xxxxxxx, James <james@> wrote:
> >
> >> Could you send me some example sensor.basic messages that you
are
> >> sending? Including some that get through and some that don't.
> >> There should be no reason why they don't get transfered as
long
as it's
> >> less than 254 devices (uid limit). When you say UID error, i
presume
> >> this is from Viewer?  does it actually say what the error
was,  I'm
> >> guessing it is an incorrect number of characters, probably
something to
> >> do with decimal to hex conversion...somewhere
> >>
> >> James
> >>
> >>
> >
> >
> >
> >
> >
> >
> >
> > 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.