On Mon, Mar 30, 2020 at 9:27 PM Praveen Chandrasekaran <
[email protected]> wrote:

> Hi,
>
> Can it also be used to give historical highs/lows for a month?
>
> Regards,
> Praveen
>

Not as written, but it would not be very hard to add that feature.

-tk

On Mon, Mar 30, 2020 at 4:36 PM Thomas Keffer <[email protected]> wrote:

> This is a new extension that nicely shows the power of the new XTypes
> extensions in V4.0.
>
> https://github.com/tkeffer/weewx-historical
>
> It creates new aggregation types that allows you to use tags such as
>
> <p>Max temperature for this day: $day.outTemp.historical_max in
> $day.outTemp.historical_maxtime.format("%Y")</p>
>
> This would result in something like:
>
> Max temperature for this day: 64.8°F in 2013
>
>
> Probably only useful if your database covers many years.
>
> Tested on sqlite only. In theory, it should work on MySQL/MariaDB.
>
> My intention is to eventually extend it so it will work for plots as well.
>
> For more about XTypes:
> https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/CAPq0zEAT%2Bv5L5r_51YeBc2kycSWrHpzrKiUsb%3DZdYmHz2bSKww%40mail.gmail.com.

Reply via email to