I don't know exactly what you mean when you say your rain is the "amount
since last report." The field "rain" should be the amount of rain that fell
during the archive period, so perhaps that's what you're already doing.

You say, "... the Season report shows the correct rain, as reported by the
station, but sets Rain Today the same as rain."

I'm not sure what you mean by that. The "Rain Today" is the *sum* of rain
since midnight, not the rain during the current archive period. If what you
mean is that it's not the same as what is being emitted by your hardware as
"signal3" (aka "dayRain"), it should be. If not, there's something wrong in
the calculation that derives the field "rain" from "signal3".

Nevertheless, if you want to display exactly what is being emitted by your
hardware, that's simple enough. Just use $current.signal3. But, be sure
your hardware is emitting what you think it's emitting. Is it "rain since
midnight"? Or, "rain over the last 24 hours"?

Final comment: to avoid confusing yourself, why not just use the field name
"dayRain" instead of "signal3"? I know it's not in the database, but new
fields are super easy to add:

wee_database --add-column=dayRain


-tk

On Fri, Sep 29, 2023 at 4:38 PM Craig Young <[email protected]>
wrote:

> My station (hardware) sends both rain (amount since last report) and daily
> rain (accumulates rain).  Currently I am mapping rain to rain in the
> database and daily rain to signal3 in the database because I could not find
> any 'dayRain' field.  When I run weewx the Season report shows the correct
> rain, as reported by the station, but sets Rain Today the same as rain.
> If I want the Seasons report to show the correct daily rain (from the
> hardware) where should I place it in the DB and do I need to change
> weewx.conf or skin.conf to use the value?
>
> Craig
>
> --
> 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/05844ab4-75a0-435a-a2dd-d85a5ec95d02n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/05844ab4-75a0-435a-a2dd-d85a5ec95d02n%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/CAPq0zECRyG6sm_B5werYsgAQPf5fOnr0Jn0X82e_ajBXqR2-nQ%40mail.gmail.com.

Reply via email to