Commit Graph

1762 Commits

Author SHA1 Message Date
Tom Keffer
d6eb7525f4 Formatting changes. Clarify a few comments.
Convert from Australianese to Americanese.
2020-02-14 08:23:55 -08:00
Tom Keffer
b5f28113c6 Add background color for HTML <dd> 2020-02-08 05:11:03 -08:00
Tom Keffer
3ff32fea8f Updating Users Guide. 2020-02-08 05:10:16 -08:00
Tom Keffer
1e4f34e5ab Started moving parts of the "Troubleshooting" section to the Wiki 2020-02-07 08:54:55 -08:00
Tom Keffer
aaa3eb0651 Add instructions for installing python3-distutils for Debian. 2020-02-06 11:08:42 -08:00
Tom Keffer
4318be7b0a Corrected observation type names to pm1_0, pm2_5, and pm10_0 2020-02-06 09:24:37 -08:00
John Kline
9c43bedbb2 Add/fix pm1_0, pm2_5 and pm10_0 observation types. (#501)
* Add/fix pm1_0, pm2_5 and pm10_0 observation types.
2020-02-03 18:18:38 -08:00
gjr80
d693b700cb wee_import will now skip (rather than exiting) periods for which it cannot obtain source data
Added notes to the wee_import section of the Utilities Guide explaining that periods may be skipped
2020-02-02 15:18:50 +10:00
Tom Keffer
1826d797e2 Fix typo. Change "highlight" CSS. 2020-01-28 07:17:47 -08:00
Tom Keffer
0adb5fdbfb Refactored the start up code for weewxd.
Moved the restart loop from engine.py to weewxd.
2020-01-26 15:58:41 -08:00
gjr80
7f1f09e446 WeeWX config file is now an optional argument when running weewxd 2020-01-26 17:58:56 +10:00
gjr80
a85e10dd7c Note to remind users the path to the config file will likely be required when running WeeWX directly 2020-01-26 11:56:04 +10:00
gjr80
2ccb65ef3d add maxSolarRad to Customization Guide Units appendix 2020-01-21 11:49:17 +10:00
Tom Keffer
ac1ab83cd4 Systemd type changed from "simple" to "forking". 2020-01-20 15:56:28 -08:00
Tom Keffer
92c6ad4a83 Changed the name of the unit "litre" to "liter".
The spelling "litre" is still accepted.
2020-01-16 14:10:10 -08:00
Tom Keffer
e2b694b853 Got rid of the obsolete appendix "Archive Types". 2020-01-15 11:55:19 -08:00
John Kline
3dca7cfa8e Add barometerRate, et. al. to weewx.units (#490)
* Robustness enhancements to cc3000 driver including py2/py3 support
cc300.py:
- changes to work on both py2/py3 (tested on both)
- change timeout to 1s (more not needed)
- retry commands when reading cmd echo times out (the signal of failure)
- use timeout of 20s for memory clear (which takes about 12s)
- various changes as assumptions of commands not currently correct (tried on 2 units)
- use weewx.wxformulas.calculate_rain for rain delta
- use weewx.crc16

engine.py:
- Failure to get time from driver is not treated as an error.

rsyncupload.py:
- Add timeout option.
- Change to allow single file to be rsynced.

util/logwatch/scripts/services/weewx:
- Changes to organize very detailed cc3000 output in logwatch reports.

* cc3000 driver cleanup and fixes

* rework genStartup, implement history-since, don't convert to unicode on py2

* fix typo

* fix typo

* Change logwatch script to match capitalization change in wxformulas.calculate_rain

* logwatch change to match engine.py log message change

* Another round of cleaning up the logwatch script.

* remove tabs in logwatch script

* Add missing commands.  Get running under debug=1 in PY3.

* A better _format_bytes.

* Make use of weeutil.y_or_n for prompting.

* rewrite function to download archive records, refactor command function

* minor changes to exec_cmd_with_retries, add all cmds to logwatch script

* Update comments.

* change/add comment

* Poll on polling_interval boundaries (rather than slowly drifting).

* Update CC3000 documentation.  Add missing headers command to CC3000 configurator.

* Update CC3000 section of User's Guide, minor changes to cc3000 driver.

* Add barometerRate to weewx.units.

* Rename barometerRate to barometricRate.

* Change barometricRate to barometerRate. Update docs.  Add default lable for barometerRate.

* Doc fix.

* Doc fix, try 2.
2020-01-15 11:14:46 -08:00
tkeffer@gmail.com
527c9a2806 Updated docs to reflect new schema. 2020-01-13 15:54:32 -08:00
tkeffer@gmail.com
ad3546ad2b Default schema is now "wview_extended". Updated test suites to match.
Fixes issue #115
2020-01-13 13:48:02 -08:00
tkeffer@gmail.com
e45c2ae908 Fixed broken link 2020-01-09 05:00:33 -07:00
John Kline
7e00198410 Update CC3000 Section of User’s Guide (#489)
* Robustness enhancements to cc3000 driver including py2/py3 support
cc300.py:
- changes to work on both py2/py3 (tested on both)
- change timeout to 1s (more not needed)
- retry commands when reading cmd echo times out (the signal of failure)
- use timeout of 20s for memory clear (which takes about 12s)
- various changes as assumptions of commands not currently correct (tried on 2 units)
- use weewx.wxformulas.calculate_rain for rain delta
- use weewx.crc16

engine.py:
- Failure to get time from driver is not treated as an error.

rsyncupload.py:
- Add timeout option.
- Change to allow single file to be rsynced.

util/logwatch/scripts/services/weewx:
- Changes to organize very detailed cc3000 output in logwatch reports.

* cc3000 driver cleanup and fixes

* rework genStartup, implement history-since, don't convert to unicode on py2

* fix typo

* fix typo

* Change logwatch script to match capitalization change in wxformulas.calculate_rain

* logwatch change to match engine.py log message change

* Another round of cleaning up the logwatch script.

* remove tabs in logwatch script

* Add missing commands.  Get running under debug=1 in PY3.

* A better _format_bytes.

* Make use of weeutil.y_or_n for prompting.

* rewrite function to download archive records, refactor command function

* minor changes to exec_cmd_with_retries, add all cmds to logwatch script

* Update comments.

* change/add comment

* Poll on polling_interval boundaries (rather than slowly drifting).

* Update CC3000 documentation.  Add missing headers command to CC3000 configurator.

* Update CC3000 section of User's Guide, minor changes to cc3000 driver.
2020-01-05 06:16:05 -07:00
John Kline
23adb5624a Upgrade CC3000 Section of Hardware Guide (#488)
* Robustness enhancements to cc3000 driver including py2/py3 support
cc300.py:
- changes to work on both py2/py3 (tested on both)
- change timeout to 1s (more not needed)
- retry commands when reading cmd echo times out (the signal of failure)
- use timeout of 20s for memory clear (which takes about 12s)
- various changes as assumptions of commands not currently correct (tried on 2 units)
- use weewx.wxformulas.calculate_rain for rain delta
- use weewx.crc16

engine.py:
- Failure to get time from driver is not treated as an error.

rsyncupload.py:
- Add timeout option.
- Change to allow single file to be rsynced.

util/logwatch/scripts/services/weewx:
- Changes to organize very detailed cc3000 output in logwatch reports.

* cc3000 driver cleanup and fixes

* rework genStartup, implement history-since, don't convert to unicode on py2

* fix typo

* fix typo

* Change logwatch script to match capitalization change in wxformulas.calculate_rain

* logwatch change to match engine.py log message change

* Another round of cleaning up the logwatch script.

* remove tabs in logwatch script

* Add missing commands.  Get running under debug=1 in PY3.

* A better _format_bytes.

* Make use of weeutil.y_or_n for prompting.

* rewrite function to download archive records, refactor command function

* minor changes to exec_cmd_with_retries, add all cmds to logwatch script

* Update comments.

* change/add comment

* Poll on polling_interval boundaries (rather than slowly drifting).

* Update CC3000 documentation.  Add missing headers command to CC3000 configurator.
2020-01-05 04:39:33 -07:00
Matthew Wall
a1cd93469f adjust tab heights 2020-01-04 12:01:17 -05:00
Matthew Wall
3a7554f914 remove duplicate configobj. just the command not PS1. flatten the tabs. 2020-01-04 09:53:23 -05:00
Matthew Wall
d6b94a7833 default to python3 and latest os release 2020-01-03 19:35:59 -05:00
Matthew Wall
668bd1f43c tone down the tabs. flatten the hierarchy to one level. 2020-01-03 19:32:59 -05:00
gjr80
f0a3c98f21 Updated wee_import CSV field map paras to reflect use of usUnits field mapping
#473 refers
2020-01-04 08:34:06 +10:00
tkeffer@gmail.com
eb44b697c4 Made CSS changes for code: lighter background, no box, less padding. 2020-01-02 13:07:36 -07:00
tkeffer@gmail.com
39b5111177 Added warning to stop weewxd before running wee_device. 2020-01-01 14:58:44 -07:00
tkeffer@gmail.com
2943038c2b Added comment about setup.py injecting python into shebang 2020-01-01 08:57:31 -07:00
tkeffer@gmail.com
d1b15032f7 Can now recover from MariaDB-specific database connection error 1927.
Also, now wait only 60 seconds after a database error before restarting.
2019-12-31 05:30:59 -07:00
tkeffer@gmail.com
8b80cf0394 Moved the data architecture section.
Still not quite satisfied with this...
2019-12-26 16:14:32 -07:00
tkeffer@gmail.com
229e13a7e9 More architectural details.
Include a figure illustrating the pipeline.
2019-12-25 11:57:09 -07:00
John Kline
0f3455bbc3 Development (#475)
* Robustness enhancements to cc3000 driver including py2/py3 support
cc300.py:
- changes to work on both py2/py3 (tested on both)
- change timeout to 1s (more not needed)
- retry commands when reading cmd echo times out (the signal of failure)
- use timeout of 20s for memory clear (which takes about 12s)
- various changes as assumptions of commands not currently correct (tried on 2 units)
- use weewx.wxformulas.calculate_rain for rain delta
- use weewx.crc16

engine.py:
- Failure to get time from driver is not treated as an error.

rsyncupload.py:
- Add timeout option.
- Change to allow single file to be rsynced.

util/logwatch/scripts/services/weewx:
- Changes to organize very detailed cc3000 output in logwatch reports.

* cc3000 driver cleanup and fixes

* rework genStartup, implement history-since, don't convert to unicode on py2

* fix typo

* fix typo
2019-12-23 17:56:43 -07:00
tkeffer@gmail.com
30a6e2836d Clarified overall architecture 2019-12-22 17:41:22 -07:00
tkeffer@gmail.com
09c43c6ebb Comment no longer needed. All supported versions have FTPS. 2019-12-22 07:12:29 -07:00
gjr80
b1c7db9478 Reworked CSV field map info in both Utilities Guide and example CSV import config file.
Addresses issue #425
2019-12-20 09:42:25 +10:00
gjr80
8548ee324e wee_database --calc-missing action, revised wee_import operation and a typo 2019-12-16 18:04:25 +10:00
gjr80
2f099e352e Update wee_import WD console output 2019-12-16 17:04:58 +10:00
tkeffer@gmail.com
7326b4ce91 Add option --upload-only to wunderfixer 2019-12-15 12:06:29 -07:00
Matthew Wall
e9962fe899 do check for future records in engine.py, not wmr300.py 2019-12-14 18:29:53 -05:00
Matthew Wall
10d00a2327 ignore historical records with future timestamps 2019-12-14 18:12:43 -05:00
gjr80
397ecd3cbb Update wee_import Cumulus console output 2019-12-15 08:36:43 +10:00
tkeffer@gmail.com
d45ff13184 Reformat. 2019-12-13 14:41:53 -07:00
tkeffer@gmail.com
fcb2f7100a Old way of specifying schemas will continue to be supported. 2019-12-07 17:13:09 -07:00
gjr80
8d9c0c94f4 Update wee_import CSV and WU import console output 2019-12-07 08:34:47 +10:00
gjr80
3f8343a660 Updated csv import screen captures to reflect current wee_import console output 2019-12-06 15:17:52 +10:00
tkeffer@gmail.com
40b59815bb Revisit PR #416, issues ##414 and #445. Wunderfixer now uses "dual API".
One for today, one for historical data.
2019-12-03 15:03:55 -07:00
tkeffer@gmail.com
c4138989f6 Document PR #472, addressing issue #375. 2019-12-02 14:40:46 -07:00
Tom Keffer
73b2843ffa Suppress HTML warning. 2019-11-28 17:09:39 -08:00