Davis Vantage Pro 2 no cloudbase reading

53 views
Skip to first unread message

Constantine Samaklis

unread,
Jun 29, 2020, 6:52:45 AM6/29/20
to weewx-user
Hi,

My Davis Vantage Pro 2 has stopped reporting cloudbase readings. Stopping weewx and running weewxd confirms as per below loop:

LOOP:   2020-06-29 06:49:05 EDT (1593427745) altimeter: 29.799844642173294, barometer: 29.793, consBatteryVoltage: 4.2, dateTime: 1593427745, dayET: 0.0, dayRain: 0.0, dewpoint: 66.4241691277547, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 3, forecastRule: 192, heatindex: 72.6, inDewpoint: 45.16123986940858, inHumidity: 54.0, insideAlarm: 0, inTemp: 62.0, leafWet4: 0.0, monthET: 0.0, monthRain: 1.89, outHumidity: 81.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 72.6, pressure: 29.701380980145647, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.06, stormStart: 1593316800, sunrise: 1593423984.0, sunset: 1593478080.0, txBatteryStatus: 0, usUnits: 1, windchill: 72.6, windDir: None, windGust: 0.0, windGustDir: None, windSpeed: 0.0, windSpeed10: 0.0, yearET: 0.0, yearRain: 14.08

Any ideas on how to resolve this? 

Thanks,

gjr80

unread,
Jun 29, 2020, 7:02:18 AM6/29/20
to weewx-user
Hi,

Would help to see a startup log extract. Could you restart WeeWX and once WeeWX is running take a log extract showing the entire startup through until the first archive record is save to database. Post the log extract here.

Gary

Constantine Samaklis

unread,
Jun 29, 2020, 5:59:10 PM6/29/20
to weewx-user
Not sure if this is any help but nonetheless here you go. (I have just taken out personal weather station info)

Jun 29 17:53:48 raspberrypi weewx[25047] INFO __main__: Initializing weewx version 4.1.1
Jun 29 17:53:48 raspberrypi weewx[25047] INFO __main__: Using Python 3.7.3 (default, Dec 20 2019, 18:57:59) #012[GCC 8.3.0]
Jun 29 17:53:48 raspberrypi weewx[25047] INFO __main__: Platform Linux-4.19.118-v7l+-armv7l-with-debian-10.4
Jun 29 17:53:48 raspberrypi weewx[25047] INFO __main__: Locale is 'en_US.UTF-8'
Jun 29 17:53:48 raspberrypi weewx[25047] INFO __main__: PID file is /var/run/weewx.pid
Jun 29 17:53:48 raspberrypi weewx[25051] INFO __main__: Using configuration file /home/weewx/weewx.conf
Jun 29 17:53:48 raspberrypi weewx[25051] INFO __main__: Debug is 1
Jun 29 17:53:48 raspberrypi weewx[25051] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: StdConvert target unit is 0x1
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.wxservices: The following values will be calculated: pressure=prefer_hardware, barometer=prefer_hardware, altimeter=prefer_hardware, windchill=prefer_hardware, heatindex=prefer_hardware, dewpoint=prefer_hardware, inDewpoint=prefer_hardware, rainRate=prefer_hardware
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.wxservices: The following algorithms will be used for calculations: altimeter=aaASOS, maxSolarRad=RS
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: Archive will use data binding wx_binding
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: Record generation will be attempted in 'hardware'
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.restx: StationRegistry: Station will be registered.
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.restx: Wunderground-RF: Data for station XXXXXXX will be posted
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.restx: PWSweather: Posting not enabled.
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.restx: CWOP: Data for station XXXXXXX will be posted
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.restx: WOW: Posting not enabled.
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.restx: AWEKAS: Posting not enabled.
Jun 29 17:53:49 raspberrypi weewx[25051] INFO user.mqtt: service version is 0.23
Jun 29 17:53:49 raspberrypi weewx[25051] INFO user.mqtt: binding to loop
Jun 29 17:53:49 raspberrypi weewx[25051] INFO user.mqtt: topic is weather
Jun 29 17:53:49 raspberrypi weewx[25051] INFO user.mqtt: desired unit system is METRIC
Jun 29 17:53:49 raspberrypi weewx[25051] INFO user.mqtt: data will be uploaded to mqtt://weewx:xxx@localhost:1883/
Jun 29 17:53:49 raspberrypi /weewxd: alarm: Alarm set for expression: 'outTemp < 32.0 or outTemp > 95.0 or windchill < 14.0 or heatindex > 100.4'
Jun 29 17:53:49 raspberrypi weewx[25051] INFO __main__: Starting up weewx version 4.1.1
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: Clock error is 0.73 seconds (positive is fast)
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx'
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.manager: Starting backfill of daily summaries
Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.engine: Starting main packet loop.
Jun 29 17:55:16 raspberrypi weewx[25051] INFO weewx.manager: Added record 2020-06-29 17:55:00 EDT (1593467700) to database 'weewx'
Jun 29 17:55:16 raspberrypi weewx[25051] INFO weewx.manager: Added record 2020-06-29 17:55:00 EDT (1593467700) to daily summary in 'weewx'
Jun 29 17:55:16 raspberrypi weewx[25051] INFO weewx.restx: CWOP: Published record 2020-06-29 17:55:00 EDT (1593467700)
Jun 29 17:55:17 raspberrypi weewx[25051] INFO weewx.restx: StationRegistry: Published record 2020-06-29 17:55:00 EDT (1593467700)
Jun 29 17:55:19 raspberrypi weewx[25051] INFO weewx.cheetahgenerator: Generated 14 files for report StandardReport in 3.01 seconds
Jun 29 17:55:20 raspberrypi weewx[25051] INFO weewx.imagegenerator: Generated 12 images for report StandardReport in 0.63 seconds
Jun 29 17:55:20 raspberrypi weewx[25051] INFO weewx.reportengine: Copied 14 files to /home/weewx/../../var/log/public_html

gjr80

unread,
Jun 29, 2020, 6:09:51 PM6/29/20
to weewx-user
Ok, here is the clue:

Jun 29 17:53:49 raspberrypi weewx[25051] INFO weewx.wxservices: The following values will be calculated: pressure=prefer_hardware, barometer=prefer_hardware, altimeter=prefer_hardware, windchill=prefer_hardware, heatindex=prefer_hardware, dewpoint=prefer_hardware, inDewpoint=prefer_hardware, rainRate=prefer_hardware

StdWXCalculate is not set to calculate cloudbase for some reason (cloudbase is usually calculated by WeeWX not the station/driver). Have a look at [StdWXCalculate] [[Calculations]] in weewx.conf, is there any entry for cloudbase? If not add one, something like:

cloudbase = prefer_hardware

Save weewx.conf and restart WeeWX (probably easiest to check at first by running WeeWX directly). If a cloudbase entry does exist please post a copy of your [Calculations] stanza.

Gary

Constantine Samaklis

unread,
Jun 29, 2020, 6:20:18 PM6/29/20
to weewx-user
First off, thanks cause that worked :-) 
I do keep a copy of all my weewx.conf in svn and my Calculations section had not changed, which is odd...
This is what I had before adding the line you suggested:

Capture.PNG

gjr80

unread,
Jun 29, 2020, 6:24:39 PM6/29/20
to weewx-user
Hmm, can’t explain why it worked before. cloudbase was added to [[Calculations]] later than the other obs, so that suggests upgrading of an earlier version could be the cause. But that does not explain it working previously.

Second seemingly unexplained config change to come up today.

Gary
Reply all
Reply to author
Forward
0 new messages