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 On Sunday, 3 May 2020 21:04:44 UTC+10, Tom Keffer wrote: > > If there is a reason why I left it out, that reasons been lost to history. > > On Sat, May 2, 2020 at 8:05 PM gjr80 <[email protected] <javascript:>> > wrote: > >> 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 >> >> On Sunday, 3 May 2020 12:09:25 UTC+10, Hyrules wrote: >>> >>> 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 ? >>> >>> On Saturday, May 2, 2020 at 7:44:53 PM UTC-4, gjr80 wrote: >>>> >>>> Quite possibly you had corrupt station memory >>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#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 >>>> >>>> On Sunday, 3 May 2020 06:05:21 UTC+10, Hyrules wrote: >>>>> >>>>> 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. >>>>> >>>>> On Saturday, May 2, 2020 at 3:53:11 PM UTC-4, Hyrules wrote: >>>>>> >>>>>> 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. >>>>>> >>>>>> *From:* [email protected] <[email protected]> *On >>>>>> Behalf Of *Tom Keffer >>>>>> *Sent:* May 2, 2020 15:47 >>>>>> *To:* weewx-user <[email protected]> >>>>>> *Subject:* Re: [weewx-user] Re: rxCheckPercent always zero and >>>>>> number of wind samples >>>>>> >>>>>> >>>>>> >>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> On Sat, May 2, 2020 at 12:20 PM Hyrules <[email protected]> wrote: >>>>>> >>>>>> 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. >>>>>> >>>>>> >>>>>> >>>>>> On Saturday, May 2, 2020 at 2:22:01 PM UTC-4, Tom Keffer wrote: >>>>>> >>>>>> There must have been some reason you were using software record >>>>>> generation. You may "fix" this, but break something else! >>>>>> >>>>>> >>>>>> >>>>>> On Sat, May 2, 2020 at 11:00 AM Hyrules <[email protected]> wrote: >>>>>> >>>>>> 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 <[email protected]> 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 [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/de51f119-74a6-4b4b-a7fb-bb8b68e3f6fe%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/de51f119-74a6-4b4b-a7fb-bb8b68e3f6fe%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/43011f58-be98-44a2-8e71-3dd1711be9bf%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/43011f58-be98-44a2-8e71-3dd1711be9bf%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/632b62a3-7569-4474-a798-a97946d90244%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/632b62a3-7569-4474-a798-a97946d90244%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> -- >>>>>> 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 >>>>>> [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEB8_Mwgapj%2BYLy3E41b0eXRCt_ZVHse0hEh0P8McioZhA%40mail.gmail.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEB8_Mwgapj%2BYLy3E41b0eXRCt_ZVHse0hEh0P8McioZhA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/62fb53df-2c19-49b1-bcbe-ebfe63191145%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/62fb53df-2c19-49b1-bcbe-ebfe63191145%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/40514e21-332d-4519-a6f9-05522fe24c34%40googlegroups.com.
