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: xAP Floorplan 1 released



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

I think i understand the functionality you are trying to achieve.  As
you've seen in floorplan the value of a  device is the basis of what is
displayed, there is however a display string for each device that when
set overrides the device's value. The idea is that on a device'value
being  updated a script can be run that takes the revieved value and
processes it and display a more friendly message. The two functions that
do this are
Function SetDisplayValue(ByVal xAPName, ByVal NewValue) As Boolean
Function GetDisplayValue(ByVal xAPName) As String

If a displayvalue is set for a device then that displayvalue is what is
displayed. Even if the device's value is updated the displayvalue is all
that will be shown, so you need to make sure your script updates the
displayvalue. Once set the only way to put it back to just displaying
the value is to x=xap.SetDisplayValue("devname","")

hth

James

g8kmh wrote:
> Looks good - I hope to have a bit more of a play later.
>
> One quick question or future request....
>
> Is it possible to have a global variable which can be displayed and
> manipulated on the floorplan?
>
> Example:
> The TOM10 reports the room temp and that is displayed but from a
> user viewpoint it would be ideal to also show the room setpoint and
> allow that to be changed. The script can then do weather comp.,
> house occupied, etc. and activate the heating controls.
>
> Lehane
>
>
>
> --- In xap_automation@xxxxxxx, James <james@...> wrote:
>
>> Floorplan makes it's way out of beta!
>>
>> For those unfamiliar with Floorplan, it is an app it two parts.
>>
> The
>
>> first part is a web based live floorplan of your house showing all
>>
> your
>
>> devices and their status, and if possible control of those
>>
> devices. The
>
>> second part is a full automation controller. It has timers,
>>
> scripts, can
>
>> link xAP devices together and can do most things without the user
>> knowing anything about xAP but still has all the raw/advanced
>>
> features too.
>
>> Aside from many internal fixes and changes, this release brings 4
>>
> big
>
>> new features.
>>
>> Each item in an Auto Script can have a delay, so you can now
>>
> generate
>
>> powerful yet simple seqences of events. The timer system now
>>
> checks
>
>> every second rather that every 10 seconds as in the betas.
>>
>> IR Support. When IR messages are received an Auto Script is
>> automatically generated and that script can be setup to do
>>
> anything you
>
>> want.
>>
>> xPL support. You can now add raw xPL devices in exactly the same
>>
> way as
>
>> you do for raw xAP devices. These devices can, just like xAP
>>
> devices, be
>
>> displayed on a floorplan and also trigger events. You can now also
>>
> send
>
>> xPL messages from Auto Scripts, IR scripts and raw scripts.
>>
>> xPL Bridge.When enabled this brings all xPL messages into the xAP
>>
> world.
>
>> xPL messages and heartbeats are converted in to xAP, so you can
>>
> use any
>
>> xAP application with xPL. xAP applications can also target
>>
> messages back
>
>> to xPL. The bridge also has a translator option where known
>>
> schemas are
>
>> translated to their xAP counterparts.
>>
>> (If you use the xPL functions make sure you load an xPL hub.)
>>
>> Both an update zip and a full msi are available for download at
>>
> www.mi4.biz
>
>> More guides are available from here:
>> http://www.mi4.biz/modules.php?
>>
> name=Content&pa=list_pages_categories&cid=9
>
>> including how to's on xPL support, timers and auto scripts.
>>
>> Enjoy
>>
>> James
>>
>>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>


--------------050100070605090207020303
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">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">


I think i understand the functionality you are trying to achieve.&nbsp;
As
you've seen in floorplan the value of a&nbsp; device is the basis of
what is
displayed, there is however a display string for each device that when
set overrides the device's value. The idea is that on a device'value
being&nbsp; updated a script can be run that takes the revieved value
and
processes it and display a more friendly message. The two functions
that do this are<br>
<font class="content">Function SetDisplayValue(ByVal
xAPName, ByVal
NewValue) As Boolean<br>
Function GetDisplayValue(ByVal xAPName) As String<br>
<br>
If a displayvalue is set for a device then that displayvalue is what is
displayed. Even if the device's value is updated the displayvalue is
all that will be shown, so you need to make sure your script updates
the displayvalue. Once set the only way to put it back to just
displaying the value is to
x=xap.SetDisplayValue("devname","")<br>
<br>
hth<br>
<br>
James<br>
</font><br>
g8kmh wrote:
<blockquote cite="middsqmrf+nmas@xxxxxxx"
type="cite">
<pre wrap="">Looks good - I hope to have a bit more of a
play later.

