Weewx Versions Save

WeeWX code repository

v5.0.2

4 months ago

Distributions

ChangeLog

5.0.2 02/10/2024

Add target network-online.target to the weewx systemd unit file. This prevents weewxd from starting until the network is ready.

v5.0.1

4 months ago

Distributions

ChangeLog

5.0.1 02/04/2024

Include backwards compatible reference to weewx.UnknownType.

Fix problem with installing extensions into installations that used V4 config files that were installed by a package installer.

Fix problem with weectl device when using drivers that were installed using the extension installer. Fixes issue #918.

Fix problem that prevented daily summaries from being rebuilt if they had been modified by using weectl database drop-columns.

Allow the use of the tilde (~) prefix with --config options.

Fix problem that prevented debug statements from being logged.

Minor corrections to the Norwegian translations. Thanks to user Aslak! PR #919.

Change Chinese language code to zh. Fixes issue #912.

Fix bug in redhat/suse scriptlet that incorrectly substituted {weewx} instead of weewx in the udev rules file.

In the redhat/suse installers, use /var/lib/weewx as HOME for user weewx.

v5.0.0

5 months ago

Distributions

ChangeLog

5.0.0 01/14/2024

Python 2.7 is no longer supported. You must have Python 3.6 (introduced December 2016) or greater. WeeWX 5 uses the module importlib.resources, which was introduced in Python 3.7. So those using Python 3.6 must install the backport, either using the system's package manager, or pip.

WeeWX can now be installed using pip.

With pip installs, station data is stored in ~/weewx-data by default, instead of /home/weewx. This allows pip installs to be done without root privileges. However, /home/weewx can still be used.

The new utility weectl replaces wee_database, wee_debug, wee_device, wee_extension, wee_import, wee_reports, and wee_config. Try weectl --help to see how to use it.

Individual reports can now be run using weectl report run. For example, weectl report run MobileReport.

The extension installer can now install from an http address, not just a file or directory.

When using weectl database with action calc-missing, the tranche size can now be set.

Documentation now uses MkDocs. It is no longer included in the distribution, but can always be accessed online at https://weewx.com/docs.

Package installs now use systemd instead of the old System V /etc/init.d.

Allow StdCalibrate to operate only on LOOP packets, or only on archive records. Addresses issue #895.

Removed all references to the deprecated package distutils, which is due to be removed in Python v3.12.

Removed the utility wunderfixer. The Weather Underground no longer allows posting past-dated records.

Method ImageDraw.textsize() and constants ImageFont.LAYOUT_BASIC, and Image.ANTIALIAS were deprecated in Pillow 9.2 (1-Jul-2022), then removed in Pillow 10.0 (1-Jul-2023). V5.0 replaces them with alternatives. Fixes issue #884.

Fix bug when using Pillow v9.5.0. Fixes issue #862.

The Standard skin now uses the font DejaVuSansMono-Bold and includes a copy. Before, it had to rely on hardwired font paths, which were less reliable.

If the uploaders get a response code of 429 ("TOO MANY REQUESTS"), they no longer bother trying again.

Limit station registration to once a day, max.

Station registration now uses HTTP POST, instead of HTTP GET.

Station registration is delayed by a random length of time to avoid everyone hitting the server at the same time.

Fix problem where aggregation of null wind directions returns 90° instead of null. Fixes issue #849.

Fix wrong station type for Vantage weectl device --info query.

Add retransmit information for Vantage weectl device --info query.

Fix problem when setting Vantage repeater. Fixes issue #863.

Detect "dash" values for rain-related measurements on Vantage stations.

Change aggregations minsumtime and maxsumtime to return start-of-day, rather than the time of max rainfall during the day.

Relax requirement that column dateTime be the first column in the database. Fixes issue #855.

Allow aggregation of xtypes that are not in the database schema. Fixes issue #864.

Tag suffix has_data() now works for xtypes. Fixes issue #877.

Additional shorthand notations for aggregation and trend intervals. For example, 3h for three hours.

