The docs can be pretty daunting for sure. There's not really a gentle introduction that I can find for what you're asking. Things jump into the gory details.
Anyway - you get things by specifying the time or aggregation period ($day, $week, etc.) and the database element (outTemp, inTemp, etc.) and what aggregation type you want (min, max, etc.) which gets you to a cheetah template item of $day.outTemp.max or the like. - https://www.weewx.com/docs/5.3/custom/cheetah-generator/#tags has the time/aggregation periods - https://www.weewx.com/docs/5.3/reference/aggtypes/ has the aggregation types And what's in your db of course depends on your station. In general you can just look at the schema for what elements are defined there. There are time periods $latest and $current that come in handy in addition to $day, $hour, $week which come in handy as well. Re: the ecowitt question it's a long answer that really depends on your hardware and how new it is. The old original gw1000 driver would work a WS90 and either GW2000 or GW3000 but you probably will want to buy their tipping rain sensor if you want accurate rain. I used to have the 'high' version of that and it was pretty solid. My WS85 was junk with respect to haptic rain accuracy. Your mileage may vary. Since you have MQTT set up already for Home Assistant you could set your gateway to emit MQTT to your broker and then use the MQTTSubscribe extension as a driver to get it into weewx as one option, but the original gw1000 driver should be pretty much plug+play if you're just thinking of picking up a WS90 and either gateway and doing it simpler. The other ecowitt drivers have their own pros and cons depending on whether you want to handle data catchup from SD storage on your gateway (GW3000) or not. There are so many threads here about ecowitt that I can't even hazard a guess with which one to suggest given ecowitt coming out with new hardware about every week it seems. FWIW, my opinion is MQTT is the only really supportable long-term option if you want new ecowitt sensors, but anything that's been around a while will work fine with the old original GW1000 sensor. (I have ecowitt inside/outside T+H, soil temp, soil moisture sensors here and a GW1200 screenless gateway currently) On Friday, May 29, 2026 at 10:32:30 AM UTC-7 Ian Rattew wrote: > Hi Tom, > thanks for the feedback. Always a good idea to read the manual! > > I have done a lot of reading and it is all rather daunting at first! I > have been accustomed to building my website pages from individual data > records that would equate to the values that I see in Home Assistant, the > MQTT weather/Loops data. I guess I am looking for the archive records that > are stored in the SQL database. The approach seems to be the creation of > reports that include those values. Is there an easy to directly get the > those values? > > I searched for $hour. and $day. but didn't find any specific references. > How do I know what values are available? > > On a separate note I am considering getting an Ecowitt WS90 with a GW2000 > or GW3000 gateway. Reading the wiki I became aware that there are three > drivers, ecowittcustom, ecowitt_http and GW1000 - how do determine which > would be the best? > > Thanks, Ian > On Friday, May 29, 2026 at 3:35:17 PM UTC+1 Tom Keffer wrote: > >> Did you look through the Customization Guide >> <https://www.weewx.com/docs/5.3/custom/introduction/>? It has answers to >> your questions. For example, >> >> Max temperature last hour: *$hour.currentTemp.max* >> Min temperature last hour: *$hour.currentTemp.min* >> Today's average soil temperature: *$day.soilTemp1.avg* >> >> and so on. >> >> -tk >> >> On Fri, May 29, 2026 at 5:33 AM Ian Rattew <[email protected]> wrote: >> >>> Hi all, I have come from the world of meteohub on a raspberry pi which I >>> have run for over a decade. I have a now old Davis VP2 and the wind vane is >>> playing up yet again so I thought I would investigate what is current in >>> Weather-stations and Software. I have always run a WordPress weather >>> station website that I would like to maintain but I am now looking for >>> something that also has Home Assistant integration. >>> >>> So I found Weewx. I have it fully installed with Home Assistant >>> integration and some Skins. WordPress integration seems doable. >>> >>> I can see that it is very good regarding live data reporting but I am >>> confused how to do aggregate and historic values such max and min >>> temperature in the last hour or average soil temp today. >>> >>> Any advice would be greatly appreciated. >>> >>> Thanks, Ian >>> >>> -- >>> >> 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 visit >>> https://groups.google.com/d/msgid/weewx-user/b75064fb-662a-4be6-ba6c-592a7dec9fdan%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/b75064fb-662a-4be6-ba6c-592a7dec9fdan%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 visit https://groups.google.com/d/msgid/weewx-user/27edbbaa-0f52-4878-ac90-0de749353dd4n%40googlegroups.com.
