Hi,

What you saw in the template was not an evaluation (arithmetic) as such, but 
simply showing two times in hour:minute format separated by a hyphen, much like 
the result from your code. To do in-template arithmetic you need to have some 
in-line python code to do the arithmetic and assign the result to a variable 
then use the variable as a tag later in your template. Something like 
(untested):

#set $my_result = $current.extraTemp6.raw-$current.extraHumid6.raw
<td class="stats_data">$my_result</td>

The above is a very simplistic example (formatting will probably not be what 
you want) but it gives you a start. You will find in-line python in a number of 
the templates included with WeeWX.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/af743629-2527-4e27-b315-9f6c3b988f24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to