I lost my mind trying to get this right but I think I'm happy now with
these two graphs. One works better for shorter periods of time the other
works better for longer periods of time where the first has trouble.

Here's a screenshot of how I have mine set up. This is in week view. For
day, yesterday, 24 hour I use the first one you see here. At week view I
use them both and month and year I use the second one in this screenshot
that just does total strikes. That's my set up anyway. I'm going to check
out the ones everyone else shared here.

[image: lightning graphs.JPG]

Here is the configuration


    [[chart7]]
        title = Lightning
        [[[lightning_strike_count]]]
            yAxis = 0
            yAxis_min = 0
            yAxis_tickInterval = 1
            yAxis_label = "Number of Strikes"
            stacking = normal
            color = "orange"
            lineWidth = 0
            [[[[marker]]]]
                enabled = true
                radius = 4
            [[[[states]]]]
                [[[[[hover]]]]]
                        lineWidthPlus = 0
        [[[lightning_distance]]]
            yAxis = 1
            yAxis_min = 0
            yAxis_label = "Distance (miles)"
            stacking = normal
            color = "#6FE7FB"
            lineWidth = 0
            [[[[marker]]]]
                enabled = true
                radius = 3
            [[[[states]]]]
                [[[[[hover]]]]]
                        lineWidthPlus = 0

[[chart8]]
title = Lightning Total
        [[[lightning_strike_count]]]
            name = Lightning Count
            observation_type = lightning_strike_count
            type = column
            stacking = normal
aggregate_type = sum



On Tue, Jun 20, 2023 at 5:49 PM Mark Fraser <[email protected]> wrote:

> On 20/06/2023 14:30, Dan Roman wrote:
>
> Thanks Mark, I will give it a try and add it to my graphs to see if it
> works with Weatherflow.
>
> Were you able (or did you try) to add a last 3 hours lightning count to
> the Belchertown main page, for example, "Lightning count last 3 hours: 15"?
>
> That's one of the things that Alex and I were trying to accomplish as well.
>
> Dan
>
> On Tuesday, June 20, 2023 at 6:05:47 AM UTC-4 Mark Fraser wrote:
>
> I currently have this in graphs.conf to show lightning strikes over the
> past 3 hours and it works:
>
> [[Lightning_chart]]
> title = Lightning (Last 3 Hours)
> time_length = 10800
> aggregate_interval = 300
> gapsize = 108000
> type = column
>
> [[[lightning_strike_count]]]
> name = Lightning Count
> zIndex = 1
> aggregate_type = sum
>
> Except that:
> user.belchertown: Observation lightning_strike_count is using unit count
> that returns %d for StringFormat, rather than float point decimal format
> value - using 0 as rounding
> Is showing in the system log.
>
> Dan,
>
> I haven't got that far with it yet, only installed the skin a few weeks
> ago.  I have managed to create a couple more 1 line observations similar to
> rain & rain rate so that the inside temp & humidity are on 1 line, same
> with UV index & radiation.
>
> Still need to figure out what to do with luminosity - it was added to
> units.py in 1 commit and then removed a little while later and how to
> rename the battery statuses from "batteryStatus1" to something meaningful.
>
>
> Mark.
>
> --
> 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/9368fe1c-b65f-f291-8cc9-479cfde041c6%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/9368fe1c-b65f-f291-8cc9-479cfde041c6%40gmail.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/CAG3iCAyiw79VXya%2BzCnvViBvZ8S6eyuH%3D_2Z7fo%3D3bdm-40ShA%40mail.gmail.com.

Reply via email to