I added a new tag in weewx-GTS <https://github.com/roe-dl/weewx-GTS>.

$daylight is the timespan from sunrise to sunset. The option days_ago is 
also available.

Examples: 
$daylight.outTemp.avg is the average temperature while the sun is up today.
$daylight(days_ago=1).outTemp.avg is the same for yesterday.

$LMTmonth.daylights and $LMTyear.daylights create a series of daylight 
timespans 

Example:
<table>
  <tr>
    <th>day</th>
    <th>sunrise</th>
    <th>sunset</th>
    <th>avg. temperature while sun is up</th> 
</tr> 
#for $span in $LMTmonth.daylights 
<tr> 
    <td>$span.dateTime.format("%d")</td> 
    <td>$span.start</td>
    <td>$span.end</td>
    <td>$span.outTemp.avg</td> 
</tr> 
#end for 
</table>

This creates a table of the month showing day of month, sunrise, sunset and 
average temperature for the time in between for each day of that month.

energy_integral can now be used for group_power, too, to calculate the 
energy from power readings.


-- 
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/88a05c77-e7ec-4600-860e-2c06062c5fb1n%40googlegroups.com.

Reply via email to