Commit Graph

59 Commits

Author SHA1 Message Date
Bill Richter
93436a927c once again try to update my fork (#2)
* Got test suites working again.

* Updated TODO

* indicate specific firmware for cc3000

* clarify rainwise firmware

* Further refinement

- max and maxtime now updated
- reworked the progress function, now a method in the class

Have left __main__ code in that has been used for testing windSpeed
recalculation fix

* indicate when calibrations are ignored

* Now emits the barometer trend in LOOP packets as field 'trendIcon'

Vantage only.

* Updated TODO guide, reflecting this morning's phone call.

* Presses on, despite database error

* Simplified patching by moving metadata code to DaySummaryManager

* Got rid of _getVersion()

Can now get it from _read_metadata

* Remove interval weighting fix from weewx startup

Refer TODO.txt

* Update TODO.txt

* added write timeout to ultimeter driver

* better logging when cc3000 loses contact with sensors

* document some of the channel, sensor, and logger specifics for the wmr100/wmr200 hardware

* Removed the p word, patch.py is now database.py, rejigged wee_database as per skype and followup emails

- progress function for fixes included as a method in base class that
can be overridden
- much changing of logging to give consistent results/output
- believe I retained Tom's recent changes to patch.py (commit 4acf752)

* Picks daily summary weights on the basis of database version

* Rewrote the backfill routine (again)

* wee_database now uses new version of backfill_day_summary

* Fixed problem that prevented cold startup

* Revised to reflect latest wee_database incantation

* Modified weighting fix

Should not mess with lessUpdate
Delete lastWeightPatch after successful patch

* Check to make sure the daily summaries have not been partially updated.

* Revised to reflect latest wee_database incantation

* Revised wee_database and interval weighting paras, added windSpeed recalc para

* Removed vacuum

* Updated what has been done and committed

* Better diagnostics with partial update of the daily summaries.

* MySQL now uses transaction isolation level READ COMMITTED

* Add .config (#204)

* Changed semantics of "$last_xxx" tags.

* Template test updates including fixing issue #201 (#205)

* Add .config

* Standardise test skin for index.html.tml to remove "%x %X" locale dependent formatting. Note: Used 24 hour time as AM/PM can also be locale dependent.

Also include fixes for line formatting in some other test files and expected results.

* sysctlbyname is not available on every platform, so catch AttributeError too, otherwise cheetah fails with a name error

* Got rid of tabs

* update usb mode info for acurite models

* Removed intervalgenRoundTS and archiveDaysAgoSpan.

* Simplified tags. Got template test working again.

* Somehow, style "indent" got lost

* Documented new "$ago" tags.

* Documented $ago options, as well as .start and .end

* Update changes doc

* Stupid typo

* use markdown instead of html for README

* indenting seems to confuse markdown's handling of urls

* Left over $last_day in $spans example (#206)

* Add .config

* Standardise test skin for index.html.tml to remove "%x %X" locale dependent formatting. Note: Used 24 hour time as AM/PM can also be locale dependent.

Also include fixes for line formatting in some other test files and expected results.

* Left over $last_day in $spans example.

* a user-specified sensor_map will update, not replace, the default sensor_map

* Updated the upgrade guide.

* ensure that weewx-multi works on deb and rpm as well as setup.py

* document the sensor mapping changes

* Added comprehensive example to customizing guide.

* Updated TODO

* Got the weighting update to work on MySQL

* added crude caching of pressure in wmr300

* Fixed typo

* Fixed little errors. Consistently use "tag", instead of "dot code."

* no altimeter, just pressure and barometer

* Fixed little HTML problems.

* Reformatted, in anticipation of a refactoring of some sections.

* Fixed location of 'Version'

So it works with automatic replacement of 'Version'

* initial experiment with different fonts

* override jquery-ui hijacking of toc font family

* bring header highlighting to h2 to correlate with toc.  reduce post-header margins.

* fix some table header cruft.  prevent indent sections from overflowing right margin.  let the table cells breath.

* fix broken tty formatting

* Checkpoint

Work in progress.

* Refined examples of creating new units and groups

* Polishing. Or, maybe fiddling?

* minor css fixes.  rearrange troubleshooting sections about pressure.

* minor cleanup to readme

* Fixed test suites

Add MySQL back to template tests.

* Reworked the iteration examples.

* Corrected and clarified the units used in the "electricity" example.

* remove write_timeout since naming is inconsistent between pyserial versions and there is no backward compatibility

* remove write_timeout from ultimeter

* Minor changes to users guide

* increase body size to 100%.  background for code.  weeWX in titles.  true bold for monospace.  prep for direct font comparisons.

* Clarified the role of encoding

* update utilities guide with suggested wee_database descriptions and args

* more compaction

* increase margins on html examples.  use droid serif for html examples.

* Clarified a few things

* decode weewx into weeWX

* include transaction limit defaults

* eliminate transaction-limit

* weeWX fixes in install pages.  more fixes to utilities.

* missed a few code spans

* fix version label alignment

* use only major.minor for docs

* Fix error where import fields that are None can cause Source.mapRawData() to crash in some cases

* Updated TODO and NEW_FEATURES

* There will be no daykeys if the daily summaries have been dropped.

* Restructure usage string, hard code transaction days

* dry-run goes with fix-strings, not check-strings

* Log daily summary version

* No need to check for weewx.debug

* include examples in manifest

* added examples and extensions to data_files

* do not install sample extensions

* Can now specify date field separator for Cumulus imports, weewx -> weeWX

* Clarified option strings

* Rudimentary test of selective daily summary rebuild

* No longer allows selective rebuild of the daily summaries

if the summaries are not complete

* Hardwired UTF-8 encoding, but with a warning comment.

* Hardwired UTF-8 encoding, but with a warning comment.

* Documented Cumulus import separator config option

* Added comments about Tools.

* Changed to execute in user environment

* Ported to PyMySQL as an alternative to python-mysqldb

See https://github.com/PyMySQL/PyMySQL for a description of PyMySQL

* Recognize additional MySQL "Can't connect" error

* Fixed error in test suites

Subsequent tests depended on ordering of a dictionary.

* pymysql seems to have problems connecting via file socket

unless it is told explicitly about it.

* Workaround for pypy compiler

* Defaults now support MySQLdb over pymysql

* Fixed bug in record augmentation.

The augmentation was happening without giving StdConvert a chance to do
its thing.

* More clear msg when encountering an ImportError

* Clarified the relationship between archive period and report_timing option, aded note regarding primacy of the report cycle

* Reverted back to MySQLdb only version.

* Changed config option names but never changed the code!

* One transaction for updating daily high/lows and archive record

Formerly, these were done in two transactions.

* v3.7.0a2

* Adjustable value for how long to wait after a bad uploader login.

Option retry_login. Fixes issue #212.

* Fixed Cumulus import rain field issue

wee_import will try to use field 26(AA) - midnight reset daily rainfall
but if not available due it will revert to field 9(J) or 11(L)

* Switched back to __str__ when extracting string out of template.

.respond() doesn't seem to encode Unicode characters properly

* Fix errors in wee_import WU step-by-step, remove Cumulus version caveat on rain

* Now uses dedicated test users 'weewx1' and 'weewx2'

* Formal check of the various MySQLdb exceptions.

* Added sqlite3 exceptions.

* Reworked check_strings() output (#213)

Reworked check_strings() screen and syslog output:
- now gives progress ala --rebuild-daily
- syslog is silent for --check-strings and --fix-strings with --dry-run
- left 'Preparing' (rather than 'Starting') but added 'this may take a
while' as there is a significant delay in dbmanager.genBatchRows()
initialising at line 619 (well there was for 400k records)

* reduce debug log spewage in wmr300 driver

* Finished formal test of errors

* First cut at V3.7 exception hierarchy

* Ported the weedb sqlite driver to the new exception hierarchy.

* Ported MySQLdb to the new database exception hierarchy.

* windSpeed fix now gracefully handles no windSpeed summary table, tweaked --update output/logging

* Now picks up absence of windSpeed daily summary

* The weedb Connection object can now be used in a "with" clause.

* The weedb Cursor object can now be used in a "with" clause.

* V3.7.0a3

* more code removal

* code formatting only

* use apt instructions for debian installs

* Reworked --wee-database section of Utilities Guide to reflect current wee-database operation

- revised usage
- reword --rebuild-daily
- reword --check
- reword --update

* More details on upgrading

* Moved start time to just before applying the patch

* Accumulator is now initialized with override values from weewx.conf

* Added sentences about wee_import/interval and weight patching multiple dbs

* remove extensions from rpm and deb packages

* v3.7.0b1

* Cleaned up some HTML warnings.

* must do a try loop at the read level so we can skip the no data 'errors' and return empty buffer so that a subsequent write will get the station to talk again

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

* adjust wording of weighting description

* added examples

* simplify

* fixed typo

* fixed typo

* read /etc/default before bailing out

* make init script work properly with /etc/default/weewx

* make output consistent

* more simplification

* keep PEP happy

* avoid resource consumption from slow reports by extending the StdReport.max_wait.  provide log messages when it happens.

* new features have move to the roadmap

* no more todo items left

* do not emit default sensor_map to the config

* aborted attempt to get additional battery status

* bump to 3.7.0b2

* do recipe using wget instead of curl

* forgot the O option to wget

* do not warn when calibrations are ignored - the implementation resulted in too many log entries

* get rid of tabs

* added notes about wmr300 rain counter and logger

* added norwegian 'no data available' as 'Ingen data er tilgjengelige'

* simplify.  eliminate more passive voice and gerunds.

* avoid run-on

* provide better feedback for operational errors.  make manager logging more consistent.

* fix typo in wmr300 ConfEditor

* decode heatindex and windchill from wmr300 sensor outputs

* fixed bad extract_signed invocation

* fixed wmr* partial packets note

* added mysqldb install instructions to userguide

* minor html fixes

* added link to wee_extension

* clarify acurite sensor transmission periods.

* added battery status for all wmr100 remote t/h sensors

* added battery status for all wmr100 remote t sensors

* document changes to wmr100, wmr200, wmr9x8 drivers.  fix 'Calculatios' typo.

* fixed inverted wmr200 battery status

* rename fault_out to out_fault to match pattern of other faults

* make battery status labels consistent across all wmr drivers

* wmr300 driver moves from rc to 0.18

* bump to 3.7.0b3

* css fixes: neutralize the glaring yellow; brighten the note green to more closely match the tone of warning red; @media tweaks to match font changes.

* fix column title

* distinguish selection color from code color

* fixed shift bug in weewx-multi

* Fixed (I think) issue #219

* update logwatch script to properly handle revised generator log messages

refer commit
03c3e4ef57 (diff-3cefdd7265f340e9683b0a2d0417b70f)

* normalize the quick-start

* Merge branch 'development', remote branch 'origin'

* fix layout table width on installation pages

* v3.7.0b4

* use released_versions instead of previous_versions

* Merge branch 'development', remote branch 'origin'

* parameterize release rule.  make release rule idempotent.

* replace cheetahtemplate.org with pythonhosted.org

* wee_database --help output was slightly different to reality

* Removed BOM at beginning of customizing.htm

* wee_database --help output was slightly different to reality

* Reworded comment on whether to --update daily summaries.

* cater for change in manager log output

* remove misleading windGustDir info

* bump to 3.7.0

* Added date to change log

* escape the dollars in release target

* fixed log syntax

* adjust log level for wmr100 bad usb report

* emit rapidfire cache info only when debug >= 3

* enable post_interval overrides for WOW uploader

* Fixes issue #230, exception when using Rapidfire with metric units

* Added StdRESTbase back in.

It seems that some uploaders still depend on it.

* Fixed problem that prevented a MySQL port from being specified.

* Added antialias GIF to list of files to be installed.

* Make sure GIF files get uploaded

* distribute examples in a single directory

* distinguish docs/examples vs examples

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

* Removed redundant change log entry

* Add MySQL Error 2003 to exceptions (#234)

* Added PR #234 to change log

* Documented change in location of the examples

* update examples paths in remaining guides.  explicitly list all path changes for examples.

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

Included regression test.
2017-03-20 00:41:34 -07:00
matthewwall
da1d0a574c fix html headers in all of the htm pages 2016-10-11 11:32:03 -04:00
matthewwall
a1926823b0 do not suggest double-clicking on .deb, since the behavior is undefined (depends on what software has been installed) 2016-10-09 16:45:01 -04:00
matthewwall
f6fbffcaa5 minor layout tweaks for the per-platform installation pages 2016-10-09 15:26:33 -04:00
matthewwall
2bbb259ea5 added rpi logo 2016-10-08 14:36:25 -04:00
matthewwall
046c1b4c43 fix reports path in debian install guide 2016-10-08 09:13:53 -04:00
matthewwall
4d19a4bd37 fix reports path for debian 2016-10-08 09:12:38 -04:00
matthewwall
ea6c5131fe minor tweaks to make docs consistent 2016-06-19 12:53:57 -04:00
matthewwall
0b5ac149a7 fix spelling of raspbian. fixes to macosx instructions. 2016-06-17 09:11:48 -04:00
Matthew Wall
c2d710c164 minor layout tweaks 2016-03-10 14:48:33 -05:00
Matthew Wall
8681e4ba27 fixed add/change/remove. removed useless css tags. fix broken pre formatting. fix corrupted pre sections. eliminate jarring inverse text color derived from original microsoft templates. added document index. eliminate redundant readme.htm. 2016-03-09 19:34:12 -05:00
davies-barnard
86c697e6cb Head Changes
Updated title and favicon tag.
2016-02-27 08:50:27 +00:00
davies-barnard
4f62c8dfee Mobile Reading Improved
CSS and template updates to make the docs easier to read on different
devices.
2016-02-21 09:53:01 +00:00
Matthew Wall
6567d4ac2b minor install instruction fixes. update copyright notice. 2015-11-23 23:42:29 -05:00
Tom Keffer
c6e575d7b1 Tried to further clarify install instructions. 2015-09-19 13:15:04 -07:00
tkeffer@gmail.com
c4a00f831b Reflect move from sourceforge.com to weewx.com 2015-07-26 10:01:56 -07:00
Tom Keffer
dc635c5ceb More reformatting, changing <p> to <pre>. 2015-07-09 11:03:07 -07:00
Matthew Wall
71529082b9 added alt tags - messing around with webstorm 2015-07-07 23:26:49 -04:00
Tom Keffer
f6d2aac1f2 Updated change log to reflect new way of configuring databases. 2015-06-27 08:17:07 -07:00
Matthew Wall
554ba29723 eliminate svn:keywords Id 2015-03-08 11:03:39 -04:00
Matthew Wall
172267ce45 fix broken StdArchive link 2014-12-01 21:30:01 +00:00
Matthew Wall
48df55fb9b make the note about archive interval obvious 2014-12-01 16:21:06 +00:00
Matthew Wall
0e9806d3f2 added troubleshooting section for factory default archive interval (esp ws23xx and fo defaults). put status before verify in install guides. 2014-11-30 22:03:17 +00:00
Tom Keffer
bac47f00a1 Added missing jQuery script. 2014-11-30 16:43:58 +00:00
Tom Keffer
1738d2ffed Reintegrate from the v3 branch.
V3.0.0b1
2014-11-29 18:15:24 +00:00
Matthew Wall
7338352734 fix location of weewx.conf in debian, redhat, and suse guides 2014-06-22 00:15:46 +00:00
Matthew Wall
61d9fbb252 minor edits and style cleanup 2014-02-09 16:21:35 +00:00
Tom Keffer
cc7f7692b0 Gussied up the tables.
Added some captions.
Rationalized the CSS style sheet a bit.
2014-02-08 00:04:18 +00:00
Tom Keffer
0adb0f1706 Organized CSS and JS into their own subdirectories. 2014-02-06 20:44:30 +00:00
Matthew Wall
dc1f39f0c4 added archive interval section to fousb and ws23xx. added dots and plots help. split suse into separate instructions since prereqs are different from redhat. 2014-01-01 15:37:59 +00:00
Matthew Wall
bbf4e7ec8a minor html fixes and wordsmithing 2013-11-10 15:37:42 +00:00
Matthew Wall
8e72098afe fix line endings for all docs 2013-09-25 12:45:59 +00:00
Tom Keffer
5cded55215 Tweaking docs. 2013-02-10 17:04:54 +00:00
Tom Keffer
4d02347426 Added command lines for removing the HTML directory on uninstall 2013-02-09 16:48:43 +00:00
Matthew Wall
61e7d552a1 added info about pressures to new stations section. fixed some dangling html tags. added target to weblint the docs. made encodings consistent. 2013-02-07 12:44:58 +00:00
Matthew Wall
ff29966816 do update before letting apt-get resolve dependencies 2013-02-06 18:39:41 +00:00
Matthew Wall
874b452793 added documentation location. fix highlighted tab background color to match brighter yellow of tty background color. 2013-02-06 02:18:51 +00:00
Matthew Wall
725171ac54 added instructions for removing weewx data. clean up layout table formatting. added location of binaries to locations table in each quickstart page. 2013-02-03 15:22:41 +00:00
Matthew Wall
978cadedeb added tabbed table with locations in usersguide 2013-02-03 01:37:06 +00:00
Matthew Wall
2e7a3cc238 on debian use /var/www/weewx; on redhat use /var/www/html/weewx 2013-02-03 00:22:12 +00:00
Matthew Wall
2a8dc134c2 fix a few paths for debian and redhat. more cleanup to setup.py instructions. 2013-02-02 22:29:25 +00:00
Matthew Wall
a2e6540e52 punt installing.htm. fixed a few more typos in redhad and debian pages. put all upgrade instructions in upgrading.htm. added units column to packet types table for US and METRIC. 2013-02-02 22:19:12 +00:00
Matthew Wall
33077c893a fixed dangling divs. try pre-line for a more robust pre-formatting. 2013-02-02 02:13:16 +00:00
Matthew Wall
099c86c514 fixed redhat init.d instructions 2013-02-02 00:24:39 +00:00
Matthew Wall
cf5ac5dd30 the install section of usersguide is now links to separate pages. added generic 'installing.htm' instructions that are not specific to any os. added javascript tabbing in linux.htm for platform-specific instructions. 2013-02-01 19:50:24 +00:00
Matthew Wall
c9afaaafc3 added copyright footer to each html page 2013-02-01 14:20:18 +00:00
Matthew Wall
c2dd1256c5 added BUILD with build/release notes. adjusted css colors, spacing. pushed install instructions into quick-start guides, streamlined usersguide. 2013-02-01 05:43:56 +00:00
Matthew Wall
02c797c03d make all html files have dos line endings 2013-01-31 23:39:59 +00:00
Matthew Wall
8c25e281ca set props on doc files. add instructions for dealing with missing dependencies on debian install. 2013-01-30 03:45:13 +00:00
Matthew Wall
2697ac0458 added os-icons. fixed some typos in the install guides. added copyright page as part of docs. minor doc cleanup to make doc names and titles a bit more consistent. 2013-01-30 02:57:10 +00:00