The IP100 resets the day’s rain total at midnight (according to it’s clock). It doesn’t really matter to the driver when that happens. The driver is simply looking for a positive increment in day_rain_total. On a negative increment (e.g., reset), the driver just saves the last value and reports 0.0 for rain.
> On Jan 4, 2021, at 7:40 PM, tim lambert <timslamb...@comcast.net> wrote: > > > Thanks for the guidance John! I was anticipating to simply have a day with > a clean run, starting at midnight. I should have this info tomorrow. > > I assume the loop will recognize my local timezone to reset to zero at > midnight, recognizing the db is being recorded on GMT? > > Once I sort this possible discrepancy, I'd like to pick your brain on adding > the Station Volts. > > Regards, > >> On Monday, January 4, 2021 at 7:34:48 PM UTC-8 jo...@johnkline.com wrote: >> You don’t to delete records. There isn’t really much to the rain >> calculation. For all rain that occurred while WeeWX is up and running, the >> day_rain_total will increment, the driver will calculate the delta and add >> it to the loop record as ‘rain’. For the discrepancy to occur, 0.09 inches >> would have had to happen while WeeWX wasn’t running. >> >> Let’s try a day where WeeWX has been running, uninterrupted, since midnight. >> >>>> On Jan 4, 2021, at 7:27 PM, tim lambert <timsl...@comcast.net> wrote: >>>> >>> >> >>> Thanks for the quick response John! >>> >>> I am running your version of the IP100 for weewx 4 - version 0.5 >>> >>> I did restart the weewx today -- had some network issues, compliments of >>> Comcast. However, I've witnessed discrepancies between the IP100 Console >>> and weewx for several days -- just finally had a chance to get some data >>> captures. I may need to capture data again tomorrow (knowing it will be >>> raining buckets again). >>> >>> At this point in time: >>> >>> IP100 >>> weewx >>> Rainfall 0.06 >>> 0.15 >>> Rain Rate 0.00 >>> 0.00 >>> >>> Can I truncate (delete all records) from the weewx.sdb (after backing up of >>> course) to start fresh, so that we have a solid baseline to evaluate? >>> >>>> On Monday, January 4, 2021 at 7:06:51 PM UTC-8 jo...@johnkline.com wrote: >>>> Station volts is not in the default map. It wouldn’t be hard to add. >>>> >>>> I did the IP100 port to WeeWX 4 and fixed bugs in the driver (and bumped >>>> the version to 0.5 in my fork). I’m presuming you are running it. >>>> >>>> Although I’m not currently running the driver, I did run it for almost two >>>> years and rain values ALWAYS agreed with my WeeWX instances running the >>>> CC3000 driver and talking to the same RainWise weather station. >>>> >>>> day_rain_total is used to calculate rain. It is not, in itself saved to >>>> the database. >>>> >>>> I have not downloaded your files. You’ll have to tell me if the ip100 >>>> console does not agree with the console for today’s rain and, if not, what >>>> two values you are seeing. Please list them. >>>> >>>> If you do have a discrepancy for today’s rain, please state if you >>>> restarted weewx today (or if it restarted on its own today). That would >>>> be a way to lose rainfall. >>>> >>>> >>>>>> On Jan 4, 2021, at 6:33 PM, tim lambert <timsl...@comcast.net> wrote: >>>>>> >>>>> >>>> >>>>> I recently stood up a Raspberry Pi 4 running weewx 4.2.0 with the IP-100 >>>>> v0.5 extension. It appears the IP-100 Console data does not match the >>>>> data presented via weewx (using the out-of-box index.html, which is using >>>>> the SeasonsSkin) -- particularly, the Rain and Rain Rate. I've shared >>>>> screen shots of both the IP-100 Console and the weewx html >>>>> >>>>> Based on some investigation, the log file (attached) indicates the data >>>>> which is showing on the IP-100 Console is being captured correctly, >>>>> However, looking at the archive table (attached) in the weewx.sdb, it >>>>> does not appear the data elements are being posted to the archive table >>>>> correctly - specifically day_rain_total (log) vs rain (archive table) and >>>>> rain (log) vs rainRate (archive table). >>>>> >>>>> Additionally, the station_volts (log file) are not being posted to the >>>>> archive table. >>>>> >>>>> I'm new to this world, but do have some technical bones -- any guidance >>>>> on what actions need to be taken to address the discrepancy would be >>>>> appreciated. >>>>> >>>>> Thanks in advance! >>>>> >>>>> Archive Table >>>>> >>>>> Syslog >>>>> >>>>> IP-100 Console >>>>> >>>>> weewx html page >>>> >>>>> -- >>>>> 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/c7fd8f73-fbdc-4a52-a3fc-c04e6df83889n%40googlegroups.com. >>> >>> -- >>> 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/633dc989-4be4-4a67-9645-b818367b25b6n%40googlegroups.com. > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/bb28e69f-35c5-416e-8c92-b406fb486933n%40googlegroups.com. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/25DD40E6-7E72-48B7-A102-03DF08D65D84%40johnkline.com.