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: Configuration process


  • Subject: RE: Configuration process
  • From: Tony T
  • Date: Wed, 15 Jan 2003 08:05:00 +0000

> There is nothing in the spec that prevents you setting up a
> program that would give out the timestamp instances you
> suggest automatically (xplhal could easily do this, for
> instance) as long as the yymmddhhmmss (or
> whatever) for the instance didn't exceed the allowed number
> of characters. You could then give them a more meaningful
> name (if you liked, and would be
> preferable) later on by sending a replacement config.
>

In fact you can do this with one line of vb script in an xplhal config sub

Sub KAT5_SWITCH_DEFAULT_Config()

Call
xpl.sendmsg("XPL-CMND","TARGET=KAT5-SWITCH.DEFAULT","CONFIG.RESPONSE","NEWCO
NF=" & format(now,"yyyymmddhhmmss"))

End Sub

This would execute each time a config.basic schema xpl-stat message was
received for (in this example) KAT5-SWITCH.DEFAULT
As the device/app would change it's heartbeat from config.basic to
hbeat.basic, it wouldn't get another value assigned once the first
assignment was made.

Then you can go back later and assign meaningful names.

Regards
Tony







xPL Main Index | xPL Thread Index | xPL 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.