Open source software for your weather station


[ICO]NameLast modifiedSize
[PARENTDIR]Parent Directory  -
[DIR]development_versions/2017-11-22 06:46 -
[DIR]released_versions/2017-11-22 06:46 -
[   ]weewx-3.8.0-1.rhel.noarch.rpm2017-11-22 06:45 1.6M
[   ]weewx-3.8.0-1.suse.noarch.rpm2017-11-22 06:45 1.2M
[   ]weewx-3.8.0.tar.gz2017-11-22 04:41 1.1M
[   ]weewx_3.8.0-1_all.deb2017-11-22 06:44 1.1M
 weewx packages      
 for Debian, Ubuntu, Mint, including Raspberry Pi
 for Redhat, CentOS, Fedora
 for SuSE, OpenSuSE
 for all operating systems including Linux, BSD, MacOSX
 this is the best choice if you intend to customize weewx
 weewx change history

3.8.0 (22 Nov 2017)

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

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

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

Added inDewpoint to the observation group dictionary.

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

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'
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 (22 Mar 2017)

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

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

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

3.7.0 (11 Mar 2017)

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

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

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

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

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 (08 Nov 2016)

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 (13 Oct 2016)

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.

3.6.0 (07 Oct 2016)

Added the ability to run reports using a cron-like notation, instead of
with every report cycle. See User's Guide for details. Thanks to user Gary
Roderick. PR #122. Fixes issue #17.

Added the ability to easily import CSV, Weather Underground, and Cumulus
data using a new utility, wee_import. Thanks again to über-user Gary
Roderick. PR #148. Fixes issue #97.

Refactored documentation so that executable utilities are now in their own
document, utilities.htm.

Fixed rpm package so that it will retain any changes to the user directory.
Thanks to user Pat OBrien.

No ET when beyond the reach of the sun.

Software calculated ET now returns the amount of evapotranspiration that
occurred during the archive interval. Fixes issue #160

Fixed wee_config to handle config files that have no FTP or RSYNC.

