* 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.
* 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.
* 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.