It's not an unreasonable thing to calculate (although, perhaps not on every LOOP packet). The V4 version of StdWXCalculate is extensible, so you can add it if you want, but you'd have to provide the algorithm.
See the Wiki article *Proposal for user-defined types <https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types>*. -tk On Sat, Mar 7, 2020 at 2:12 AM Lucas Heijst <[email protected]> wrote: > Tom, > > The value of dayRain isn't used in any skin. > It is used in meteotemplate.py where the value of dayRain is multiplied by > 10 to convert cm to mm. > > It was listed under [StdWXCalculate]: > > [StdWXCalculate] > ... > [[Calculations]] > ... > dayRain = software > > I can't remember why I have put it there. > I guess the earlier versions of weewx didn't have debug logging to report > this. > I have removed the setting in [StdWXCalculate] and all is working fine now. > > Thanks for your help.. > > Luc > > On Friday, 6 March 2020 14:04:49 UTC-3, Lucas Heijst wrote: >> >> Tom, >> >> For several months I runned succesful weewx version 4.0.0a4 with raspbian >> stretch on a raspberry Pi 2B. >> >> Today I installed from scratch raspbian buster lite (2020-02-13) and >> weewx version 4.0.0b14. >> >> With each loop message I now get a debug message: >> DEBUG weewx.wxservices: Unknown extensible type 'dayRain' >> >> Any clues what causes this? >> >> Luc >> > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/29e0e29a-99bd-48e1-91ec-6ea05829a6b1%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/29e0e29a-99bd-48e1-91ec-6ea05829a6b1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zECP%3Di8AeL6Hchz0B%3D%2BLQ%3DVYEmKXWPK37CTnsHVbOtKC-w%40mail.gmail.com.
