Files
weewx/util
John Kline dfe31c2da6 Reimplement gen_records(), refactor command(), doc changes, logwatch changes. (#484)
* 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
2019-12-29 16:15:13 -07:00
..
2016-01-16 16:45:45 -05:00
2017-12-20 23:10:36 -05:00