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: xAPFloorPlan & Room Temperatures



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

Could you let me know the settings in Floorplan for each device and an
example xPL messages that sets them?
Could it be that both sensors are reported by the same xPL message and
that xPL messages has multiple items with the same name as in

{
device=1
value=3
device=2
value=4
}
etc

Thanks

James

Neil Frost wrote:
> I can now get the two (i've just got 2 sensors on the tom10 at the mo)
temperatures displayed on the map, trouble is the temperatures are
displayed side by side and not individually... i assume thats because its
the same xPL source??
>
> what I get displayed is: 25.37 °C31.50 °C (i added the
°C suffix) no matter where i put the devices.
>
> If I change the map for one of the devices then it displays fine...
>
> any ideas?
>
> Neil
>
>
>
> ________________________________
>
> From: xap_automation@xxxxxxx on behalf of JamesTraynor
> Sent: Tue 05/09/2006 21:23
> To: xap_automation@xxxxxxx
> Subject: [xap_automation] Re: xAPFloorPlan & Room Temperatures
>
>
>
>
> but, and there is always a but,  the item value pairs are ANDs not ORs
>  so if you have move than one then all have to be true
>
> Guess i'll be adding it to the todo list ;-)
>
> J
>
> --- In xap_automation@xxxxxxx, "Kevin Hawkins"
<lists@...> wrote:
>
>> --- In xap_automation@xxxxxxx, "JamesTraynor"
<james@> wrote:
>>
>>> It then gets more awkward, especially for Floorplan, as xPL
put
>>> context throughout messages in most schemas and this was one
of the
>>> original reasons for me going xAP rather than xPL, but that's
also
>>> another story.
>>> Anyways, don't worry Floorplan to the rescue.
>>>
>>     Isn't that great :-)  xAP Desktop (another great J
application)
>> allows similar as well
>>
>>     Re the below I don't know if the 'type' parameter can change
in
>> your usage (eg to type=humidity) but if so you should add a second
>> pair relation as well..
>>
>> ItemValuePair2=type=temp
>>
>>    K
>>
>>  When you define a raw
>>
>>> device you will see 3 'Item Value Pairs', these are entered in
the
>>> form item=value, so in your example:
>>>
>>> xpl-stat
>>> {
>>> hop=1
>>> source=gshed-tom10.thefrosts
>>> target=*
>>> }
>>> sensor.basic
>>> {
>>> device=Bathroom
>>> type=temp
>>> current=25.18
>>> }
>>>
>>> becomes:
>>>
>>> Alias=Bathroom Temp
>>> Source=gshed-tom10.thefrosts
>>> Class=sensor
>>> Section=basic
>>> Item=current
>>> ItemValuePair1=device=Bathroom
>>>
>>>
>>>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>


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


Could you let me know the settings in Floorplan for each device and an
example xPL messages that sets them?<br>
Could it be that both sensors are reported by the same xPL message and
that xPL messages has multiple items with the same name as in<br>
<br>
{<br>
device=1<br>
value=3<br>
device=2<br>
value=4<br>
}<br>
etc<br>
<br>
Thanks<br>
<br>
James<br>
<br>
Neil Frost wrote:
<blockquote
cite="mid287B62DA4E419A4390EE493CCCF5E55A2FAC@xxxxxxx"
type="cite">
<pre wrap="">I can now get the two (i've just got 2 sensors
on the tom10 at the mo) temperatures displayed on the map, trouble is the
temperatures are displayed side by side and not individually... i assume
thats because its the same xPL source??

what I get displayed is: 25.37 &deg;C31.50 &deg;C (i added the
&amp;deg;C suffix) no matter where i put the devices.

If I change the map for one of the devices then it displays fine...

any ideas?

Neil



________________________________

From: <a class="moz-txt-link-abbreviated" href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a>
on behalf of JamesTraynor
Sent: Tue 05/09/2006 21:23
To: <a class="moz-txt-link-abbreviated" href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a>
Subject: [xap_automation] Re: xAPFloorPlan &amp; Room Temperatures




but, and there is always a but,  the item value pairs are ANDs not ORs
so if you have move than one then all have to be true

Guess i'll be adding it to the todo list ;-)

J

--- In <a class="moz-txt-link-abbreviated" href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a>,
"Kevin Hawkins" <a class="moz-txt-link-rfc2396E"
href="mailto:lists@...";>&lt;lists@...&gt;</a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">--- In <a
class="moz-txt-link-abbreviated" href="mailto:xap_automation@xxxxxxx";>xap_automation@xxxxxxx</a>,
"JamesTraynor" &lt;james@&gt; wrote:
</pre>
<blockquote type="cite">
<pre wrap="">It then gets more awkward, especially for
Floorplan, as xPL put
context throughout messages in most schemas and this was one of the
original reasons for me going xAP rather than xPL, but that's also
another story.
Anyways, don't worry Floorplan to the rescue.
</pre>
</blockquote>
<pre wrap="">    Isn't that great :-)  xAP Desktop (another
great J application)
allows similar as well

Re the below I don't know if the 'type' parameter can change in
your usage (eg to type=humidity) but if so you should add a second
pair relation as well..

ItemValuePair2=type=temp

K

When you define a raw
</pre>
<blockquote type="cite">
<pre wrap="">device you will see 3 'Item Value Pairs',
these are entered in the
form item=value, so in your example:

xpl-stat
{
hop=1
source=gshed-tom10.thefrosts
target=*
}
sensor.basic
{
device=Bathroom
type=temp
current=25.18
}

becomes:

Alias=Bathroom Temp
Source=gshed-tom10.thefrosts
Class=sensor
Section=basic
Item=current
ItemValuePair1=device=Bathroom


</pre>
</blockquote>
</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.