rxCheckPercent always zero and number of wind samples

87 views
Skip to first unread message

Hyrules

unread,
May 2, 2020, 11:11:31 AM5/2/20
to weewx-user
Hi everyone,

I have a vantage pro 2 and was wondering what might be the issue of the following my rc_CheckPercent is always at zero. I have a point in my sql data when I temporarily got some value but at the moment it's zero. This is happening in Weewx 4.0 but was also happening in Weewx 3.9.x
Also is it possible to get the number of wind sample ? The skin that i'm creating requires it and i have hard time finding any info on it in the documentation.

Anyone has any input.

Thanks,

Tom Keffer

unread,
May 2, 2020, 11:29:45 AM5/2/20
to weewx-user
A few more details, please

1. By "rc_CheckPercent" I assume you mean "rxCheckPercent"?

2. You said you have "a point in my sql data" where you got some value. Does this mean you checked the database (using some sort of SELECT) statement?

3. If you run weewxd from the command line, what values do you see for rxCheckPercent?

4. If you run the command "wee_device --info", what do you get? In particular, what does it list for "CONSOLE TYPE"?

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/db059f47-103e-406c-a342-7bddf07ec536%40googlegroups.com.

Hyrules

unread,
May 2, 2020, 12:01:49 PM5/2/20
to weewx-user
Hi Tom,

1) yes sorry exactly.

2) yes with heidi sql I have explored the database. made a select on the archive_day_rxCheckPercent table.

3) Here is the output of a loop and a record.

REC:    2020-05-02 11:58:00 EDT (1588435080) altimeter: 29.9361792613, appTemp: 56.9873572311, bar_calibration: -0.032, barometer: 29.9380645161, bar_reduction: 0.002, cloudbase: 5220.57597677, consBatteryVoltage: None, dateTime: 1588435080, dayET: 0.0, dayRain: 0.0, dewpoint: 39.4244525587, ET: None, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 0.0, extraAlarm8: 0.0, forecastIcon: 6.0, forecastRule: 45.0, heatindex: 60.3258064516, hourRain: 0.0, humidex: 61.7387096774, inDewpoint: 46.0149745351, inHumidity: 48.0, insideAlarm: 0.0, inTemp: 66.3, interval: 1, leafWet4: 0.0, maxSolarRad: 872.308269831, monthET: 0.0, monthRain: 0.29, outHumidity: 44.1612903226, outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 61.7387096774, pressure: 29.708654238, pressure_raw: 29.7080625, rain: 0.0, rain15: 0.0, rain24: 0.01, rainAlarm: 0.0, rainRate: 0.0, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 0.0, sunrise: 1588414608.0, sunset: 1588465056.0, trendIcon: -20.0, txBatteryStatus: None, usUnits: 1, windchill: 61.8741935484, windDir: 207.502892677, windGust: 8.0, windGust10: 0.8, windGustDir: 138.0, windGustDir10: 225.0, windrun: 0.0731182795699, windSpeed: 4.38709677419, windSpeed10: 3.2, windSpeed2: 4.7, yearET: 0.0, yearRain: 8.07
LOOP
:   2020-05-02 11:58:17 EDT (1588435097) altimeter: 29.9393849737, appTemp: 56.2444565315, barometer: 29.939, cloudbase: 5111.7782065, consBatteryVoltage: 4.54, dateTime: 1588435097, dayET: 0.0, dayRain: 0.0, dewpoint: 40.2321758914, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 45, heatindex: 61.8, humidex: 61.8, inDewpoint: 46.0149745351, inHumidity: 48.0, insideAlarm: 0, inTemp: 66.3, leafWet4: 0.0, maxSolarRad: 873.09899593, monthET: 0.0, monthRain: 0.29, outHumidity: 45.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 61.8, pressure: 29.7102273392, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1588414608.0, sunset: 1588465056.0, txBatteryStatus: 0, usUnits: 1, windchill: 61.8, windDir: 218.0, windGust: 8.0, windGustDir: 267.0, windSpeed: 6.0, windSpeed10: 3.0, yearET: 0.0, yearRain: 8.07
LOOP
:   2020-05-02 11:58:18 EDT (1588435098) altimeter: 29.935, appTemp: 56.2444565315, bar_calibration: -0.032, barometer: 29.939, bar_reduction: 0.002, cloudbase: 5111.7782065, dateTime: 1588435098, dayET: 0.0, dayRain: 0.0, dewpoint: 40.0, heatindex: 59.0, hourRain: 0.0, humidex: 61.8, inDewpoint: 46.0149745351, inHumidity: 48.0, inTemp: 66.3, maxSolarRad: 873.115761147, outHumidity: 45.0, outTemp: 61.8, pressure: 29.709, pressure_raw: 29.709, rain: 0.0, rain15: 0.0, rain24: 0.01, rainRate: 0.0, stormRain: 0.0, trendIcon: -20, usUnits: 1, windchill: 62.0, windDir: 218.0, windGust: 8.0, windGust10: 0.8, windGustDir: 267.0, windGustDir10: 225.0, windSpeed: 6.0, windSpeed10: 3.2, windSpeed2: 5.0

