Commit Graph

1726 Commits

Author SHA1 Message Date
matthewwall
75ff54eef4 fixed typo 2016-06-11 23:58:14 -04:00
matthewwall
ee7c3f0211 Merge branch 'master' of github.com:weewx/weewx 2016-06-11 23:54:30 -04:00
matthewwall
06f5584202 minor optimization to rain event tracking 2016-06-11 23:54:19 -04:00
gjr80
433538005b Change the StdWXCalculate service to wrap a WXCalculate object
Added a layer of abstraction so that the StdWXCalculate service wraps a
non-service WXCalculate object. This makes the (former) StdWXCalculate
service capabilities more easily used by other code/utilities through
use of the wrapped WXCalculate object without the need for the overheads
that go with invoking a weewx service.
This change will help facilitate a wee_import utility and perhaps a
'backfill-calculations' capability for wee_database.
2016-06-09 23:14:09 +10:00
matthewwall
07dde1454b make the caching of archive interval explicit 2016-06-04 22:02:27 -04:00
matthewwall
e557cf2a0f do not submit records with zero-length interval (they should not happen anyway) 2016-06-04 21:49:25 -04:00
matthewwall
717f10a2d8 ws28xx changes: better detection of rf thread issues; start cleanup of usb layer; eliminate a few more c/c++-isms 2016-06-04 13:21:55 -04:00
matthewwall
896dee78a1 fix bug in aborted post logging 2016-06-04 13:19:47 -04:00
matthewwall
14eec896dd provide some feedback when driver loading fails with anonymous exception. keep pycharm lint happy(er). 2016-05-25 12:20:45 -04:00
matthewwall
0311e9db24 Merge branch 'master' of github.com:weewx/weewx 2016-05-19 19:04:40 -04:00
matthewwall
ecf4a3ab7e ack usb comms even if data are bogus 2016-05-19 19:04:21 -04:00
matthewwall
837a16d9e5 deal with corrupt time 2016-05-19 19:03:15 -04:00
Tom Keffer
f29314fd2c Updated URL for NOAA's heat index formula. 2016-05-19 10:24:58 -07:00
matthewwall
2728245318 added option to read units. fixed some typos in responses. added configurator option to set/get channel. 2016-05-18 13:00:16 -04:00
matthewwall
731357a204 fix response to auto command. add option to set channel. 2016-05-18 12:54:40 -04:00
matthewwall
d38ec13dde adjust log levels for better indication of what restful services are going to do 2016-05-17 08:33:14 -04:00
matthewwall
a10947f4a9 fix rain counter problems in wmr300 driver. better processing of loop packets. eliminate (really poor) failed attempt to cache partial packets. 2016-05-17 07:58:33 -04:00
matthewwall
1873aab0f5 use better function names. guestimate number of historical records based on archive interval. eliminate some vestigial code. comment better the reading of logger data. 2016-05-16 06:07:16 -04:00
gjr80
883e365a4f Further removal of the CRON word
Removed cron from variable/class names
2016-05-15 23:04:38 +10:00
gjr80
c9ed828fb7 Merge branch 'master' of https://github.com/weewx/weewx 2016-05-15 11:38:22 +10:00
gjr80
150de86e02 Move ReportCron class, update docs
Moved ReportCron class to reportengine.py, removed cronparse.py
Minor changes to customization guide
2016-05-15 11:15:41 +10:00
matthewwall
a3e303d513 fix te923 reading from logger, especially for stations with large memory configuration 2016-05-14 18:42:54 -04:00
matthewwall
742e48ba92 eliminate old, unused pattern for parameter checks 2016-05-13 15:42:03 -04:00
matthewwall
af65d3ea6a fix vantage and ws23xx drivers for winddir is None when wind speed is zero 2016-05-12 18:54:06 -04:00
matthewwall
aba90b1d7d ensure debug flags are set during init. make init log messages consistent. 2016-05-08 12:27:02 -04:00
Tom Keffer
7cbfd4ad36 Removed explicit value for default_binding_dict in dump_logger. The
default should work fine.
2016-05-03 18:45:27 -07:00
matthewwall
04b257b554 added 'enable' flag so that reports can be enabled/disabled instead of commenting or deleting from the config file 2016-05-03 11:35:20 -04:00
matthewwall
a80fe81a90 reformat in preparation for enable/disable changes. keep pycharm happy. 2016-05-03 11:22:20 -04:00
matthewwall
d736b4e409 fixed cc3000 units - cc3000 'metric' is the same as weewx 'metricwx' 2016-05-02 06:36:41 -04:00
matthewwall
67bb6be497 check for usb error type a bit more robustly. fixed typo in te923 default sensor mapping. 2016-04-29 21:09:07 -04:00
gjr80
0879b01f8b Missed deleting an unused variable 2016-04-29 11:15:05 +10:00
gjr80
e0d0779e9d Merge remote-tracking branch 'upstream/master' 2016-04-29 11:10:35 +10:00
gjr80
f9ef6e8168 Further refinement
cronparse.py
- significant changes to ReportCron class to simplify code and reduce
repetition
- removed reference to CRON from many comments
- revised comments.
reportengine.py
- simplified code that decides whether to run the report or not.
2016-04-28 16:09:53 +10:00
matthewwall
2ceed759e3 fix typo. display rain total in diagnostics. 2016-04-25 07:08:34 -04:00
matthewwall
5836dc6888 added require_weewx_version for use by extensions. minor formatting cleanup. 2016-04-25 03:31:37 -04:00
Raymon de Looff
39a7170305 Fix typo in CC3000 driver 2016-04-24 17:06:54 +02:00
matthewwall
fe4fc0ba63 deal with missing rain 2016-04-24 07:22:32 -04:00
matthewwall
6a90e967a0 provide hooks to handle other http responses 2016-04-24 01:02:35 -04:00
gjr80
d6eef88b0d Fix yet another logic error in DOM/DOW handling 2016-04-23 11:33:51 +10:00
gjr80
9a939648b1 Fixed DOM/DOW logic in is_triggered 2016-04-22 17:47:39 +10:00
gjr80
093d0d9d90 Revised ReportCron class
- revised abbreviated names processing - abbreviated names are no longer
permitted in ranges and lists
- fixed bug in decode due to differences in python and cron weekday
numbering
- is_triggered() now works properly when either DOM or DOW fire
- improved error checking in parse_field()
2016-04-22 09:02:27 +10:00
gjr80
5a39ecde32 Merge remote-tracking branch 'upstream/master' 2016-04-22 08:52:35 +10:00
pi
1bae999006 merge with master 2016-04-21 22:39:49 +08:00
pi
1fe646988f ignore rain wraparound value for now (would require unit conversion of 65536*0.1 inch 2016-04-21 22:34:46 +08:00
pi
5a1270f900 added rain reset option. added barometer offset option. consolidate values-to-packet. 2016-04-21 22:16:05 +08:00
pi
5219b62dcd eliminate pass-throughs 2016-04-21 19:05:08 +08:00
pi
f0e6e73e6f implement a 'wakeup' hack to give station a chance to respond 2016-04-21 18:52:14 +08:00
pi
5026cfb1d1 no need to retain archive last rain 2016-04-21 17:27:40 +08:00
pi
3406eda7bb set/get dst 2016-04-21 17:24:49 +08:00
pi
c0fee09800 deal with spurious null characters. bracket the archive interval. partial fix for rainfall counting. avoid failures when reading historical data. 2016-04-21 14:10:06 +08:00