Weewx

Latest version: v5.1.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

3.8.1

Map cc3000 backup battery to consBatteryVoltage and station battery to
supplyVoltage to more accurately reflect the battery functions.

Update the syntax in the rsyslog configuration sample

Significant overhaul to the WMR300 driver. The driver should now work reliably
on any version of pyusb and libusb. The driver will now delete history records
from the logger before the logger fills up (the WMR300 logger is not a circular
buffer). Thanks to users Markus Biewer and Cameron. Fixes issue 288.

Added automatic clearing of logger for CC3000 driver to prevent logger
overflow (the CC3000 logger is not a circular buffer). The default is to
not clear the history, but it is highly recommended that you add a logging
threshold once you are confident that all logger data have been captured to
the weewx database.

Improved the robustness of reading from the CC3000 logger.

Better CRC error message in Vantage driver.

Parameterize the configuration directory in weewx-multi init script.

In StdWXCalculate, use None for an observation only if the variables on which
the derived depends are available and None. Fixes issue 291.

Fixed bug that prevented specifying an explicit alamanac time from working.

Fixed bug that prevented historical records from being downloaded from ws23xx
stations. Thanks to user Matt Brown! Fixes issue 295

Fixed bug that crashed program if a sqlite permission error occurred.

If wind speed is zero, accumulators now return last known wind direction
(instead of None). Thanks to user DigitalDan05. PR 303.

Windrun calculations now include the "current" record. Fixes issue 294.

Fixed bug involving stations that report windGust, but not windGustDir, in
their LOOP data (e.g., Fine Offset), which prevented the direction of max
wind from appearing in statistics. Fixes issue 320.

The engine now waits until the system time is greater than the creation time
of the weewx.conf file before starting up. Fixes issue 330.

3.8.0

Distributions