Accumulator firstlast no longer coerces values to a string. Thanks to user "Karen" for spotting this!

Fix problem that caused crashes with firstlast accumulator type. Fixes issue #876.

Fixed problem that prevented the astrometric heliocentric longitude of a body from being calculated properly.

Default format for azimuth properties (such as wind direction) is now zero padded 3 digits. E.g., 005° instead of .

Most almanac properties are now returned as ValueHelpers, so they will obey local formatting conventions (in particular, decimal separators). To avoid breaking old skins, these properties now have new names. For example, use $almanac.venus.altitude instead of $almanac.venus.alt.

Fix problem that prevented database from getting hit when calculating pressure. Fixes issue #875.

Fix problem that prevented option stale_age from being honored in image generation. Thanks to user Ian for PR #879!

Fix problem that prevented complex aggregates such as max_ge from being used in plots. Fixes issue #881.

Updated humidex formula and reference. Fixes issue #883.

Fix bugs in the "basic" skin example.

Fix bug that prevented calculating $trend when one of the two records is missing.

Fix bug that caused the extension installer to crash if one of the service groups was missing in the configuration file. Fixes issue #886.

New option retry_wait. If weewxd encounters a critical error, it will sleep this long before doing a restart.

Change from old Google Analytics UA code to the GA4 tag system in the Standard and Seasons skins. Fixes issue #892.

All weectl import sources now include support for a field map meaning any source field can be imported to any WeeWX archive field.

Units for weectl import sources that require user specified source data units are now specified in the [[FieldMap]] stanza.

Fixed problem when plotting wind vectors from a database that does not include daily summaries.

Fixed a long-standing bug in the log message format that made 'python' or 'journal' appear as the process name instead of 'weewx'.

The process name for weewxd is now 'weewxd'. In V4 it was 'weewx'.

The rc script and configuration for FreeBSD/OpenBSD has been updated and now uses standard BSD conventions.

The DEB/RPM packaging now detect whether systemd is running, so on systems that use SysV, the rc scripts will be installed, and on systems such as docker that do not use systemd, no systemd dependencies will be introduced.

v4.10.2

1 year ago

Distributions

ChangeLog

4.10.2 02/22/2023

Removed errant "f-string" in imagegenerator.py.

Added missing ".long_form" to celestial.inc that would cause total daylight to be given in seconds, instead of long form.

Fix problem that a None value in long_form() would raise an exception. PR #843. Thanks to user Karen!

The module user.extensions is now imported into wee_reports. Thanks to user jocelynj! PR #842.

Fix problem that prevented wee_device --set-retransmit from working on Vantage stations.

Using a bad data binding with an aggregation tag no longer results in an exception. Instead, it shows the tag in the results. Related to PR #817.

v4.10.1

1 year ago

Distributions

ChangeLog

4.10.1 01/30/2023

Logging handler rotate has been removed. Its need to access privileged location /var/log/weewx.log on start up would cause crashes, even if it was never used.

v4.10.0

1 year ago

Distributions

ChangeLog

4.10.0 01/29/2023

Don't inject txBatteryStatus and consBatteryVoltage into records in the Vantage driver. Let the accumulators do it. Fixes issue #802.

Different wake-up strategy for the Vantage console.

Do not write config_path and entry_path to updated configuration dictionary. Fixes issue #806.

Allow more flexible formatting for delta times. This can break old skins. See Upgrade Guide. PR #807.

Fix bug that prevents group_deltatime from being used by timespans. Users who used custom formatting for delta times will be affected. See the Upgrade Guide. Fixes issue #808.

Add suffix ".length" to class TimespanBinder. This allows expressions such as $month.length. PR #809. Thanks to user Karen!

Added new unit "hertz". PR #812. Again, thanks to user Karen!

Calculate *.wind.maxtime out of windGust like *.wind.max Fixes issue #833

Option line_gap_fraction can now be used with bar plots. Fixes issue #818.

v4.9.1

1 year ago

Distributions


4.9.1 10/25/2022 Fix problem with wind for older versions of sqlite.

