Make sure you have read the section *Porting to new hardware
<file:///home/tkeffer/git/weewx/docs/customizing.htm#porting>*. In
particular, the section *Implement the driver
<file:///home/tkeffer/git/weewx/docs/customizing.htm#Implement_the_driver>*
.

LOOP packets and archive records should contain *the amount of rain that
fell* during the LOOP packet period or the archive interval, respectively,
as field "rain". This is what is put in the database. Your generated file
does not contain "rain".

In the reports that come with WeeWX, the type dayRain is not used. Nor is
it stored in the database. Instead, WeeWX *calculates* the rain since
midnight by summing up all these small contributions of field "rain". If
you don't have it, then you will get zero.


On Tue, Oct 6, 2020 at 4:11 AM Sébastien F4GQK <[email protected]> wrote:

>
>
>
> *What exactly does this mean?*
> * but I still have 0 in the cumulative rainfall *
>
> It's more that:
>
> Today's Rain  = 00 mm
> Le lundi 5 octobre 2020 à 23:08:56 UTC+2, gjr80 a écrit :
>
>> Hi,
>>
>> What exactly does this mean?
>>
>>  but I still have 0 in the cumulative rainfall
>>>
>>
>> Does this mean you are not seeing dayRain in loop packets and archive
>> records? Are you unable to use $current.dayRain in a report or is dayRain
>> not being populated in the archive? If the latter have you added dayRain to
>> your db schema? dayRain is not included in the two schemas provided with
>> WeeWX, you need to add it yourself. You should be seeing dayRain in loop
>> packets and archive records and you should be able to use $current.dayRain
>> in reports . Have you run WeeWX directly
>> <http://weewx.com/docs/usersguide.htm#Running_directly> to observe the
>> loop packets and archive records?
>>
>> If you are attempting to populate the WeeWX rain field that will require
>> some (simple) modification to the fileparse driver as WeeWX field rain is
>> incremental not cumulative.
>>
>> Sorry my French is not very good but if your site is out of the box WeeWX
>> then it uses/displays rain data derived from WeeWX field rain.
>>
>> Gary
>>
> --
> 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/9641774b-a441-4d85-8291-ab486dd0ab3an%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/9641774b-a441-4d85-8291-ab486dd0ab3an%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/CAPq0zEBi2afByyfbhvMv3SGe5AeoZr_iaMM8jOReTTF5-7vvMQ%40mail.gmail.com.

Reply via email to