Releases: michael-slx/weewx-weatherlink-live
Version 1.1.5
-
Fix resource leaks and cleanup issues (#42)
WeeWX does not close and re-instantiate the driver module when an error
occurs. This previously led to issues when attempting to re-open the UDP socket.Additionally, there was a crash when cancelling scheduler tasks.
-
Make retry log messages more intuitive (#47)
Previously, retries of HTTP requests were counted starting at
0
. This
was changed to start at1
(= first retry = second attempt). -
Add log messages for successful request retries (#46)
When a HTTP request succeeds, a respective message is logged.
If it took more than one attempt, a message is logged with
theerror
level. -
Set
max
accumulator forrainRate
metric (#44)Rain rate is accumulated by using maximum value for consistency
with WeatherLink app/dashboard.
Version 1.1.4
-
Remove
[Station]
section from installer example config (PR #39)Specifying this section in the example config caused it to be removed when the extension was uninstalled, breaking the whole configuration file.
Thanks to user @tkeffer for submitting the pull request.
-
Fix type-hinting issue and compatibility problems
WeeWX supports Python 3.7 but some type-hinting used by this driver required at least Python 3.9. This was fixed so that the driver now works with Python 3.7.
Version 1.1.3
-
Update documentation for WeeWX 5
-
Add an Upgrade guide
-
Deprecate driver alias module
The driver alias module
user.weatherlink_live_driver
is no longer necessary in WeeWX 5 and will be removed in a future release. See Upgrade guide for more information. -
Simplify the configuration prompts
Some of text was removed to make the process less intimidating ... Also the mapping template prompt now always appears.
-
The extension installer will now add an example config.
The snippet contains sensible defaults for a WeatherLink Live with a standard Vantage Pro II Plus.
Version 1.1.2
- Fix installation issue on WeeWX 5 beta
Release 1.1.1
- Fix linting, spelling and compatibility issues
Driver is now compatible with Python 3.7 or later.
- State required Python version in documentation
v1.1.0
- Add command to print mappings
Use the shell command wee_device --print-mapping
to display a table of mappings. The command will print a table grouped by transmitters and mappings.
- Add alias for driver entry point and schema definition
An alias for the driver entry point and the database schema definition was added so that the driver is recognized by the setup utility wee_config
.
For backwards compatibility, the old entry point can still be used.
- Add interactive setup utility
Using the command wee_config
to run an interactive setup will now bring up prompts specifically for this driver. The hostname as well as mappings can be configured this way.
- Add driver-specific logging settings
Logging of successful and erroneous operations can now be separately configured for the driver using the log_success
and log_failure
options respectively. Driver-specific options take precedence over global options.
- Tweak the levels of some log messages
In light of the change listed above, the level of some log messages was tweaked. Most notably, the message that a new packet was received was raised to the INFO
level. You can disable these by setting log_success
to false
either globally or just for the driver.
- Configuration value boundary checks
Configuration values are checked to be within bounds immediately during initialization.
- New documentation
Documentation was expanded and split into multiple separate documents.
v1.0.11
v1.0.10
- Fix
THW
/THSW
mappers occupying anappTemp
field even if not marked withappTemp
- Fix
THW
/THSW
mappers not being able to resolve map targets ifappTemp
is already used
v1.0.9
-
Allow named mapping targets for battery status
battery
mapping now maps one transmitter only, but supports mapping to WeeWX's standard named battery status fields additionally to the numeric ones. -
Fix mapping targets being used multiple times
v1.0.8
-
Add
appTemp
option for THW and THSW index mappersTHW and THSW mappers can have an
appTemp
option. This will map the values to theappTemp
/appTemp1
field additionally to the respective custom fields. -
Add battery status flag mapper (
battery
)Mapper
battery
maps battery status indicator flags of transmitters tobatteryStatus
fields with respective transmitter ids (i.e.batteryStatus1
tobatteryStatus8
). -
Fix error message when an unknown mapping type is used in configuration
-
Fix broken temperature-only mapping