For Debian, Ubuntu, Mint:
[weewx_3.8.0-1_all.deb](http://weewx.com/downloads/released_versions/weewx_3.8.0-1_all.deb)

---

For Redhat, CentOS, Fedora:
[weewx-3.8.0-1.rhel.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.8.0-1.rhel.noarch.rpm)

---

For SuSE, OpenSuSE:
[weewx-3.8.0-1.suse.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.8.0-1.suse.noarch.rpm)

---

For all operating systems including Linux, BSD, MacOSX. This is the best choice if you intend to customize weewx:
[weewx-3.8.0.tar.gz](http://weewx.com/downloads/released_versions/weewx-3.8.0.tar.gz)

---

**Change log**

The `stats.py` example now works with heating and cooling degree days.
Fixes issue 224.

The ordinal increment between x- and y-axis labels can now be chosen.
The increment between x-axis tick marks can now be chosen. Thanks
to user paolobenve! PR 226.

Bar chart fill colors can now be specified for individual observation
types. Fixes issue 227.

For aggregation types of `avg`, `min` and `max`, plots now locate the x-
coordinate in the middle of the aggregation interval (instead of the end).
Thanks again to user paolobenve! PR 232.

The nominal number of ticks on the y-axis can now be specified using
option `y_nticks`.

Fixed bug that could cause tick crowding when hardwiring y-axis min and
max values.

The uploader framework in restx.py now allows POSTS with a JSON payload,
and allows additional headers to be added to the HTTP request object.

MySQL error 2006 ("MySQL server has gone away") now gets mapped to
`weedb.CannotConnectError`. PR 246

Whether to use a FTP secure data connection is now set separately
from whether to authenticate using TLS. Fixes issue 284.

Corrected formatting used to report indoor temp and humidity to the
Weather Underground.

Added inDewpoint to the observation group dictionary.

Added missing aggregation type 'min_ge'. Thanks to user Christopher McAvaney!

Plots can now use an `aggregate_type` of `last`. Fixes issue 261.

When extracting observation type stormRain (Davis Vantage only), the
accumulators now extract the last (instead of average) value.

Added additional accumulator extractors.

Allow reports to be run against a binding other than `wx_binding`.

Do chdir at start of ImageGenerator so that skin.conf paths are treated the
same as those of other generators.

Changed default value of `stale` for CWOP from 60 to 600 seconds. PR 277.

Vantage driver:
Allow user to specify the Vantage Pro model type in weewx.conf.
Repeater support added to '--set-transmitter-type' command.
New commands: '--set-retransmit',
'--set-latitude', '--set-longitude'
'--set-wind-cup',
'--set-temperature-logging'
Details explained in hardware.htm. Thanks to user dl1rf! PR 270, 272.

Using the `set-altitude` command in `wee_device` no longer changes the
barometer calibration constant in Vantage devices. See PR 263.
Thanks to user dl1rf!

Fixed bug in wmr200 driver that resulted in archive records with no
interval field and 'NOT NULL constraint failed: archive.interval' errors.

Fixed bug in wmr200 driver that caused `windDir` to always be `None` when
`windSpeed` is zero.

Include rain count in cc3000 status.

In the restx posting, catch all types of httplib.HTTPException, not just
BadStatusLine and IncompleteRead.

3.7.1

Distributions

For Debian, Ubuntu, Mint:
[weewx_3.7.1-1_all.deb](http://weewx.com/downloads/released_versions/weewx_3.7.1-1_all.deb)

---

For Redhat, CentOS, Fedora:
[weewx-3.7.1-1.rhel.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.7.1-1.rhel.noarch.rpm)

---

For SuSE, OpenSuSE:
[weewx-3.7.1-1.suse.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.7.1-1.suse.noarch.rpm)

---

For all operating systems including Linux, BSD, MacOSX. This is the best choice if you intend to customize weewx:
[weewx-3.7.1.tar.gz](http://weewx.com/downloads/released_versions/weewx-3.7.1.tar.gz)

---

**Change log**

Fixed log syntax in wmr100 and wmr9x8 drivers.

Emit Rapidfire cache info only when debug is level 3 or higher. Thanks to
user Darryn Capes-Davis.

Fixed problem that prevented Rapidfire from being used with databases in
metric units. Fixes issue 230.

Set WOW `post_interval` in config dict instead of thread arguments so that
overrides are possible. Thanks to user Kenneth Baker.

Distribute example code and example extensions in a single examples directory.
Ensure that the examples directory is included in the rpm and deb packages.

Fixed issue that prevented a port from being specified for MySQL installations.

MySQL error 2003 ("Can't connect to MySQL server...") now gets mapped to
`weedb.CannotConnectError`. PR 234.

By default, autocommit is now enabled for the MySQL driver. Fixes issue 237.

Highs and lows from LOOP packets were not being used in preference to archive
records in daily summaries. Fixed issue 239.

3.7.0

Distributions

For Debian, Ubuntu, Mint:
[weewx_3.7.0-1_all.deb](http://weewx.com/downloads/released_versions/weewx_3.7.0-1_all.deb)

---

For Redhat, CentOS, Fedora:
[weewx-3.7.0-1.rhel.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.7.0-1.rhel.noarch.rpm)

---

For SuSE, OpenSuSE:
[weewx-3.7.0-1.suse.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.7.0-1.suse.noarch.rpm)

---

For all operating systems including Linux, BSD, MacOSX. This is the best choice if you intend to customize weewx:
[weewx-3.7.0.tar.gz](http://weewx.com/downloads/released_versions/weewx-3.7.0.tar.gz)

---

**Change log**

The tag `$current` now uses the record included in the event `NEW_ARCHIVE_RECORD`,
rather than retrieve the last record from the database. This means you can
use the tag `$current` for observation types that are in the record, but not
necessarily in the database. Fixes issue 13.

Most aggregation periods now allow you to go farther in the past. For
example, the tag `$week($weeks_ago=1)` would give you last week. You
can also now specify the start and end of an aggregation period, such
as `$week.start` and `$week.end`.

Can now do `SummaryByDay` (as well as `SummaryByMonth` and `SummaryByYear`).
NB: This can generate *lots* of files --- one for every day in your database!
Leaving this undocumented for now. Fixes issue 185.

When doing hardware record generation, the engine now augments the record with
any additional observation types it can extract out of the accumulators.
Fixes issue 15.

It's now possible to iterate over every record within a timespan.
Fixes issue 182.

Use schema_name = hardware_name pattern in sensor map for drivers that support
extensible sensor suites, including the drivers for cc3000, te923, wmr300,
wmr100, wmr200, wmr9x8

Simplified sensor mapping implementation for wmr100 and wmr200 drivers. For
recent weewx releases, these are the default mappings for wmr200:
3.6.0: in:0, out:1, e2:2, e3:3, ..., e8:8 hard-coded
3.6.1: in:0, out:1, e1:2, e2:3, ..., e7:8 hard-coded
3.7.0: in:0, out:1, e1:2, e2:3, ..., e7:8 sensor_map
and these are default mappings for wmr100:
3.6.2: in:0, out:1, e1:2, e2:3, ..., e7:8 hard-coded
3.7.0: in:0, out:1, e1:2, e2:3, ..., e7:8 sensor_map

Enabled battery status for every remote T/H and T sensor in wmr100 driver.

Enabled heatindex for each remote T/H sensor in wmr200 driver.

Fixed inverted battery status indicator in wmr200 driver.

Fixed 'Calculatios' typo in wmr100, wmr200, wmr9x8, and wmr300 drivers.

Fixed usb initialization issues in the wmr300 driver.

Added warning in wmr300 driver when rain counter reaches maximum value.

Decode heatindex and windchill from wmr300 sensor outputs.

Report the firmware version when initializing the cc3000 driver.

Fixed bug in vantage driver that would prevent console wake up during
retries when fetching EEPROM vales. Thanks to user Dan Begallie!

The vantage driver no longer emits values for non-existent sensors.
As a result, LOOP and archive packets are now much smaller. If this works
out, other drivers will follow suit. Partial fix of issue 175.

The vantage driver now emits the barometer trend in LOOP packets as
field `trendIcon`.

The engine now logs locale. Additional information if a TERM signal is
received.

Removed the site-specific "Pond" extensions from the Standard skin.

The Standard skin now includes plots of outside humidity. Fixes
issue 181.

Fixed reference to `index.html.tmpl` in the xstats example.

Changed algorithm for calculating ET to something more appropriate for
hourly values (former algorithm assumed daily values). Fixes issue 160.

Fixed bug in Celsius to Fahrenheit conversion that affected pressure
conversions in `uwxutils.py`, none of which were actually used.

Fixed bug that was introduced in v3.6.0, which prevented `wee_reports` from
working for anything other than the current time.

Documented the experimental anti-alias feature, which has been in weewx
since v3.1.0. Fixes issue 6.

Fixed problem where multiple subsections under [SummaryBy...] stanzas could
cause multiple copies of their target date to be included in the Cheetah
variable `$SummaryByYear` and `$SummaryByMonth`. Fixes issue 187.

Moved examples out of `bin` directory. Eliminated `experimental` directory.
Reinforce the use of user directory, eliminate use of `examples` directory.
Renamed `xsearch.py` to `stats.py`.

OS uptime now works for freeBSD. Thanks to user Bill Richter!
PR 188.

Broke out developer's notes into a separate document.

Added media CSS for docs to improve printed/PDF formatting. Thanks to user
Tiouck!

Added a 0.01 second delay after each read_byte in ws23xx driver to reduce
chance of data spikes caused by RS232 line contention. Thanks lionel.sylvie!

The observation `windGustDir` has been removed from wmr100, wmr200, te923, and
fousb drivers. These drivers were simply assigning `windGustDir` to `windDir`,
since none of the hardware reports an actual `windGustDir`.

Calculation of aggregates over a period of one day or longer can now
respect any change in archive interval. To take advantage of this
feature, you will have to apply an update to your daily
summaries. This can be done using the tool `wee_database`, option
`--update`. Refer to the ‘Changes to daily summaries’ section in the
Upgrade Guide to determine whether you should update or not. Fixes issue 61.

Max value of `windSpeed` for the day is now the max archive value of `windSpeed`.
Formerly, it was the max LOOP value. If you wish to patch your older
daily summaries to interpret max `windSpeed` this way, use the tool `wee_database`
with option `--update`. Fixes issue 195.

The types of accumulators, and the strategies to put and extract records
out of them, can now be specified by config stanzas. This will be of
interest to extension writers. See issue 115.

Fixed battery status label in acurite driver: changed from `txTempBatteryStatus`
to `outTempBatteryStatus`. Thanks to user manos!

Made the lowBattery example more robust - it now checks for any known low
battery status, not just txBatteryStatus. Thanks to user manos!

Added info-level log message to `calculate_rain` so that any rain counter reset
will be logged.

Added better logging for cc3000 when the cc3000 loses contact with sensors
for extended periods of time.

How long to wait before retrying after a bad uploader login is now settable
with option `retry_login`. Fixes issue 212.

The test suites now use dedicated users 'weewx1' and 'weewx2'. A shell script
has been included to setup these users.

A more formal exception hierarchy has been adopted for the internal
database library `weedb`. See `weedb/NOTES.md`.

The weedb `Connection` and `Cursor` objects can now be used in a "with" clause.

Slightly more robust mechanism for decoding last time a file was FTP'd.

3.6.2

Distributions

For Debian, Ubuntu, Mint:
[weewx_3.6.2-1_all.deb](http://weewx.com/downloads/released_versions/weewx_3.6.2-1_all.deb)

---

For Redhat, CentOS, Fedora:
[weewx-3.6.2-1.rhel.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.6.2-1.rhel.noarch.rpm)

---

For SuSE, OpenSuSE:
[weewx-3.6.2-1.suse.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.6.2-1.suse.noarch.rpm)

---

For all operating systems including Linux, BSD, MacOSX. This is the best choice if you intend to customize weewx:
[weewx-3.6.2.tar.gz](http://weewx.com/downloads/released_versions/weewx-3.6.2.tar.gz)

---

**Change log**

Fixed incorrect WU daily rain field name

Fixed bug that crashed Cheetah if the weewx.conf configuration file included
a BOM. Fixes issue 172.

3.6.1

Distributions

For Debian, Ubuntu, Mint:
[weewx_3.6.1-1_all.deb](http://weewx.com/downloads/released_versions/weewx_3.6.1-1_all.deb)

---

For Redhat, CentOS, Fedora:
[weewx-3.6.1-1.rhel.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.6.1-1.rhel.noarch.rpm)

---

For SuSE, OpenSuSE:
[weewx-3.6.1-1.suse.noarch.rpm](http://weewx.com/downloads/released_versions/weewx-3.6.1-1.suse.noarch.rpm)

---

For all operating systems including Linux, BSD, MacOSX. This is the best choice if you intend to customize weewx:
[weewx-3.6.1.tar.gz](http://weewx.com/downloads/released_versions/weewx-3.6.1.tar.gz)

---

**Change log**

Fixed bug in wunderfixer.

Fixed handling of `StdWXCalculate.Calculations` in `modify_config` in the wmr100,
wmr200, wmr300, and wmr9x8 drivers.

Eliminate the apache2, ftp, and rsync suggested dependencies from the deb
package. This keeps the weewx dependencies to a bare minimum.

Added retries to usb read in wmr300 driver.

Remapped sensor identifiers in wmr200 driver so that `extraTemp1` and
`extraHumid1` are usable.

Standardized format to be used for times to `YYYY-mm-ddTHH:MM`.

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.