Commit Graph

831 Commits

Author SHA1 Message Date
Matthew Wall
91c2466f8d use md5 digest to avoid saving the same failed forecast multiple times 2013-12-21 15:04:38 +00:00
Matthew Wall
d9c982b88a fixed bug in forecast failure dump 2013-12-21 14:52:55 +00:00
Matthew Wall
57cfc07e78 eliminate marshaling overhead when querying for last timestamp. prevent partial data from previous failures from infilitrating good query. 2013-12-20 15:56:41 +00:00
Matthew Wall
4c56823c03 forgot to break after success 2013-12-20 15:35:26 +00:00
Matthew Wall
d7d6c5e11a retry database reads and writes. eliminate some dead code. option to save failed forecasts to disk for later diagnoses. explicitly close database connections. 2013-12-20 13:14:59 +00:00
Chris Manton
b4df055e42 wmr200: Remove upper nibble of rainrate for calculations 2013-12-20 06:39:10 +00:00
Chris Manton
cf5735a08f wmr200: rainfall and windchill fix 2013-12-20 06:33:15 +00:00
Matthew Wall
b5f33bf0fc added option to save failed wu forecast to disk 2013-12-14 15:41:01 +00:00
Matthew Wall
392a27df3f default to 30 seconds between retries instead of 10 2013-12-11 18:06:51 +00:00
Matthew Wall
1f92817b84 provide more feedback about wind overflow and validity 2013-12-11 18:06:13 +00:00
Matthew Wall
357bc662e6 fix type conversions in te923 options 2013-12-11 18:05:27 +00:00
Matthew Wall
caf3ffff2b fixed cooling degree day bug. do not crash if skin does not define Labels. 2013-12-11 18:04:56 +00:00
Matthew Wall
75dd83fb40 warn about clearing history. fix all entry points for wind speed 2013-12-10 14:35:42 +00:00
Matthew Wall
a1e84b5cfe fix wind speed decoding 2013-12-10 05:25:19 +00:00
Matthew Wall
2115f1a2df ignore any pointer lower than the start of history data 2013-12-09 21:13:28 +00:00
Matthew Wall
7a7b5c6ac8 ignore reads from memory when pointer has not been updated 2013-12-09 17:24:15 +00:00
Matthew Wall
bfa2059153 add check for wind overflow and validity 2013-12-09 01:50:30 +00:00
Matthew Wall
b5038f51ec explicit method to do initial catchup 2013-12-08 05:06:56 +00:00
Chris Manton
8362eb1ff6 wmr200: Add windgust; cleanup windchill 2013-12-06 18:20:50 +00:00
Matthew Wall
e164b232ee added disable_catchup to ws23xx driver 2013-12-04 04:52:25 +00:00
Matthew Wall
92e70a74d9 added option to disable catchup. fix off-by-one archive interval bug. 2013-12-04 04:42:27 +00:00
Matthew Wall
bcaadf96f5 fixed ws23xx polling interval bug 2013-12-04 00:16:27 +00:00
Matthew Wall
d22cdc7b42 fixed bug in archive_interval setup 2013-12-02 05:29:47 +00:00
Chris Manton
cb1f615422 wmr200: Added archive retrieval
Bunch of other changes/cleanup to support this feature
2013-12-02 01:18:39 +00:00
Matthew Wall
c180efbf91 fix config parameter types. sigh. 2013-12-01 19:48:42 +00:00
Matthew Wall
c13b9df548 gust and gustDir are None for the ws23xx driver. temporarily hack record_generation using a config setting; 2.6 will probably use the genCatchupRecords api change instead. 2013-11-29 23:52:52 +00:00
Matthew Wall
4b7df6b1fc fix te923 rain count multiplier. make te923 memory dumps more reliable. adjustments for different te923 memory sizes. better detection of ws23xx connection mode. fixed outHumdity typo. 2013-11-27 15:51:50 +00:00
Matthew Wall
59ce2cde6c added ability to specify number of records and blocks to te923 driver 2013-11-26 12:39:55 +00:00
Matthew Wall
7e8f4e550c enable modification of archive interval and clearing station memory on ws23xx 2013-11-26 04:38:45 +00:00
Matthew Wall
bfbfe6ab5f added catchup to ws23xx driver, but it is marginally useful due to lack of data stored in historical records and small memory size 2013-11-26 03:10:17 +00:00
Matthew Wall
310be286aa permit configuration of remote sensors from weewx.conf for te923. added retries and failure recovery for both te923 and ws2300. initial implementations of wee_config_te923 and wee_config_ws2300. added diagnostic options to te923 driver. 2013-11-25 13:16:35 +00:00
Matthew Wall
88e18d80e1 fixed a few silly mistakes 2013-11-23 21:56:37 +00:00
Matthew Wall
4b6bbae447 improvements to te923 driver. added option to dump some or part of station memory. added mappings to standard schema for remote batteries and sensors. 2013-11-23 21:47:56 +00:00
Matthew Wall
13d8d2da18 fixed wind speed multiplier in te923. provide mechanism for testing driver without weewx overhead. 2013-11-23 15:37:28 +00:00
Matthew Wall
94dc0c7608 update changelog 2013-11-23 13:24:01 +00:00
Matthew Wall
71b1b83753 initial support for te923. minor refactoring of ws23xx. 2013-11-23 05:55:32 +00:00
Matthew Wall
ee716a8518 if record_generation is software, do not try to use the station's archive interval 2013-11-18 22:48:11 +00:00
Matthew Wall
7b54668057 experimental support for the lacrosse ws2300 series of stations 2013-11-18 14:34:46 +00:00
Chris Manton
423e332908 wmr200: Harsher recovery methods upon failure
The occasional reset seems to work when the wmr200
console fades from responding to requests for data.
However, after a few resets we need to reacquire
the usb device as those resets also are ignored.

