Davis Vantage driver : stormRain and stormStart

69 views
Skip to first unread message

Jacques Terrettaz

unread,
Feb 24, 2019, 6:07:15 AM2/24/19
to weewx-user
Hello,

I am trying to obtain the stormRain and stormStart values  sent by the Davis Vantage.

The tag $current.stormRain seems to work ( there is no rain episode right now but the value returned is 0.0), but the tag $current.stormStart returns "?'stormStart'?".

Thanks for your help




gjr80

unread,
Feb 24, 2019, 6:21:30 AM2/24/19
to weewx-user
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

Thomas Keffer

unread,
Feb 24, 2019, 7:29:47 AM2/24/19
to weewx-user
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 to track.

This is an easy one to fix, should some noob want to take it on!

-tk



--
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.
For more options, visit https://groups.google.com/d/optout.

Tom Robertson

unread,
Feb 24, 2019, 9:06:43 AM2/24/19
to weewx...@googlegroups.com

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

Jacques Terrettaz

unread,
Feb 24, 2019, 10:19:58 AM2/24/19
to weewx...@googlegroups.com
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 

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.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages