- Fix
vapor_pressure
property calculation
- Add
power_save_mode
property to Tempest devices
- Support Pint >=0.19
- Adjusted logic for
heat_index
to match WeatherFlow documentation - Add
feels_like_temperature
to calc.py
- Adjusted logic for calculate_sea_level_pressure to match WeatherFlow documentation
- Adjusted logic for
wind_direction
andwind_direction_cardinal
to report based on the last wind event or observation, whichever is most recent (similar towind_speed
) - Added properties for
wind_direction_average
andwind_direction_average_cardinal
to report only on the average wind direction - Handle UnicodeDecodeError during message processing
- Bump Pint to ^0.19
- The properties
wind_direction
andwind_direction_cardinal
now report based on the last wind event or observation, whichever is most recent. If you want the wind direction average (previous logic), please use the propertieswind_direction_average
andwind_direction_average_cardinal
, respectively - The default symbol for
rain_rate
is nowmm/h
instead ofmm/hr
due to Pint 0.19 - hgrecco/pint#1454
- Handle up_since oscillation on devices
- Rename private initialization variables in device class for clarity
- Add cloud base and freezing level calculations
- Rename parameter
height
toaltitude
on calculate_sea_level_pressure- Works with named height parameter still, but will produce a warning and eventually be dropped
- Most sensor properties now return
None
if the value is unknown instead of a default.
- Handle null wind values on observations, which happens during low voltage mode
- Fix units associated with wind_sample_interval (was erroneously in minutes, now correctly in seconds)
- Better handling of missing data points when parsing messages which may occur when the firmware revision changes
- Deprecated rain_amount_previous_minute due to name/units inconsistency
- Added rain_accumulation_previous_minute, measured in millimeters (mm)
- Added rain_rate, measured in millimeters per hour (mm/hr)
- Added wind_direction_cardinal to indicate the wind direction based on a 16-wind compass rose
Replaces the MetPy package with a combination of PsychroLib and coded equations.
The pyweatherflowudp module has been completely rewritten. As such, any version prior to 1.0.0 is incompatible with the new release.