So we throw an exception and allow weewx to restart
us.
2013-11-17 02:53:30 +00:00
Matthew Wall
b9d8f5e346 report delay in fousb LOOP and REC data 2013-11-14 19:30:13 +00:00
Matthew Wall
d4d0fab89a capture (but do not save) pointer in fousb LOOP packets 2013-11-14 17:57:19 +00:00
Chris Manton
847a30f68d wmr200 windchill, reset check
David Rose windchill fix
Added a reset after 1 minute of inactivity to console
Made pc time the default
2013-11-14 04:39:12 +00:00
Matthew Wall
054fdda139 track fousb rain counter decrements in logwatch 2013-11-12 14:27:07 +00:00
Chris Manton
59e68215d6 Barometer fix
DaveB verified barometer field swap.
Moved debugging statement before yield()
2013-11-12 05:34:46 +00:00
Chris Manton
ef38db2457 Production release candidate
Not quite a rewrite but a ton of changes.
Mainly revolving around supporting archive packets.
Should be at least as good as prevous versions but
a good baseline for future bugfixes.

Still does not support archive packets but will
as soon as I figure that part out.
2013-11-11 01:14:13 +00:00
Matthew Wall
104b831b78 recognize wu fctcode as well as condition and wx 2013-11-10 14:47:21 +00:00
Matthew Wall
8446ae190d look for precip/obvis in wx first, fallback to conditions 2013-11-10 03:45:56 +00:00
Matthew Wall
0344f99f05 provide qpf and qsf counts for summaries 2013-11-08 22:11:21 +00:00
Chris Manton
90a043658e Barometer fix and general cleanup
-code cleanup
-logging bugfixes
-Pressure forecast bugfix
-added barometer field pressure using weewx altitude conf
-swapped altitude pressure and raw from previous email request
2013-11-07 05:11:42 +00:00
Tom Keffer
9635bd1950 windchill calculation now does not use byte 13. Just byte 12. 2013-11-07 00:41:53 +00:00