Luc,
Running rtldavis.py v0.11
Strange thing I ran it once and and seemed OK, than I stopped it, now won't
start until I comment out lines 960 and 961 ?
Apr 5 15:11:00 pi3-dev weewx[12934]: **** 'RtldavisDriver' object has
no attribute '_log_unknown'
Apr 5 15:11:00 pi3-dev weewx[12934]: **** Traceback (most recent call
last):
Apr 5 15:11:00 pi3-dev weewx[12934]: **** File
"/usr/share/weewx/weewx/engine.py", line 890, in main
Apr 5 15:11:00 pi3-dev weewx[12934]: **** engine.run()
Apr 5 15:11:00 pi3-dev weewx[12934]: **** File
"/usr/share/weewx/weewx/engine.py", line 188, in run
Apr 5 15:11:00 pi3-dev weewx[12934]: **** for packet in
self.console.genLoopPackets():
Apr 5 15:11:00 pi3-dev weewx[12934]: **** File
"/usr/share/weewx/user/rtldavis.py", line 960, in genLoopPackets
Apr 5 15:11:00 pi3-dev weewx[12934]: **** elif self._log_unknown
and lines:
Apr 5 15:11:00 pi3-dev weewx[12934]: **** AttributeError:
'RtldavisDriver' object has no attribute '_log_unknown'
Apr 5 15:11:00 pi3-dev weewx[12934]: **** Exiting.
commented out lines 960 & 961 , now it runs.
# elif self._log_unknown and lines:
# loginf("missed (unparsed): %s" % lines)
Thanks
Paul
On Friday, April 5, 2019 at 9:38:16 AM UTC-4, [email protected] wrote:
>
> To all,
>
> New release of weewx-rtldavis driver
>
> See: https://github.com/lheijst/weewx-rtldavis
>
> Release notes rtldavis.py v0.11
>
> - fixed: self.rain_per_tip is now 0.254 inch for bucket_type 0;
> thanks to Paul Anderson for detecting this bug
> - cleaned up coding
> - removed parameters log_unknown_sensors and log_unmapped_sensors
> - added parameter save_pct_good_per_transmitter; default is False
> - saving frequency errors of first 5 frequencies now limited to EU band
> - pct_good of transmitter 1 is not saved when we have only one transmitter
> because pct_good_0 is the same as pct_good_all
> - the mapping of pct_good per channel is now controlled by the
> DEFAULT_SENSOR_MAP
> note: the mapping of pct_good_all remains hardcoded mapped to
> rxCheckPercent
> - added debug logging for raw humidity data; default: no logging
>
> Again, thanks to Paul Anderson and Rich T for testing!
>
> Luc
>