4) Here is the output. It seems in order.
Davis Vantage EEPROM settings:

    CONSOLE TYPE
:                   Vantage Pro2

    CONSOLE FIRMWARE
:
     
Date:                         Sep 11 2017
     
Version:                      3.80

    CONSOLE SETTINGS
:
     
Archive interval:             900 (seconds)
     
Altitude:                     210 (foot)
     
Wind cup type:                large
     
Rain bucket type:             0.01 inches
     
Rain year start:              1
     
Onboard time:                 2020-05-02 11:40:22

    CONSOLE DISPLAY UNITS
:
     
Barometer:                    mbar
     
Temperature:                  degree_10C
     
Rain:                         mm
     
Wind:                         km_per_hour

    CONSOLE STATION INFO
:
     
Latitude (onboard):           +45.5
     
Longitude (onboard):          -75.6
     
Use manual or auto DST?       AUTO
      DST setting
:                  N/A
     
Use GMT offset or zone code?  ZONE_CODE
     
Time zone code:               10
      GMT offset
:                   N/A
     
Temperature logging:          LAST
     
Retransmit channel:           OFF (0)

    TRANSMITTERS
:
     
Channel   Receive   Repeater  Type
         
1      inactive    none    (N/A)
         
2      inactive    none    (N/A)
         
3      inactive    none    (N/A)
         
4      inactive    none    (N/A)
         
5      inactive    none    (N/A)
         
6      inactive    none    (N/A)
         
7      active      none    iss
         
8      inactive    none    (N/A)

    RECEPTION STATS
:
     
Total packets received:       14085
     
Total packets missed:         185
     
Number of resynchronizations: 3
     
Longest good stretch:         606
     
Number of CRC errors:         61

    BAROMETER CALIBRATION DATA
:
     
Current barometer reading:    29.947 inHg
     
Altitude:                     210 feet
     
Dew point:                    40 F
     
Virtual temperature:          48 F
     
Humidity correction factor:   1.7
     
Correction ratio:             1.008
     
Correction constant:          +0.000 inHg
     
Gain:                         0.000
     
Offset:                       -32.000

    OFFSETS
:
     
Wind direction:               +0 deg
     
Inside Temperature:           +0.1 F
     
Inside Humidity:              +0 %
     
Outside Temperature:          +0.1 F
     
Outside Humidity:             +0 %


On Saturday, May 2, 2020 at 11:29:45 AM UTC-4, Tom Keffer wrote:
A few more details, please

1. By "rc_CheckPercent" I assume you mean "rxCheckPercent"?

2. You said you have "a point in my sql data" where you got some value. Does this mean you checked the database (using some sort of SELECT) statement?

3. If you run weewxd from the command line, what values do you see for rxCheckPercent?

4. If you run the command "wee_device --info", what do you get? In particular, what does it list for "CONSOLE TYPE"?

-tk

On Sat, May 2, 2020 at 8:11 AM Hyrules <hyr...@gmail.com> wrote:
Hi everyone,

