tkeffer / weewx-xaggs Goto Github PK
View Code? Open in Web Editor NEWA grab bag of new aggregation types for WeeWX
License: GNU Lesser General Public License v3.0
A grab bag of new aggregation types for WeeWX
License: GNU Lesser General Public License v3.0
Hi, I am trying to use your xaggs extension to display the number of days with rain (>0.2mm) in the week, month and year pages in my Neowx-Material skin running on WeeWX 4.8. I have installed the extension correctly, however it is not displaying the aggregate days with rain, only a 0. I maybe don't have the argument formatted correctly?
The code I am using is:
<div class="row">
<div class="col-3 text-muted font-small">
$week.rain.avg_ge((0.2, 'mm', 'group_rain')) <br>
Days with Rain
</div>
<div class="col-6">
<h4 class="h2-responsive">$week.rain.sum</h4>
</div>
<div class="col-3 text-muted font-small hi-text">
$week.rainRate.max <br>
($week.rainRate.maxtime.format($Extras.Formatting.datetime))
</div>
</div>
WeeWX is running Debian GNU/Linux 11 (bullseye) on a Raspberry Pi 4B 4GB, installed via DEB package.
You can see the week page here: https://www.360shetland.co.uk/weather/week.html
This extension no longer works with weewx 4.3.0
I can't use to plot a graph.
In the skin.conf i write
[[[historical]]]
[[[[outtemp]]]]
aggregate_type = historical_min
But nothing ocurs.
If I add aggregate_interval = day an error ocurs
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** outTemp.historical_min
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** Traceback (most recent call last):
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** obj.start()
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** self.run()
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 41, in run
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** self.genImages(self.gen_ts)
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 181, in genImages
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** aggregate_interval=aggregate_interval)
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/xtypes.py", line 99, in get_series
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** raise weewx.UnknownType(obs_type)
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** weewx.UnknownType: outTemp.historical_min
Dec 9 16:10:24 raspberrypi weewx[22716] ERROR weewx.reportengine: **** Generator terminated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.