It is true that it make no sense to expect a stormStart value when stormRain = 0 !
I have anyway added « StormStart » in the obs_group_dict of units.py, and I will wait for the next rain period. Thanks Jacques > Le 24 févr. 2019 à 15:06, Tom Robertson <[email protected]> a écrit : > > I certainly am a noob. Just ask Gary. > > Based on the “hint” from Tom I added stormStart to units.py and it seems to > work. I probably missed the boat somewhere. > > obs_group_dict = ListOfDicts({"altitude" : "group_altitude", > "cloudbase" : "group_altitude", > "cooldeg" : "group_degree_day", > . > . > . > "stormStart" : "group_time", > > > This is what I get: > Storm Rain > 5.14 in since 02/19/2019 12:00:00 AM > > -------- > Tom > > On 2/24/19, 6:29 AM, "Thomas Keffer" <[email protected] > <mailto:[email protected]> on behalf of [email protected] > <mailto:[email protected]>> wrote: > > The problem is that the unit system is unaware of stormStart, so the tag > $current.stormStart gets returned as a raw value, instead of a ValueHelper. > I've created issue #380 <https://github.com/weewx/weewx/issues/380> to track. > > This is an easy one to fix, should some noob want to take it on! > > -tk > > > > On Sun, Feb 24, 2019 at 3:21 AM gjr80 <[email protected] > <mailto:[email protected]>> wrote: >> Hi, >> >> The Vantage driver certainly decodes stormDate. I suspect you might find >> that unless there is stormRain there is no stormDate. Might be worth >> checking again when you have 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] >> <mailto:weewx-user%[email protected]>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > 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/9nf7Mfk8Yjo/unsubscribe > <https://groups.google.com/d/topic/weewx-user/9nf7Mfk8Yjo/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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]. For more options, visit https://groups.google.com/d/optout.