I have a vantage pro 2 and was wondering what might be the issue of the following my rc_CheckPercent is always at zero. I have a point in my sql data when I temporarily got some value but at the moment it's zero. This is happening in Weewx 4.0 but was also happening in Weewx 3.9.x
Also is it possible to get the number of wind sample ? The skin that i'm creating requires it and i have hard time finding any info on it in the documentation.

Anyone has any input.

Thanks,

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Hyrules

unread,
May 2, 2020, 12:18:08 PM5/2/20
to weewx-user
Crap I think I have and Idea what is happening I might have flashed the cabled version firmware. Will try to reflash the wireless version because my station is wireless.

Hyrules

unread,
May 2, 2020, 1:27:44 PM5/2/20
to weewx-user
Well that's not it. I ahve reflashed with the wireless version and still not seeing the rxCheckPercent and Wind Samples

Tom Keffer

unread,
May 2, 2020, 1:35:43 PM5/2/20
to weewx-user
Are you using software record generation?

If so, weewx will not retrieve the archive record from the logger and, instead, calculates the archive record in software. The logger is what supplies the number of wind samples, so it is only available if you download an archive record.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/de51f119-74a6-4b4b-a7fb-bb8b68e3f6fe%40googlegroups.com.

Hyrules

unread,
May 2, 2020, 2:00:33 PM5/2/20
to weewx-user
That must be it. The setting record_generation was software changed it to hardware in weewx.conf. Waiting for a archive packet.


On Saturday, May 2, 2020 at 1:35:43 PM UTC-4, Tom Keffer wrote:
Are you using software record generation?

If so, weewx will not retrieve the archive record from the logger and, instead, calculates the archive record in software. The logger is what supplies the number of wind samples, so it is only available if you download an archive record.

-tk

On Sat, May 2, 2020 at 10:27 AM Hyrules <hyr...@gmail.com> wrote:
Well that's not it. I ahve reflashed with the wireless version and still not seeing the rxCheckPercent and Wind Samples

On Saturday, May 2, 2020 at 12:18:08 PM UTC-4, Hyrules wrote:
Crap I think I have and Idea what is happening I might have flashed the cabled version firmware. Will try to reflash the wireless version because my station is wireless.

On Saturday, May 2, 2020 at 11:11:31 AM UTC-4, Hyrules wrote:
Hi everyone,

I have a vantage pro 2 and was wondering what might be the issue of the following my rc_CheckPercent is always at zero. I have a point in my sql data when I temporarily got some value but at the moment it's zero. This is happening in Weewx 4.0 but was also happening in Weewx 3.9.x
Also is it possible to get the number of wind sample ? The skin that i'm creating requires it and i have hard time finding any info on it in the documentation.

Anyone has any input.

Thanks,

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Tom Keffer

unread,
May 2, 2020, 2:22:01 PM5/2/20
to weewx-user
There must have been some reason you were using software record generation. You may "fix" this, but break something else!

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/43011f58-be98-44a2-8e71-3dd1711be9bf%40googlegroups.com.

Hyrules

unread,
May 2, 2020, 3:20:08 PM5/2/20
to weewx-user

I don’t understand why I was on software generation I don’t remember why I would prefer software over hardware. I still haven’t seen a archive packet that’s really odd.

Tom Keffer

unread,
May 2, 2020, 3:47:45 PM5/2/20
to weewx-user
The Vantage loggers work very well, with one flaw: they don't get it right over daylight savings time transitions. Other than that, there's no reason not to use them.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/632b62a3-7569-4474-a798-a97946d90244%40googlegroups.com.

hyr...@gmail.com

unread,
May 2, 2020, 3:53:11 PM5/2/20
to weewx...@googlegroups.com

Never had any problem with the logger itself . I just reinstalled a fresh version of weewx 4.0 and remove every addons I had as well and skin and I still don’t get a REC when I run weewxd. Plenty of loops coming in but the logger does not seems to be pushing any records or weewx grabbing a record. I’ve been running this for at least an hour and looking at the screen. This station has nothing special. it has a USB logger and I got it about 10 years ago. Still working really well.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/k9NXJPytVyk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB8_Mwgapj%2BYLy3E41b0eXRCt_ZVHse0hEh0P8McioZhA%40mail.gmail.com.

