I use this line in weewx.conf and it works ok with seasons skin.. you can
try it
[StdCalibrate]
[[Corrections]]
lightning_distance = lightning_distance if lightning_strike_count >
0 else None
On Sunday, August 8, 2021 at 4:09:43 AM UTC+3 [email protected] wrote:
> I several questions about data and graphing of AcuRite 06045M lightning
> detector. I am using "rtl_433" and "rtl_4233 mqtt auto discover" addons in
> home assistant to aquire data from AcuRite 06045M and MQTTSubscribeDriver
> to import data into weewx. Weewx is installed on raspberry pi. I have
> set up belchertown skin for weewx, added lightning detector count and
> distance to database and I can graph lightning count and distance using
> belchertown skin.
>
> Looking at passing thunderstorm today, I got nice uptick in lighting
> counts which correlated with decreased lightning distance (fig enclosed).
> But the lightning distance reading before the storm and after the storm
> was a steady 12.0 miles, like that is the default value when no lightning
> is being detected. I would like to remove those distracting 12-mile data
> points, since they don't contribute to the graph. I was wondering how I
> [image:
> Screenshot (9).png]can do that and why lightning distance reading goes to
> exactly 12 when there is no lightning activity.
>
> Here is my chart entry in belchertown graphs.conf file:
>
>
> [[chart5]]
> title = Lightning data
> [[[lightning_distance]]]
> name = Lightning distance
> type = scatter
> lineWidth = 0
> yAxis = 1
> mirrored_value = true
> zIndex = 1
> aggregate_interval = 900 # 15 min
> aggregate_type = avg
> color = "#00ff00"
> [[[lightning_strike_count]]]
> name = Strike count / 15 mins
> type = column
> yAxis_label = "Strikes/15min"
> aggregate_interval = 900 # 15 min
> aggregate_type = sum
> color = "#BECC00"
> tooltip_date_format = "dddd LL"
>
> I use "mirrored_value = true" for lightning distance rendering for two
> reasons, first as lightning distance decreases there is higher chance of
> approach thunderstorm (high ~ bad on chart) and second it minimizes the
> overlay of the lighting strike distance data on the lightning strike
> count.
>
> Any ideas why there is a constant 12.0 miles in distance without lightning
> activity and how can I remove the 12.0 mile values preferably easily.
>
--
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/2a08a3cd-cbaa-445e-9e99-0ff588b3a0b1n%40googlegroups.com.