v4.9.0

1 year ago

Distributions


4.9.0 10/24/2022 Fix problem that create 'ghost' values for VantageVue stations. Fix problem that causes leafWet3 and leafWet4 to be emitted in VP2 stations that do not have the necessary sensors. Fixes issue #771.

Try waking the Vantage console before giving up on LOOP errors. Better Vantage diagnostics. Fixes issue #772.

Add missing 30-day barometer graph to Smartphone skin. Fixes issue #774.

Fix check for reuse_ssl for Python versions greater than 3.10. Fixes issue #775.

The utility wee_reports can now be invoked by specifying a --date and --time. Fixes issue #776.

Allow timestamps that are not integers. Fixes issue #779.

Add localization file for Traditional Chinese. Thanks to user lyuxingliu! PR #777.

Don't swallow syntax errors when wee_config is looking for drivers.

Include 'wind' in daily summary if 'windSpeed' is present.

Refine translations for French skin. Thanks to user Pascal!

Allow a custom cipher to be specified for FTP uploads. See option 'cipher' under [[FTP]].

Ensure that rundir exists and has correct permissions in weewx-multi

Allow auto-provisioning feature of Seasons to work when using a SQL expression for option data_type in the ImageGenerator. Fixes issue #782.

Allow constants albedo, cn, and cd to be specified when calculating ET. See the User's Guide. Resolves issue #730.

Fix problem that prevented wee_reports from using a default location for weewx.conf.

Post location of the configuration file and the top-level module to the station registry. Thanks to Vince! PR #705.

Fix minor install warning under Python 3.10. Fixes issue #799.

Fix problem where xtypes.ArchiveTable.get_series() does not pass option_dict on to get_aggregate(). Fixes issue #797

Added copytruncate option to default log rotation configuration. Thanks to user sastorsl. Addresses PR #791.

Update the default and example rules in rsyslog configuration. The output from the weewx daemon goes to weewxd.log whereas the output from wee_xxx utilities goes to weewx.log. Also added examples of how to deal with systemd/journald messing with log output. Addresses PR#788 and PR#790. Thanks to user sastorsl.

Allow additional aggregation intervals for observation type $wind. In particular, 'vecdir' and 'vecavg' can be done for aggregation intervals other than multiples of a day. Fixes issue #800.

v4.8.0

2 years ago

Distributions


4.8.0 04/21/2022 Allow unit to be overridden for a specific plot by using new option 'unit'. Fixes issue #729.

Fix problem that prevented wind from appearing in NOAA yearly summaries.

Fix honoring global values for log_success and log_failure. Fix issue #757.

wee_import CSV imports now allow import of text fields. Addresses issue #732.

Explain in the Customizing Guide how to include arbitrary SQL expressions in a plot.

Reorder font download order, for slightly faster downloads. Fix issue #760.

Add observation types highOutTemp and lowOutTemp to group_temperature.

Add unit groups for sunshine and rain duration, cloudcover, and pop. PR #765

Do not allow HUP signals (reload is not allowed as of V4.6). PR #766.

Do not fork if using systemd. PR #767.

Fix problem that prevented wee_config --reconfigure from working when using Python 2.7, if the configuration file contained UTF-8 characters.

v4.7.0

2 years ago

Distributions


4.7.0 03/01/2022 Introduced new option generate_once. If True, templates will be generated only on the first run of the reporting engine. Thanks to user Rich! PR #748.

Added option wee_device --current for vantage.

Fixed two typos in the Standard skin.

Fixed spelling mistakes in the Norwegian translations. Thanks to Aslak! PR#746

Supply a sensible default context for group_deltatime when no context has been specified.

If windGustDir is missing, extract a value from the accumulators.

Fixed typo that shows itself if no [Labels]/[[Generic]] section is supplied. Fixes issue #752.

Fixed calculation of field bar_reduction for Vantage type 2 LOOP packets.

Fix problem that prevents windSpeed and windDir from being displayed in the RSS feed. Fixes issue #755.