Hyrules

unread,
May 2, 2020, 4:05:21 PM5/2/20
to weewx-user
ok we have a winner ! I used wee_device to set the interval to 1 minutes and settings the interval of archive in weewx.conf as I like it and bam ! Record coming in and rxCheckPercent populated !

Thanks for your help and time Tom. Keep up the good work.

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/k9NXJPytVyk/unsubscribe.

To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

gjr80

unread,
May 2, 2020, 7:44:53 PM5/2/20
to weewx-user
Quite possibly you had corrupt station memory, a symptom of which is that loop packets are received from the console/logger but (hardware) archive records are not. If you happen to be running with software record generation you will see no problems since WeeWX is synthesising archive records from the loop packets rather than asking the console/logger for archive records. However, when you change to hardware record generation WeeWX now asks the console/logger for an archive record but the console/logger cannot provide one (due to corrupt memory). WeeWX carries on but with no archive records being saved to archive; reports are run but with no updated data, basically the system does not update. When you look at the log it is quite evident; no records being saved but reports being run.

The usual fix is to clear the device memory with wee_device, but changing the console archive interval also clears the memory thus fixing the corrupt station memory.

Gary

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/k9NXJPytVyk/unsubscribe.

To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB8_Mwgapj%2BYLy3E41b0eXRCt_ZVHse0hEh0P8McioZhA%40mail.gmail.com.

Hyrules

unread,
May 2, 2020, 10:09:25 PM5/2/20
to weewx-user
Thanks for the clarification Gary. This seems to be exactly what was happening here. Everything seems to be in order for now thanks.

Now my only question left is : is it possible to get the number of Wind Samples sent by the weather station or do I have to calculate it from the rxCheckPercent and kinda reverse the _rxcheck function in the driver ?

gjr80

unread,
May 2, 2020, 11:05:43 PM5/2/20
to weewx-user
Interesting, there is a 'Number of wind samples' field in the archive record emitted by the console/logger but my reading of the vantage driver is that it is used to calculate rxCheckPercent but otherwise ignored. I thought the vantage driver passed on almost everything and let the user/WeeWX decide whether to use it or lose it, apparently not. One for Tom I suspect.

Gary

Tom Keffer

unread,
May 3, 2020, 7:04:44 AM5/3/20
to weewx-user
If there is a reason why I left it out, that reasons been lost to history.

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/62fb53df-2c19-49b1-bcbe-ebfe63191145%40googlegroups.com.

gjr80

unread,
May 3, 2020, 7:52:10 AM5/3/20
to weewx-user
If you give us a field name (number_of_wind_samples just doesn't seem to fit - maybe windSamples?) I will submit the PR.

Gary

Tom Keffer

unread,
May 3, 2020, 7:55:48 AM5/3/20
to weewx-user
I'm trying to use Python style names for new types, so... wind_samples?

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/40514e21-332d-4519-a6f9-05522fe24c34%40googlegroups.com.

gjr80

unread,
May 3, 2020, 8:01:41 AM5/3/20
to weewx-user
It'll do, going to look out of place though.

Gary

Tom Keffer

unread,
May 3, 2020, 8:21:41 AM5/3/20
to weewx-user
'bar_calibration'? 'bar_offset'?

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/834c7626-6f16-4c2e-a5b5-181b99b1a907%40googlegroups.com.

gjr80

unread,
May 3, 2020, 8:40:58 AM5/3/20
to weewx-user
Ah, the flood gates have opened...

Gary
'bar_calibration'? 'bar_offset'?

Hyrules

unread,
May 3, 2020, 9:43:37 AM5/3/20
to weewx-user
Thanks guys for your work I really appreciate it. Let met know if there is anything I can do to help or test.

Hyrules

unread,
May 3, 2020, 7:44:01 PM5/3/20
to weewx-user
And one last request if possible or if it already exists ? It would be nice if the $station variable in the cheetah engine would include the ISS channel use by the console and transmitter which is available in wee_device as well as the archive interval also available in the wee_device.

Thanks.
Reply all
Reply to author
Forward
0 new messages