One quick question or future request....

Is it possible to have a global variable which can be displayed and
manipulated on the floorplan?

Example:
The TOM10 reports the room temp and that is displayed but from a
user viewpoint it would be ideal to also show the room setpoint and
allow that to be changed. The script can then do weather comp.,
house occupied, etc. and activate the heating controls.

Lehane



--- In <a class="moz-txt-link-abbreviated" href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a>,
James <a class="moz-txt-link-rfc2396E" href="mailto:james@...";>&lt;james@...&gt;</a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Floorplan makes it's way out of beta!

For those unfamiliar with Floorplan, it is an app it two parts.
</pre>
</blockquote>
<pre wrap=""><!---->The
</pre>
<blockquote type="cite">
<pre wrap="">first part is a web based live floorplan of
your house showing all
</pre>
</blockquote>
<pre wrap=""><!---->your
</pre>
<blockquote type="cite">
<pre wrap="">devices and their status, and if possible
control of those
</pre>
</blockquote>
<pre wrap=""><!---->devices. The
</pre>
<blockquote type="cite">
<pre wrap="">second part is a full automation controller.
It has timers,
</pre>
</blockquote>
<pre wrap=""><!---->scripts, can
</pre>
<blockquote type="cite">
<pre wrap="">link xAP devices together and can do most
things without the user
knowing anything about xAP but still has all the raw/advanced
</pre>
</blockquote>
<pre wrap=""><!---->features too.
</pre>
<blockquote type="cite">
<pre wrap="">Aside from many internal fixes and changes,
this release brings 4
</pre>
</blockquote>
<pre wrap=""><!---->big
</pre>
<blockquote type="cite">
<pre wrap="">new features.

Each item in an Auto Script can have a delay, so you can now
</pre>
</blockquote>
<pre wrap=""><!---->generate
</pre>
<blockquote type="cite">
<pre wrap="">powerful yet simple seqences of events. The
timer system now
</pre>
</blockquote>
<pre wrap=""><!---->checks
</pre>
<blockquote type="cite">
<pre wrap="">every second rather that every 10 seconds as
in the betas.

IR Support. When IR messages are received an Auto Script is
automatically generated and that script can be setup to do
</pre>
</blockquote>
<pre wrap=""><!---->anything you
</pre>
<blockquote type="cite">
<pre wrap="">want.

xPL support. You can now add raw xPL devices in exactly the same
</pre>
</blockquote>
<pre wrap=""><!---->way as
</pre>
<blockquote type="cite">
<pre wrap="">you do for raw xAP devices. These devices can,
just like xAP
</pre>
</blockquote>
<pre wrap=""><!---->devices, be
</pre>
<blockquote type="cite">
<pre wrap="">displayed on a floorplan and also trigger
events. You can now also
</pre>
</blockquote>
<pre wrap=""><!---->send
</pre>
<blockquote type="cite">
<pre wrap="">xPL messages from Auto Scripts, IR scripts and
raw scripts.

xPL Bridge.When enabled this brings all xPL messages into the xAP
</pre>
</blockquote>
<pre wrap=""><!---->world.
</pre>
<blockquote type="cite">
<pre wrap="">xPL messages and heartbeats are converted in
to xAP, so you can
</pre>
</blockquote>
<pre wrap=""><!---->use any
</pre>
<blockquote type="cite">
<pre wrap="">xAP application with xPL. xAP applications can
also target
</pre>
</blockquote>
<pre wrap=""><!---->messages back
</pre>
<blockquote type="cite">
<pre wrap="">to xPL. The bridge also has a translator
option where known
</pre>
</blockquote>
<pre wrap=""><!---->schemas are
</pre>
<blockquote type="cite">
<pre wrap="">translated to their xAP counterparts.

(If you use the xPL functions make sure you load an xPL hub.)

Both an update zip and a full msi are available for download at
</pre>
</blockquote>
<pre wrap=""><!----><a
class="moz-txt-link-abbreviated" href="http://www.mi4.biz";>www.mi4.biz</a>
</pre>
<blockquote type="cite">
<pre wrap="">More guides are available from here:
<a class="moz-txt-link-freetext" href="http://www.mi4.biz/modules.php";>http://www.mi4.biz/modules.php</a>?
</pre>
</blockquote>
<pre
wrap=""><!---->name=Content&amp;pa=list_pages_categories&amp;cid=9
</pre>
<blockquote type="cite">
<pre wrap="">including how to's on xPL support, timers and
auto scripts.

Enjoy

James

</pre>
</blockquote>
<pre wrap=""><!---->








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.