Fixed bug in StdWXCalculate that ignored setting of 'None' (#110).

Which derived variables are to be calculated are now in a separate
subsection of [StdWXCalculate] called [[Calculations]]. Upgrade process
takes care of upgrading your config file.

Reset weewx launchtime when waiting for sane system clock (thanks to user
James Taylor).

Fixed anti-alias bug in genplot. Issue #111.

Corrected the conversion factor between inHg and mbar. Thanks to user

Consolidated unit conversions into module weewx.units.

Plots longer than two years now use an x-axis increment of one year. Thanks
to user Olivier!

The WS1 driver now retries connection if it fails. Thanks to user Kevin
Caccamo! PR #112.

Major update to the CC3000 driver:
 - reading historical records is more robust
 - added better error handling and reporting
 - fixed to handle random NULL characters in historical records
 - fixed rain units
 - added ability to get data from logger as fast as it will send it
 - added support for additional temperature sensors T1 and T2
 - added transmitter channel in station diagnostics
 - added option to set/get channel, baro offset
 - added option to reset rain counter

Fixed brittle reference to USBError.args[0] in wmr200, wmr300, and te923

Fixed typo in default te923 sensor mapping for h_3. Thanks to user ngulden.

Added flag for reports so that reports can be disabled by setting
enable=False instead of deleting or commenting entire report sections in

The vantage and ws23xx drivers now include the fix for the policy of "wind
direction is undefined when no wind speed". This was applied to other
drivers in weewx 3.3.0.

Fixed te923 driver behavior when reading from logger, especially on
stations with large memory configuration. Thanks to users Joep and Nico.

Fixed rain counter problems in wmr300 driver. The driver no longer attempts
to cache partial packets. Do no process packets with non-loop data when
reading loop data. Thanks to user EricG.

Made wmr300 driver more robust against empty usb data buffers.

Fixed pressure/barometer in wmr300 driver when reading historical records.

Fixed problem with the Vantage driver where program could crash if a serial
I/O error happens during write. Fixes issue #134.

Changed name of command to clear the Vantage memory from --clear to
--clear-memory to make it more consistent with other devices.

Fixed problem that prevented channel 8 from being set by the Vantage

Added solaris .smf configuration. Thanks to user whorfin.

Added option post_indoor_observations for weather underground.

Added maximum value to radiation and UV plots.

In the .deb package, put weewx reports in /var/www/html/weewx instead of
/var/www/weewx to match the change of DocumentRoot in debian 8 and later.

3.5.0 (13 Mar 2016)

Fixed bug that prevented rsync uploader from working.

Fixed bug in wmr300 driver when receiving empty buffers from the station.

The type of MySQL database engine can now be specified. Default is

Updated userguide with capabilities of the TE923 driver added in 3.4.0.

Added aggregation type min_ge(val).

Provide better feedback when a driver does not implement a configurator.

Added humidex and appTemp to group_temperature. Fixed issue #96.

Backfill of the daily summary is now done in "tranches," reducing the
memory requirements of MySQL. Thanks to über-user Gary Roderick! Fixes
issue #83.

Made some changes in the Vantage driver to improve performance,
particularly with the IP version of the logger. Thanks to user Luc Heijst
for nagging me that the driver could be improved, and for figuring out how.

Plotting routines now use Unicode internally, but convert to UTF-8 if a
font does not support it. Fixes issue #101.

Improved readability of documents on mobile devices. Thank you Chris

The loop_on_init option can now be specified in weewx.conf

When uploading data to CWOP, skip records older than 60 seconds. Fixes
issue #106.

Added modify_config method to the driver's configuration editor so that
drivers can modify the configuration during installation, if necessary.

The fousb and ws23xx drivers use modify_config to set record_generation to
software. This addresses issue #84.

The wmr100, wmr200, wmr9x8, and wmr300 drivers use modify_config to set
rainRate, heatindex, windchill, and dewpoint calculations to hardware
instead of prefer_hardware since each of these stations has partial
packets. This addresses issue #7 (SF #46).

3.4.0 (16 Jan 2016)

The tag $hour has now been added. It's now possible to iterate over hours.
Thanks to user Julen!

Complete overhaul of the te923 driver. Thanks to user Andrew Miles. The
driver now supports the data logger and automatically detects small or
large memory models. Added ability to set/get the altitude, lat/lon, and
other station parameters. Significant speedup to reading station memory,
from 531s to 91s, which is much closer to the 53s for the te923tool written
in C (all for a station with the small memory model).

The wee_debug utility is now properly installed, not just distributed.

Fixed bug in almanac code that caused an incorrect sunrise or sunset to be
calculated if it followed a calculation with an explicit horizon value.

Localization of tags is now optional. Use function toString() with argument
localize set to False. Example: $current.outTemp.toString($localize=False)
Fixes issue #88.

In the acurite driver, default to use_constants=True.

Fixed bug in the rhel and suse rpm packaging that resulted in a
configuration file with html, database, and web pages in the setup.py
locations instead of the rpm locations.

The extension utility wee_extension now recognizes zip archives as well as
tar and compressed tar archives.

Check for a sane system time when starting up. If time is not reasonable,
wait for it. Log the time status while waiting.

Added log_success option to cheetah, copy, image, rsync, and ftp

Older versions of MySQL (v5.0 and later) are now supported.

3.3.1 (06 Dec 2015)

Fixed bug when posting to WOW.

Fixed bug where the subsection for a custom report gets moved to the very
end of the [StdReport] section of a configuration file on upgrade. Fixes
issue #81.

3.3.0 (05 Dec 2015)

Now really includes wunderfixer. It was inadvertently left out of the
install script.

Rewrote the almanac so it now supports star ephemeris. For example,
$almanac.rigel.next_rising. Fixes issue #79.

Uninstalling an extension with a skin now deletes all empty directories.
This fixes issue #43.

Fixed bug in WMR200 driver that caused it to emit dayRain, when what it was
really emitting was the "rain in the last 24h, excluding current hour."
Fixes issue #62.

Fixed bug in WMR200 driver that caused it to emit gauge pressure for
altimeter pressure. Thanks to user Mark Jenks for nagging me that something
was wrong.

Fixed bug that caused wind direction to be calculated incorrectly,
depending on the ordering of a dictionary. Thanks to user Chris Matteri for
not only spotting this subtle bug, but offering a solution. 

StdPrint now prints packets and records in (case-insensitive) alphabetical

Fixed wind speed decoding in the acurite driver. Thanks to aweatherguy.

The StdRESTful service now supports POSTs, as well as GETs.

The FTP utility now catches PickleError exceptions, then does a retry.

Added unit 'minute' to the conversion dictionary.

The vertical position of the bottom label in the plots can now be set in
skin.conf with option bottom_label_offset.

An optional port number can now be specified with the MySQL database.

Added option use_constants in the Acurite driver. Default is false; the
calibration constants are ignored, and a linear approximation is used for
all types of consoles. Specify use_constants for 01035/01036 consoles to
calculate using the constants. The 02032/02064 consoles always use the
linear approximation.

Fixed test for basic sensor connectivity in the Acurite driver.

The policy of "wind direction is undefined when no wind speed" is enforced
by the StdWXCalculate service. There were a few drivers that were still
applying the policy: acurite, cc3000, fousb, ws1, wmr100, wmr200,
ultimeter. These have been fixed.

Changed logic that decides whether the configuration file includes a custom
schema, or the name of an existing schema.

Added new command-line utility wee_debug, for generating a troubleshooting
information report.

Added option --log-label to specify the label that appears in syslog
entries. This makes it possible to organize output from multiple weewx
instances running on a single system.

Fixed problem with the Vantage driver that caused it to decode the console
display units incorrectly. Thanks to Luc Heijst!

The WMR300 driver is now part of the weewx distribution.

3.2.1 (18 Jul 2015)

Fixed problem when using setup.py to install into a non-standard location.
Weewx would start a new database in the "standard" location, ignoring the
old one in the non-standard location.

3.2.0 (15 Jul 2015)

There are now five command-line utilities, some new, some old
 - wee_config:    (New) For configuring weewx.conf, in particular, 
                  selecting a new device driver.
 - wee_extension: (New) For adding and removing extensions.
 - wee_database:  (Formerly called wee_config_database)
 - wee_device:    (Formerly called wee_config_device)
 - wee_reports:   No changes.

The script setup.py is no longer used to install or uninstall extensions.
Instead, use the new utility wee_extension.

Wunderfixer is now included with weewx --- no need to download it
separately. It now works with MySQL, as well as sqlite, databases. It also
supports metric databases. Thanks to user Gary Roderick!

Fixed bug in 12-hour temperature lookup for calculating station pressure
from sea level pressure when database units are other than US unit system.

Added guards for bogus values in various wxformula functions.

Added windrun, evapotranspiration, humidex, apparent temperature, maximum
theoretical solar radiation, beaufort, and cloudbase to StdWXCalculate.

If StdWXCalculate cannot calculate a derived variable when asked to, it now
sets the value to null. Fixes issue #10.

Added option to specify algorithm in StdWXCalculate. So far this applies
only to the altimeter calculation.

Added option max_delta_12h in StdWXCalculate, a window in which a record
will be accepted as being "12 hours ago." Default is 1800 seconds.

Fixed bug in debian install script - 'Acurite' was not in the list of

$almanac.sunrise and $almanac.sunset now return ValueHelpers. Fixes issue

Added group_distance with units mile and km.

Added group_length with units inch and cm.

Failure to launch a report thread no longer crashes program.

The WU uploader now publishes soil temperature and moisture, as well as
leaf wetness.

Increased precision of wind and wind gust posts to WU from 0 to 1 decimal

Increased precision of barometer posts to WOW from 1 to 3 decimal points.

A bad CWOP server address no longer crashes the CWOP thread.

The "alarm" example now includes a try block to catch a NameError exception
should the alarm expression include a variable not in the archive record.

Fixed bug that shows itself if marker_size is not specified in skin.conf

Show URLs in the log for restful uploaders when debug=2 or greater.

Fixed problem that could cause an exception in the WMR200 driver when
formatting an error string.

Added better recovery from USB failures in the ws28xx driver.

Added data_format option to FineOffset driver. Thanks to Darryl Dixon.

Decoding of data is now more robust in the WS1 driver. Get data from the
station as fast as the station can spit it out. Thanks to Michael Walker.

Changes to the WS23xx driver include:
  - Fixed wind speed values when reading from logger.  Values were too
    high by a factor of 10.
  - wrapped non-fatal errors in WeeWXIO exceptions to improve error
    handling and failure recovery

Changes to the AcuRite driver include:
 - The AcuRite driver now reports partial packets as soon as it gets them
     instead of retaining data until it can report a complete packet
 - Improved timing algorithm for AcuRite data.  Thanks to Brett Warden.
 - Added acurite log entries to logwatch script.  Thanks to Andy.
 - Prevent negative rainfall amounts in acurite driver by detecting
     counter wraparound
 - Use 13 bits for rain counter instead of 12 bits
 - Use only 12 bits for inside temperature in acurite driver when decoding
     for 02032 stations

Changes to the TE923 driver include:
 - consolidated retries
 - improved error handling and reporting

Changes to the WMR9x8 driver include:
 - Correct bug that caused yesterday's rain to be decoded as dayRain
 - LOOP packet type 'battery' is now an int, instead of a bool
 - The driver can now be run standalone for debugging purposes.

The Vantage driver now catches undocumented termios exceptions and converts
them to weewx exceptions. This allows retries if flushing input or output
buffers fail. Fixes issue #34.

Default values for databases are now defined in a new section
[DatabaseTypes]. New option "database_type" links databases to database
type. Installer will automatically update old weewx.conf files.

The RESTful services that come with weewx are now turned on and off by
option "enable". Installer will automatically update old weewx.conf files.
Other RESTful services that don't use this method will continue to work.

Option bar_gap_fraction is now ignored. Bar plot widths are rendered
explicitly since V3.0, making the option unnecessary. Fixes issue #25.

Added additional debug logging to main engine loop.

FTP uploader now retries several times to connect to a server, instead of
giving up after one try. Thanks to user Craig Hunter!

3.1.0 (05 Feb 2015)

Fixed setup.py bug that caused list-drivers to fail on deb and rpm

Added a wait-and-check to the stop option in the weewx.debian rc script.

Fixed bug in the Vantage driver that causes below sea-level altitudes to be
read as a large positive number. Also, fixed problem with altitude units
when doing --info (ticket #42).

Fixed bug in wmr100 driver that causes gust wind direction to be null.

Fixed bug in wmr200 driver that causes gust wind direction to be null.

Fixed ultimeter driver to ensure wind direction is None when no wind speed
Thanks to user Steve Sykes.

Fixed bug in calculation of inDewpoint. Thanks to user Howard Walter.

Assign default units for extraHumid3,4,5,6,7, extraTemp4,5,6,7,
leafTemp3,4, and leafWet1,2.

Use StdWXCalculate to ensure that wind direction is None if no wind speed.

Fixed sign bug in ultimeter driver. Thanks to user Garrett Power.

Use a sliding window with default period of 15 minutes to calculate the
rainRate for stations that do not provide it.

Added support for AcuRite weather stations. Thanks to users Rich of Modern
Toil, George Nincehelser, Brett Warden, Preston Moulton, and Andy.

The ultimeter driver now reads data as fast as the station can produce it.
Typically this results in LOOP data 2 or 3 times per second, instead of
once per second. Thanks to user Chris Thompstone.

The daily summary for wind now uses type INTEGER for column sumtime, like
the other observation types.

Utility wee_reports no longer chokes if the optionally-specified timestamp
is not in the database. Can also use "nearest time" if option 'max_delta'
is specified in [CheetahGenerator].

Utility wee_config_device can now dump Vantage loggers to metric databases.
Fixes ticket #40.

Fixed problem where dumping to database could cause stats to get added to
the daily summaries twice.

FTP over TLS (FTPS) sessions are now possible, but don't work very well
with Microsoft FTP servers. Requires Python v2.7. Will not work with older
versions of Python. Fixes ticket #37.

WeatherUnderground passwords are now quoted, allowing special characters to
be used. Fixes ticket #35.

New tag $obs, allowing access to the contents of the skin configuration
section [Labels][[Generic]]. Fixes ticket #33.

Better error message if there's a parse error in the configuration file.

Added wxformulas for evapotranspiration, humidex, apparent temperature, and
other calculations.

Added --loop-on-init option for weewxd. If set, the engine will keep
retrying if the device cannot be loaded. Otherwise, it will exit.

Changed the weedb exception model to bring it closer to the MySQL exception
model. This will only affect those programming directly to the weedb API.

3.0.1 (07 Dec 2014)

Fixed bug in setup.py that would forget to insert device-specific options
in weewx.conf during new installations.

3.0.0 (04 Dec 2014)

Big update with lots of changes and lots of new features. The overall goal
was to make it easier to write and install extensions. Adding custom
databases, units, accumulators and many other little things have been made

Skins and skin.conf continue to be 100% backwards compatible (since V1.5!).
However, search-list extensions will have to be rewritten. Details in the
Upgrading Guide.

Previously, configuration options for all possible devices were included in
the configuration file, weewx.conf. Now, for new installs, it has been
slimmed down to the minimum and, instead, configuration options are added
on an "as needed" basis, using a new setup.py option "configure".

Your configuration file, weewx.conf should be automatically updated to V3
by the upgrade process, using your previously chosen hardware. But, check
it over. Not sure we got everything correct. See the Upgrading Guide.

Specific changes follow.

Total rewrite of how data gets bound to a database. You now specify a "data
binding" to indicate where data should be going, and where it is coming
from. The default binding is "wx_binding," the weather binding, so most
users will not have to change a thing.

Other database bindings can be used in tags. Example:
Alternate times can also be specified:

Explicit time differences for trends can now be specified:

Introduced a new tag $latest, which uses the last available timestamp in a
data binding (which may or may not be the same as the "current" timestamp).

Introduced a new tag $hours_ago, which returns the stats for X hours ago.
So, the max temperature last hour would be

Introduced a shortcut $hour, which returns the stats for this hour. So, the
high temperature for this hour would be $hour.outTemp.max

Introduced a new tag $days_ago, which returns the stats for X days ago. So,
the max temperature the day before yesterday would be

Included a shortcut $yesterday: The tag $yesterday.outTemp.max would be
yesterday's max temperature.

Introduced a new aggregation type ".last", which returns the last value in
an aggregation interval. E.g., $week.outTemp.last would return the last
temperature seen in the week.

Introduced a new aggregation type ".lasttime" which returns the time of the

Can now differentiate between the max speed seen in the archive records
(e.g., $day.windSpeed.max) and the max gust seen ($day.wind.max or

Allow other data bindings to be used in images.

Made it easier to add new unit types and unit groups.

The archive interval can now change within a database without consequences.

Total rewrite of how devices are configured. A single utility
wee_config_device replaces each of the device-specific configuration

The Customizing Guide was extended with additional examples and option

Removed the no longer needed serviced StdRESTful, obsolete since V2.6

Fixed bug in querying for schemas that prevented older versions of MySQL
(V4.X) from working.

Improved error handling and retries for ws1, ultimeter, and cc3000 drivers.

Fixed missing dew initializations in wmr9x8 driver. Fixed model/_model
initialization in wmr9x8 driver.

Fixed uninitialized usb interface in wmr200 driver.

Fixed wakup/wakeup typo in _getEEPROM_value in vantage driver.

Made the ftpupload algorithm a little more robust to corruption of the file
that records the last upload time.

Added observation type 'snow'. It generally follows the semantics of

Fixed possible fatal exception in WS23xx driver. Fixed use of str as
variable name in WS23xx driver.

Now catches database exceptions raised during commits, converting them to
weedb exceptions. Weewx catches these, allowing the program to keep going,
even in the face of most database errors.

For the fine offset stations, record connection status as rxCheckPercent
(either 0 or 100%) and sensor battery status as outTempBatteryStatus (0
indicates ok, 1 indicates low battery).

For WS23xx stations, hardware record generation is now enabled and is the
default (previously, software record generation was the default).

Fixed bug in WS28xx driver the prevented reading of historical records when
starting with an empty database.

2.7.0 (11 Oct 2014)

Added the ability to configure new Vantage sensor types without using the
console. This will be useful to Envoy users. Thanks to user Deborah Pickett
for this contribution! 

Allow calibration constants to be set in the Vantage EEPROM. This will
particularly be useful to southern hemisphere users who may want to align
their ISS to true north (instead of south), then apply a 180 correction.
Thanks again to Deborah Pickett!

Enabled multiple rsync instances for a single weewx instance.

More extensive debug information for rscync users.

Added the ability to localize the weewx and server uptime. See the
Customizing Guide for details. This will also cause a minor backwards
incompatibility. See the Upgrading Guide for details.

Added catchup to the WS28xx driver, but still no hardware record

Changed lux-to-W/m^2 conversion factor in the fine offset driver.

Added rain rate calculation to Ultimeter driver.

Changed setTime to retrieve system time directly rather than using a value
passed by the engine. This greatly improves the accuracy of StdTimeSync,
particularly in network based implementations. Thanks to user Denny Page!

Moved clock synchronization options clock_check and max_drift back to
section [StdTimeSynch].

Fixed ENDPOINT_IN in the te923 driver. This should provide better
compatibility with a wider range of pyusb versions.

Now catches MySQL exceptions during commits and rollbacks (as well as
queries) and converts them to weedb exceptions.

Catch and report configobj errors when reading skin.conf during the
generation of reports.

Ensure correct location, lat, lon, and altitude modifications in the debian
postinst installer script.

In the debian installer, default to ttyUSB0 instead of ttyS0 for stations
with a serial interface.

Added CC3000 to debian installer scripts.

Fixed bug that can affect hardware that emits floating point timestamps,
where the timestamp is within 1 second of the end of an archive interval.

Changed UVBatteryStatus to uvBatteryStatus in the WMR100 driver in order to
match the convention used by other drivers.

Fixed the shebang for te923, ws23xx, ultimeter, ws1, and cc3000 drivers.

2.6.4 (16 Jun 2014)

The WMR100 driver now calculates SLP in software. This fixes a problem with
the WMRS200 station, which does not allow the user to set altitude.

The WMR100 driver was incorrectly tagging rain over the last 24 hours as
rain since midnight. This caused a problem with WU and CWOP posts.

Fix cosmetic problem in wee_config_fousb pressure calibration.

Detect both NP (not present) and OFL (outside factory limits) on ws28xx.

Added driver for PeetBros Ultimeter stations.

Added driver for ADS WS1 stations.

Added driver for RainWise Mark III stations and CC3000 data logger.

Added automatic power cycling to the FineOffsetUSB driver. Power cycle the
station when a USB lockup is detected. Only works with USB hubs that
provide per-port power switching.

Fix imagegenerator aggregation to permit data tables with no 'interval'

Prompt for metric/US units for debian installations.

For WS28xx stations, return 0 for battery ok and 1 for battery failure.

If a connection to the console has been successfully opened, but then on
subsequent connection attempts suffers an I/O error, weewx will now attempt
a retry (before it would just exit).

2.6.3 (10 Apr 2014)

Hardened the WMR100 driver against malformed packets.

The plot images can now use UTF-8 characters.

Fixed a problem where the Ambient threads could crash if there were no rain
database entries.

Battery status values txBatteryStatus and consBatteryVoltage now appear in
the archive record. The last LOOP value seen is used. 

CWOP posts are now slightly more robust.

Fixed pressure calculation in wee_config_fousb.

Prevent failures in imagegenerator when no unicode-capable fonts are

Provide explicit pairing feedback using wee_config_ws28xx

Count wxengine restarts in logwatch.

Cleaned up USB initialization for fousb, ws28xx, and te923 drivers.

2.6.2 (16 Feb 2014)

Fixed bug that crashes WMR200 driver if outTemp is missing.

Fixed bug that can crash RESTful threads if there is missing rain data.

Sqlite connections can now explicitly specify a timeout and

Server uptime now reported for MacOS

Fixed bug that prevented Rapidfire posts from being identified as such.

2.6.1 (08 Feb 2014)

Fixed bug that crashed main thread if a StdQC value fell out of range.

2.6.0 (08 Feb 2014)

Changed the RESTful architecture so RESTful services are now first-class
weewx services. This should simplify the installation of 3rd party
extensions that use these services.

Broke up service_list, the very long list of services to be run, into five
separate lists. This will allow services to be grouped together, according
to when they should be run.

Defined a structure for packaging customizations into extensions, and added
an installer for those extensions to setup.py.

Changed the default time and date labels to use locale dependent
formatting. The defaults should now work in most locales, provided you set
the environment variable LANG before running weewx.

Changed default QC barometric low from 28 to 26. Added inTemp, inHumidity,
and rain.

Ranges in MinMax QC can now include units.

When QC rejects values it now logs the rejection.

Introduced a new unit system, METRICWX. Similar to METRIC, it uses mm for
rain, mm/hr for rain rate, and m/s for speed.

Added an option --string-check and --fix to the utility wee_config_database
to fix embedded strings found in the sqlite archive database.

Font handles are now cached in order to work around a memory leak in PIL.

Now does garbage collection every 3 hours through the main loop.

Image margins now scale with image and font sizes.

Now works with the pure Python version of Cheetah's NameMapper, albeit very

Fixed bug that prevented weewx from working with Python v2.5.

Fixed bug in SummaryByMonth and SummaryByYear that would result in
duplicate month/year entries when generating from multiple ByMonth or
ByYear templates.

Consolidated pressure calculation code in ws23xx, ws28xx, te923, and fousb.

Catch USB failures when reading Fine Offset archive interval.

Added Vantage types stormRain and windSpeed10 to the list of observation

Simulator now generates types dewpoint, pressure, radiation, and UV.

The forecast extension is once again distributed separately from weewx.

Minor cleanup to Standard skin for better out-of-the-box behavior:
 - default to no radar image instead of pointing every station to Oregon
 - not every WMR100 is a WMR100N

Failure to set an archive interval when using bar plots no longer results
in an exception.

Change to skin directory before invoking Cheetah on any templates.

2.5.1 (30 Dec 2013)

Added UV plots to the templates. They will be shown automatically if you
have any UV data.

Fixed bug when reading cooling_base option.

Default to sane behavior if skin does not define Labels.

Fixed bug in setting of CheetahGenerator options.

Fixed qsf and qpf summary values in forecast module.

Fixed handling of empty sky cover fields in WU forecasts.

Forecast module now considers the fctcode, condition, and wx fields for
precipitation and obstructions to visibility.

Added options to forecast module to help diagnose parsing failures and new
forecast formats.

Added retries when saving forecast to database and when reading from

Fixes to the Fine Offset driver to eliminate spikes caused by reading from
memory before the pointer had been updated (not the same thing as an
unstable read).

Added driver for LaCrosse 2300 series of weather stations.

Added driver for Hideki TE923 series of weather stations.

2.5.0 (29 Oct 2013)

Introduced a new architecture that makes it easier to define search list
extensions. The old architecture should be 100% backwards compatible.

Added station registry service. This allows weewx to optionally "phone
home" and put your station location on a map.

Added a forecast service and reporting options. The forecast service can
generate Zambretti weather or XTide tide forecasts, or it can download
Weather Underground or US National Weather Service weather forecasts. These
data can then be displayed in reports using the Cheetah template engine.
The forecast service is disabled by default.

Weewx now allows easier localization to non-English speaking locales. In
particular, set the environment variable LANG to your locale, and then
weewx date and number formatting will follow local conventions. There are
also more labeling options in skin.conf. Details in a new section in the
Customization Guide.

Added aggregate type "minmax" and "maxmin". Thank you user Gary Roderick!

New option in [StdArchive] called "loop_hilo". Setting to True will cause
both LOOP and archive data to be used for high/low statistics. This is the
default. Setting to False causes only archive data to be used.

When a template fails, skip only that template, not everything that the
generator is processing.

Trend calculations no longer need a record at precisely (for example) 3
hours in the past. It can be within a "grace" period.

FineOffset driver now uses the 'delay' field instead of the fixed_block
'read_period' for the archive record interval when reading records from
console memory.

FineOffset driver now support for multiple stations on the same USB.

FineOffset driver now reduces logging verbosity when bad magic numbers
appear. Log only when the numbers are unrecognized or change. The purpose
of the magic numbers is still unknown.

WMR100, Vantage, FineOffset, and WS28xx drivers now emit a null wind
direction when the wind speed is zero. Same for wind gust.

For WMR9x8 stations, wind chill is now retrieved from the console rather
than calculated in software. Thank you user Peter Ferencz!

For WMR9x8 stations, the first extra temperature sensor (packet code 4) now
shows up as extraTemp1 (instead of outTemp). Thanks again to Peter Ferencz.

For WMR9x8 stations, packet types 2 and 3 have been separated. Only the
latter is used for outside temperature, humidity, dewpoint. The former is
used for "extra" sensors. Corrected the calculation for channel numbers
>=3. Also, extended the number of battery codes. Thanks to Per Edström for
his patience in figuring this out!

For WMR200 stations, altitude-corrected pressure is now emitted correctly.

ws28xx driver improvements, including: better thread control; better
logging for debugging/diagnostics; better timing to reduce dropouts;
eliminate writes to disk to reduce wear when used on flash devices. Plus,
support for multiple stations on the same USB.

Fixed rain units in ws28xx driver.

The LOOP value for daily ET on Vantages was too high by a factor of 10.
This has been corrected.

Fixed a bug that caused values of ET to be miscalculated when using
software record generation.

Ported to Korora 19 (Fedora 19). Thanks to user zmodemguru!

Plots under 16 hours in length, now use 1 hour increments (instead of 3

No longer emits "deprecation" warning when working with some versions of
the MySQLdb python driver.

Added ability to build platform-specific RPMs, e.g., one for RedHat-based
distributions and one for SuSE-based distributions.

Fixed the 'stop' and 'restart' options in the SuSE rc script.

The weewx logwatch script now recognizes more log entries and errors.

2.4.0 (03 Aug 2013)

The configuration utility wee_config_vantage now allows you to set DST to
'auto', 'off', or 'on'. It also lets you set either a time zone code, or a
time zone offset.

The service StdTimeSync now catches startup events and syncs the clock on
them. It has now been moved to the beginning of the list "service_list" in
weewx.conf. Users may want to do the same with their old configuration

A new event, END_ARCHIVE_PERIOD has been added, signaling the end of the
archive period.

The LOOP packets emitted by the driver for the Davis Vantage series now
includes the max wind gust and direction seen since the beginning of the
current archive period.

Changed the null value from zero (which the Davis documentation specifies)
to 0x7fff for the VP2 type 'highRadiation'.

Archive record packets with date and time equal to zero or 0xff now
terminate dumps.

The code that picks a filename for "summary by" reports has now been
factored out into a separate function (getSummaryByFileName). This allows
the logic to be changed by subclassing.

Fixed a bug that did not allow plots with aggregations less than 60 minutes
across a DST boundary.

Fixed bug in the WMR100 driver that prevented UV indexes from being

The driver for the LaCrosse WS-28XX weather series continues to evolve and
mature. However, you should still consider it experimental.

2.3.3 (21 Jun 2013)

The option week_start now works.

Updated WMR200 driver from Chris Manton.

Fixed bug that prevented queries from being run against a MySQL database.

2.3.2 (16 Jun 2013)

Added support for the temperature-only sensor THWR800. Thanks to user

Fixed bug that prevented overriding the FTP directory in section [[FTP]] of
the configuration file.

Day plots now show 24 hours instead of 27. If you want the old behavior,
then change option "time_length" to 97200.

Plots shorter than 24 hours are now possible. Thanks to user Andrew

If one of the sections SummaryByMonth, SummaryByYear, or ToDate is missing,
the report engine no longer crashes.

If you live at a high latitude and the sun never sets, the Almanac now does
the right thing.

Fixed bug that caused the first day in the stats database to be left out of
calculations of all-time stats.

2.3.1 (15 Apr 2013)

Fixed bug that prevented Fine Offset stations from downloading archive
records if the archive database had no records in it.

rsync should now work with Python 2.5 and 2.6 (not just 2.7)

2.3.0 (10 Apr 2013)

Davis Vantage stations can now produce station pressures (aka, "absolute
pressure"), altimeter pressures, as well as sea-level pressure. These will
be put in the archive database.

Along the same line, 'altimeter' pressure is now reported to CWOP, rather
than the 'barometer' pressure. If altimeter pressure is not available, no
pressure is reported.

Fixed bug in CWOP upload that put spaces in the upload string if the
pressure was under 1000 millibars.

A bad record archive type now causes a catch up to be abandoned, rather
than program termination.

Fixed bug in trends, when showing changes in temperature. NB: this fix will
not work with explicit unit conversion. I.e., $trend.outTemp.degree_C will
not work.

Modified wee_config_vantage and wee_config_fousb so that the configuration
file will be guessed if none is specified.

Fixed wxformulas.heatindexC to handle arguments of None type.

Fixed bug that causes Corrections to be applied twice to archive records if
software record generation is used.

rsync now allows a port to be specified.

Fixed day/night transition bug.

Added gradients to the day/night transitions.

Numerous fixes to the WMR200 driver. Now has a "watchdog" thread.

All of the device drivers have now been put in their own package
'weewx.drivers' to keep them together. Many have also had name changes to
make them more consistent:
 OLD                        NEW
 VantagePro.py (Vantage)    vantage.py (Vantage)
 WMR918.py     (WMR-918)    wmr9x8.py  (WMR9x8)
 wmrx.py       (WMR-USB)    wmr100.py  (WMR100)

 new (experimental) drivers:
 wmr200.py (WMR200)
 ws28xx.py (WS28xx)

The interface to the device driver "loader" function has changed slightly.
It now takes a second parameter, "engine". Details are in the Upgrading

The FineOffsetUSB driver now supports hardware archive record generation.

When starting weewx, the FineOffsetUSB driver will now try to 'catch up' -
it will read the console memory for any records that are not yet in the

Added illuminance-to-radiation conversion in FineOffsetUSB driver.

Added pressure calibration option to wee_config_fousb and explicit support
for pressure calibration in FineOffsetUSB driver.

Fixed windchill calculation in FineOffsetUSB driver.

Fixed FineOffsetUSB driver to handle cases where the 'delay' is undefined,
resulting in a TypeError that caused weewx to stop.

The FineOffsetUSB driver now uses 'max_rain_rate' (measured in cm/hr)
instead of 'max_sane_rain' (measured in mm) to filter spurious rain sensor
readings. This is done in the driver instead of StdQC so that a single
parameter can apply to both LOOP and ARCHIVE records.

2.2.1 (15 Feb 2013)

Added a function call to the Vantage driver that allows the lamp to be
turned on and off. Added a corresponding option to wee_config_vantage.

Fixed bug where an undefined wind direction caused an exception when using
ordinal wind directions.

2.2.0 (14 Feb 2013)

Weewx can now be installed using Debian (DEB) or Redhat (RPM) packages, as
well as with the old 'setup.py' method. Because they install things in
different places, you should stick with one method or another. Don't mix
and match. Thanks to Matthew Wall for putting this together!

Added plot options line_gap_fraction and bar_gap_fraction, which control
how gaps in the data are handled by the plots. Also, added more flexible
control of plot colors, using a notation such as 0xBBGGRR, #RRGGBB, or the
English name, such as 'yellow'. Finally, added day/night bands to the
plots. All contributed by Matthew Wall. Thanks again, Matthew!

Ordinal wind directions can now be shown, just by adding the tag suffix
".ordinal_compass". For example, $current.windDir.ordinal_compass might
show 'SSE' The abbreviations are set in the skin configuration file.

Fixed bug that caused rain totals to be misreported to Weather Underground
when using a metric database.

Generalized the weewx machinery so it can be used for applications other
than weather applications.

Got rid of option stats_types in weewx.conf and put it in
bin/user/schemas.py. See upgrading.html if you have a specialized stats

The stats database now includes an internal table of participating
observation types. This allows it to be easily combined with the archive
database, should you choose to do so. The table is automatically created
for older stats databases.

Added rain rate calculation to FineOffsetUSB driver. Added adaptive polling
option to FineOffsetUSB driver. Fixed barometric pressure calculation for
FineOffsetUSB driver.

Changed the name of the utilities, so they will be easier to find in
  weewxd.py          -> weewxd
  runreports.py      -> wee_reports
  config_database.py -> wee_config_database
  config_vp.py       -> wee_config_vantage
  config_fousb.py    -> wee_config_fousb

2.1.1 (02 Jan 2013)

Fixed bug that shows itself when one of the variables is 'None' when
calculating a trend.

2.1.0 (02 Jan 2013)

Now supports the Oregon Scientific WMR918/968 series, courtesy of user
William Page. Thanks, William!!

Now supports the Fine Offset series of weather stations, thanks to user
Matthew Wall. Thanks, Matthew!!

Now includes a Redhat init.d script, contributed by Mark Jenks. Thanks,

Added rsync report type as an alternative to the existing FTP report.
Another thanks to William Page!

Fill color for bar charts can now be specified separately from the outline
color, resulting in much more attractive charts. Another thanks to Matthew

Added a tag for trends. The barometer trend can now be returned as
$trend.barometer. Similar syntax for other observation types.

config_vp.py now returns the console version number if available (older
consoles do not offer this).

Hardware dewpoint calculations with the WMR100 seem to be unreliable below
about 20F, so these are now done in software. Thanks to user Mark Jenks for
sleuthing this.

2.0.2 (23 Nov 2012)

Now allows both the archive and stats data to be held in the same database.

Improved chances of weewx.Archive being reused by allowing optional table
name to be specified.

2.0.1 (05 Nov 2012)

Fixed problem with reconfiguring databases to a new unit system.

2.0.0 (04 Nov 2012)

A big release with lots of changes. The two most important are the support
of additional weather hardware, and the support of the MySQL database.

All skin configurations are backwardly compatible, but the configuration
file, weewx.conf, is not. The install utility setup.py will install a fresh
version, which you will then have to edit by hand.

If you have written a custom service, see the upgrade guide on how to port
your service to the new architecture.

Added the ability to generate archive records in software, thus opening the
door for supporting weather stations that do not have a logger.

Support for the Oregon Scientific WMR100, the cheapest weather station I
could find, in order to demonstrate the above!

Added a software weather station simulator.

Introduced weedb, a database-independent Python wrapper around sqlite3 and
MySQLdb, which fixes some of their flaws.

Ported everything to use weedb, and thus MySQL (as well as sqlite)

Internally, the databases can now use either Metric units, or US Customary.
NB: you cannot switch systems in the middle of a database. You have to
stick to one or other other. However, the utility config_database.py does
have a reconfigure option that allows copying the data to a new database,
performing the conversion along the way. See the Customizing Guide.

You can now use "mmHg" as a unit of pressure.

Added new almanac information, such as first and last quarter moons, and
civil twilight.

Changed the engine architecture so it is more event driven. It now uses
callbacks, making it easier to add new event types.

Added utility config_vp.py, for configuring the VantagePro hardware.

Added utility config_database.py, for configuring the databases.

Made it easier to write custom RESTful protocols. Thanks to user Brad, for
the idea and the use case!

The stats type 'squarecount' now contains the number of valid wind
directions that went into calculating 'xsum' and 'ysum'. It used to be the
number of valid wind speeds. Wind direction is now calculated using
'squarecount' (instead of 'count').

Simplified and reduced the memory requirements of the CRC16 calculations.

Improved test suites.

Lots of little nips and tucks here and there, mostly to reduce the coupling
between different modules. In particular, now a service generally gets
configured only using its section of weewx.conf.

I also worked hard at making sure that cursors, connections, files, and
lots of other bits and pieces get properly closed instead of relying on
garbage collection. Hopefully, this will reduce the long-term growth of
memory usage.

1.14.1 (06 Jul 2012)

Hardened retry strategy for the WeatherLink IP. If the port fails to open
at all, or a socket error occurs, it will thrown an exception (resulting in
a retry in 60 seconds). If a socket returns an incomplete result, it will
continue to retry until everything has been read.

Fixed minor bug that causes the reporting thread to prematurely terminate
if an exception is thrown while doing an FTP.

1.14.0 (18 Jun 2012)

Added smartphone formatted mobile webpage, contributed by user Torbjörn
Einarsson. If you are doing a fresh install, then these pages will be
generated automatically. If you are doing an upgrade, then see the upgrade
guide on how to have these webpages generated. Thanks, Tobbe!

Three changes suggested by user Charlie Spirakis: o Changed umask in
daemon.py to 0022; o Allow location of process ID file to be specified on
the command line of weewx; o Start script allows daemon to be run as a
specific user. Thanks, Charlie!

Corrected bug in humidity reports to CWOP that shows itself when the
humidity is in the single digits.

Now includes software in CWOP APRS equipment field.

1.13.2 (02 May 2012)

Now allows CWOP stations with prefix 'EW'.

Fixed bug that showed itself in the line color with plots with 3 or more

Changed debug message when reaching the end of memory in the VP2 to
something slightly less alarming.

1.13.1 (25 Mar 2012)

Added finer control over the line plots. Can now add optional markers. The
marker_type can be 'none' (the default), 'cross', 'box', 'circle', or 'x'.
Also, line_type can now either be 'solid' (the default) or 'none' (for
scatter plots). Same day I'll add 'dashed', but not now. :-)

Conditionally imports sqlite3. If it does not support the "with" statement,
then imports pysqlite2 as sqlite3.

1.13.0 (13 Mar 2012)

The binding to the SQL database to be used now happens much later when
running reports. This allows more than one database to be used when running
a report. Extra databases can be specified in the option list for a report.
I use this to display broadband bandwidth information, which was collected
by a separate program. Email me for details on how to do this. Introducing
this feature changed the signature of a few functions. See the upgrade
guide for details.

1.12.4 (13 Feb 2012)

User Alf Høgemark found an error in the encoding of solar data for CWOP
and sent me a fix. Thanks, Alf!

Now always uses "import sqlite3", resulting in using the version of
pysqlite that comes with Python. This means the install instructions have
been simplified.

Now doesn't choke when using the (rare) Python version of NameMapper used
by Cheetah.

1.12.3 (09 Feb 2012)

Added start script for FreeBSD, courtesy of user Fabian Abplanalp. Thanks,

Added the ability to respond to a "status" query to the Debian startup

RESTful posts can now recover from more HTTP errors.

Station serial port can now recover from a SerialException error (usually
caused when there is a process competing for the serial port).

Continue to fiddle with the retry logic when reading LOOP data.

1.12.2 (18 Jan 2012)

Added check for FTP error code '521' to the list of possibilities if a
directory already exists. Thanks to user Clyde!

More complete information when unable to load a module file. Thanks, Jason!

Added a few new unit types to the list of possible target units when using
explicit conversion. Thanks, Antonio!

Discovered and fixed problem caused by the Davis docs giving the wrong
"resend" code (should be decimal 21, not hex 21).

Improved robustness of VantagePro configuration utility.

Fixed problem where an exception gets thrown when changing VP archive

Simplified some of the logic in the VP2 driver.

1.12.1 (03 Nov 2011)

Now corrects for rain bucket size if it is something other than the
standard 0.01 inch bucket.

1.12.0 (29 Oct 2011)

Added the ability to change bucket type, rain year start, and barometer
calibration data in the console using the utility configure.py. Added
option "--info", which queries the console and returns information about
EEPROM settings. Changed configure.py so it can do hardware-specific
configurations, in anticipation of supporting hardware besides the Davis

Reorganized the documentation.

1.11.0 (06 Oct 2011)

Added support for the Davis WeatherLinkIP. Thanks, Peter Nock and Travis

Added support for older Rev A type archive records.

Added patch from user Dan Haller that sends UV and radiation data to the
WeatherUnderground if available. Thanks, Dan!

Added patch from user Marijn Vriens that allows fallback to the version of
pysqlite that comes with many versions of Python. Thanks, Marijn!

Now does garbage collection after an archive record is obtained and before
the main loop is restarted.

1.10.2 (14 Apr 2011)

Added RA and declination for the Sun and Moon to the Daily Almanac. Equinox
and solstice are now displayed in chronological order. Same with new and
full moons.

Examples alarm.py and lowBattery.py now include more error checks, allow an
optional 'subject' line to the sent email, and allow a comma separated list
of recipients.

1.10.1 (30 Mar 2011)

Substitutes US Units if a user does not specify anything (instead of
exception KeyError).

Almanac uses default temperature and pressure if they are 'None'.

Prettied up web page almanac data in the case where pyephem has not been

Fixed up malformed CSS script weewx.css.

1.10.0 (29 Mar 2011)

Added extensive almanac information if the optional package 'pyephem' has
been installed

Added a weewx "favorite icon" favicon.ico that displays in your browser

Added a mobile formatted HTML page, courtesy of user Vince Skahan (thanks,

Tags can now be ended with a unit type to convert to a new unit. For
example, say your pressure group ("group_pressure") has been set to show
inHg. The normal tag notation of "$day.barometer.avg" will show something
like "30.05 inHg". However, the tag "$day.barometer.avg.mbar" will show
"1017.5 mbar".

Added special tag "exists" to test whether an observation type exists.
Example "$year.foo.exists" will return False if there is no type "foo" in
the statistical database.

Added special tag "has_data" to test whether an observation type exists and
has a non-zero number of data points over the aggregation period. For
example, "$year.soilMoist1.has_data" will return "True" if soilMoist1 both
exists in the stats database and contains some data (meaning, you have the

Y-axis plot labels (such as "°F") can now be overridden in the plot
configuration section of skin.conf by using option "y_label".

Added executable module "runreports.py" for running report generation only.

Added package "user", which can contain any user extensions. This package
will not get overridden in the upgrade process.

Added the ability to reconfigure the main database, i.e., add or drop data
types. Along the same line, statistical types can also be added or dropped.
Email me for details on how to do this.

Now makes all of the LOOP and archive data available to services. This
includes new keys:

 LOOP data: 'extraAlarm1' 'extraAlarm2' 'extraAlarm3' 'extraAlarm4'
'extraAlarm5' 'extraAlarm6' 'extraAlarm7' 'extraAlarm8' 'forecastIcon'
'forecastRule' 'insideAlarm' 'outsideAlarm1' 'outsideAlarm2' 'rainAlarm'
'soilLeafAlarm1' 'soilLeafAlarm2' 'soilLeafAlarm3' 'soilLeafAlarm4'
'sunrise' 'sunset'

 Archive data: 'forecastRule' 'highOutTemp' 'highRadiation' 'highUV'

Started a more formal test suite. There are now tests for the report
generators. These are not included in the normal distribution, but can be
retrieved from SourceForge via svn.

1.9.3 (04 Feb 2011)

Now correctly decodes temperatures from LOOP packets as signed shorts
(rather than unsigned).

Now does a CRC check on LOOP data.

Changed VantagePro.accumulateLoop to make it slightly more robust.

1.9.2 (20 Nov 2010)

Now catches exception of type OverflowError when calculating celsius
dewpoint. (Despite the documentation indicating otherwise, math.log() can
still throw an OverflowError)

Fixed bug that causes crash in VantagePro.accumulateLoop() during fall DST
transition in certain situations.

VP2 does not store records during the one hour fall DST transition.
Improved logic in dealing with this.

Changed install so that it backs up the ./bin subdirectory, then overwrites
the old one. Also, does not install the ./skins subdirectory at all if one
already exists (thus preserving any user customization).

1.9.1 (09 Sep 2010)

Now catches exceptions of type httplib.BadStatusLine when doing RESTful

Added an extra decimal point of precision to dew point reports to the
Weather Underground and PWS.

1.9.0 (04 Jul 2010)

Added a new service, StdQC, that offers a rudimentary data check.

Corrected error in rain year total if rain year does not start in January.

Moved option max_drift (the max amount of clock drift to tolerate) to
section [Station].

Added check for a bad storm start time.

Added checks for bad dateTime.

Simplified VantagePro module.

1.8.4 (06 Jun 2010)

Fixed problem that shows itself if weewx starts up at precisely the
beginning of an archive interval. Symptom is max recursion depth exceeded.

Units for UV in LOOP records corrected. Also, introduced new group for UV,
group_uv_index. Thanks to user A. Burriel for this fix!

1.8.3 (20 May 2010)

Problem with configuring archive interval found and fixed by user A.
Burriel (thanks, Antonio!)

1.8.2 (09 May 2010)

Added check to skip calibration for a type that doesn't exist in LOOP or
archive records. This allows windSpeed and windGust to be calibrated

1.8.1 (01 May 2010)

Ported to Cheetah V2.4.X

1.8.0 (28 Apr 2010)

Added CWOP support.

Storage of LOOP and archive data into the SQL databases is now just another
service, StdArchive.

Added a calibration service, StdCalibrate, that can correct LOOP and
archive data.

Average console battery voltage is now calculated from LOOP data, and saved
to the archive as 'consBatteryVoltage'.

Transmitter battery status is now ORd together from LOOP data, and saved to
the archive as 'txBatteryStatus'.

Added stack tracebacks for unrecoverable exceptions.

Added a wrapper to the serial port in the VantagePro code. When used in a
Python "with" statement, it automatically releases the serial port if an
exception happens, allowing a more orderly shutdown.

Offered some hints in the documentation on how to automount your VP2 when
using a USB connection.

Corrected error in units. getTargetType() that showed itself with when the
console memory was freshly cleared, then tried to graph something

1.7.0 (15 Apr 2010)

Big update.

Reports now use skins for their "look or feel." Options specific to the
presentation layer have been moved out of the weewx configuration file
'weewx.conf' to a skin configuration file, 'skin.conf'. Other options have
remained behind.

Because the configuration file weewx.conf was split, the installation
script setup.py will NOT merge your old configuration file into the new
one. You will have to reedit weewx.conf to put in your customizations.

FTP is treated as just another report, albeit with an unusual generator.
You can have multiple FTP sessions, each to a different server, or
uploading to or from a different area.

Rewrote the FTP upload package so that it allows more than one FTP session
to be active in the same local directory. This version also does fewer hits
on the server, so it is significantly faster.

The configuration files weewx.conf and skin.conf now expect UTF-8
characters throughout.

The encoding for reports generated from templates can be chosen. By
default, the day, week, month, and year HTML files are encoded using HTML
entities; the NOAA reports encoded using 'strict ascii.' Optionally,
reports can be encoded using UTF-8.

Revamped the template formatting. No longer use class ModelView. Went to a
simpler system built around classes ValueHelper and UnitInfo.

Optional formatting was added to all tags in the templates. There are now
optional endings: 'string': Use specified string for None value.
'formatted': No label. 'format': Format using specified string format.
'nolabel': Format using specified string format; no label. 'raw': return
the underlying data with no string formatting or label.

For the index, week, month, and year template files, added conditional to
not include ISS extended types (UV, radiation, ET) unless they exist.

Added an RSS feed.

Added support for PWSweather.com

Both WeatherUnderground and PWSweather posts are now retried up to 3 times
before giving up.

Now offer a section 'Extras' in the skin configuration file for including
tags added by the user. As an example, the tag radar_url has been moved
into here.

Data files used in reports (such as weewx.css) are copied over to the HTML
directory on program startup.

Included an example of a low-battery alarm.

Rearranged distribution directory structure so that it matches the install
directory structure.

Moved base temperature for heating and cooling degree days into skin.conf.
They now also require a unit.

Now require unit to be specified for 'altitude'.

1.5.0 (07 Mar 2010)

Added support for other units besides the U.S. Customary. Plots and HTML
reports can be prepared using any arbitrary combination of units. For
example, pressure could be in millibars, while everything else is in U.S.

Because the configuration file weewx.conf changed significantly, the
installation script setup.py will NOT merge your old configuration file
into the new one. You will have to reedit weewx.conf to put in your

Added an exception handler for exception OSError, which is typically thrown
when another piece of software attempts to access the same device port.
Weewx catches the exception, waits 10 seconds, then starts again from the

1.4.0 (22 Feb 2010)

Changed the architecture of stats.py to one that uses very late binding.
The SQL statements are not run until template evaluation. This reduces the
amount of memory required (by about 1/2), reduces memory fragmentation, as
well as greatly simplifying the code (file stats.py shed over 150 lines of
non-test code). Execution time is slightly slower for NOAA file generation,
slightly faster for HTML file generation, the same for image generation,
although your actual results will depend on your disk speed.

Now possible to tell weewx to reread the configuration file without
stopping it. Send signal HUP to the process.

Added option week_start, for specifying which day a calendar week starts
on. Default is 6 (Sunday).

Fixed reporting bug when the reporting time falls on a calendar month or
year boundary.

1.3.4 (08 Feb 2010)

Fixed problem when plotting data where all data points are bad (None).

1.3.3 (10 Jan 2010)

Fixed reporting bug that shows itself if rain year does not start in

1.3.2 (26 Dec 2009)

LOOP data added to stats database.

1.3.1 (22 Dec 2009)

Added a call to syslog.openlog() that inadvertently got left out when
switching to the engine driven architecture.

1.3.0 (21 Dec 2009)

Moved to a very different architecture to drive weewx. Consists of an
engine, that manages a list of 'services.' At key events, each service is
given a chance to participate. Services are easy to add, to allow easy
customization. An example is offered of an 'alarm' service.

Checking the clock of the weather station for drift is now a service, so
the option clock_check was moved from the station specific [VantagePro]
section to the more general [Station] section.

Added an example service 'MyAlarm', which sends out an email should the
outside temperature drop below 40 degrees.

In a similar manner, all generated files, images, and reports are the
product of a report engine, which can run any number of reports. New
reports are easily added.

Moved the compass rose used in progressive vector plots into the interior
of the plot.

Install now deletes public_html/#upstream.last, thus forcing all files to
be uploaded to the web server at the next opportunity.

1.2.0 (22 Nov 2009)

Added progressive vector plots for wind data.

Improved axis scaling. The automatic axis scaling routine now does a better
job for ranges less than 1.0. The user can also hardwire in min and max
values, as well as specify a minimum increment, through parameter 'yscale'
in section [Images] in the configuration file.

Now allows the same SQL type to be used more than once in a plot. This
allows, say, instantaneous and average wind speed to be shown in the same

Rain year is now parameterized in file templates/year.tmpl (instead of
being hardwired in).

Now does LOOP caching by default.

When doing backfilling to the stats database, configure now creates the
stats database if it doesn't already exist.

setup.py now more robust to upgrading the FTP and Wunderground sections

1.1.0 (14 Nov 2009)

Added the ability to cache LOOP data. This can dramatically reduce the
number of writes to the stats database, reducing wear on solid-state disk

Introduced module weewx.mainloop. Introduced class weewx.mainloop.MainLoop
This class offers many opportunities to customize weewx through
subclassing, then overriding an appropriate member function.

Refactored module weewx.wunderground so it more closely resembles the
(better) logic in wunderfixer.

setup.py no longer installs a daemon startup script to /etc/init.d. It must
now be done by hand.

setup.py now uses the 'home' value in setup.cfg to set WEEWX_ROOT in
weewx.conf and in the daemon start up scripts

Now uses FTP passive mode by default.

1.0.1 (09 Nov 2009)

Fixed bug that prevented backfilling the stats database after modifying the
main archive.

1.0.0 (26 Oct 2009)

Took the module weewx.factory back out, as it was too complicated and hard
to understand.

Added support for generating NOAA monthly and yearly reports. Completely
rewrote the filegenerator.py module, to allow easy subclassing and

Completely rewrote the stats.py module. All aggregate quantities are now
calculated dynamically.

Labels for HTML generation are now held separately from labels used for
image generation. This allows entities such as '°' to be used for the

LOOP mode now requests only 200 LOOP records (instead of the old 2000). It
then renews the request should it run out. This was to get around an
(undocumented) limitation in the VP2 that limits the number of LOOP records
that can be requested to something like 220. This was a problem when
supporting VP2s that use long archive intervals.

Cut down the amount of computing that went on before the processing thread
was spawned, thus allowing the main thread to get back into LOOP mode more

Added type 'rainRate' to the types decoded from a Davis archive record. For
some reason it was left out.

Added retries when doing FTP uploads. It will now attempt the upload
several times before giving up.

Much more extensive DEBUG analysis.

Nipped and tucked here and there, trying to simplify.

0.6.5 (11 Oct 2009)

Ported to Cheetah V2.2.X. Mostly, this is making sure that all strings that
cannot be converted with the 'ascii' codec are converted to Unicode first
before feeding to Cheetah.

0.6.4 (22 Sep 2009)

Fixed an error in the calculation of heat index.

0.6.3 (25 Aug 2009)

FTP transfers now default to ACTIVE mode, but a configuration file option
allows PASSIVE mode. This was necessary to support Microsoft FTP servers.

0.6.2 (01 Aug 2009)

Exception handling in weewx/ftpdata.py used socket.error but failed to
declare it. Added 'import socket' to fix.

Added more complete check for unused pages in weewx/VantagePro.py. Now the
entire record must be filled with 0xff, not just the time field. This fixes
a bug where certain time stamps could look like unused records.

0.6.1 (22 Jun 2009)

Fixed minor ftp bug.

0.6.0 (20 May 2009)

Changed the file, imaging, ftping functions into objects, so they can be
more easily specialized by the user.

Introduced a StationData object.

Introduced module weewx.factory that produces these things, so the user has
a place to inject his/her new types.

0.5.1 (13 May 2009)

1. Weather Underground thread now run as daemon thread, allowing the
program to exit even if it is running.

2. WU queue now hold an instance of archive and the time to be published,
rather than a record. This allows dailyrain to be published as well.

3. WU date is now given in the format "2009-05-13+12%3A35%3A00" rather than
"2009-05-13 12:35:00". Seems to be more reliable. But, maybe I'm imagining