If you're looking at the lightning charts that I'm doing on my homepage
<https://belchertownweather.com/go/belchertown>, add something like this to
your homepage's graph group inside graphs.conf
[[lightninggroupby]]
title = Lightning Strikes This Year
yAxisLabel = ""
time_length = year
xaxis_groupby = month
xaxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
[[[lightning_strikes]]]
name = Lightning Count
type = column
yAxisLabel = Lightning Count
[[[avg_distance]]]
name = Average Distance (mi)
type = column
aggregate_interval = 300 # 5 minutes
aggregate_type = avg
yAxis = 1
yAxisLabel = Average Distance (mile)
On Sunday, August 18, 2019 at 8:19:01 AM UTC-4, Ron Sell wrote:
>
> I got the lightening to work. How do I get it to run for the year on the
> homepage?
> Thanks Ron
>
> On Fri, Aug 16, 2019, 6:31 PM rich T <[email protected] <javascript:>>
> wrote:
>
>> In the graphs.conf file add
>>
>> [homepage]
>>
>> .....
>>
>> [[Lightning_chart]]
>> title = Lightning (Last 3 Hour)
>> time_length = 10800
>> aggregate_interval = 300
>> gapsize = 108000
>> type = column
>>
>> [[[lightning_strikes]]]
>> name = Lightning Count
>> zIndex = 1
>> aggregate_type = sum
>>
>> Ensure the DB to contains the lightning fields, if not the db needs to
>> extended.
>> https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
>>
>> On Friday, August 16, 2019 at 3:15:20 PM UTC-4, Ron Sell wrote:
>>>
>>> Is there a way to show the lightning strikes? I was looking to add
>>> chart.
>>>
>>> thanks
>>>
>>> On Saturday, 1 June 2019 12:57:56 UTC-4, Pat wrote:
>>>>
>>>> Belchertown skin 1.0 is released!
>>>>
>>>> This update contains a lot of updates and changes including *an entire
>>>> rewrite of the Highcharts system* which allows you to make almost any
>>>> graph you want for almost any time span you want. You can see some
>>>> examples
>>>> of the charts you can make on the BelchertownWeather.com website
>>>> graphs page <https://belchertownweather.com/graphs/?graph=all>.
>>>>
>>>> You can add/remove/change/reorder any chart, change colors, add
>>>> observation plots, categorize for all time. Almost anything you want to do
>>>> is available! The skin comes with the standard 4 charts ready to go, but
>>>> there's extensive Belchertown Charts Documentation
>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation>
>>>>
>>>> which can help you get started.
>>>>
>>>> In addition to the Charts there's now a dark mode (which has an
>>>> auto-switching mode based on sunset/sunrise), more flexibility for
>>>> translations, user customized station observation table which is updated
>>>> in
>>>> real time if the MQTT Websockets are enabled, and a lot more. Check the
>>>> release notes for all the details!
>>>>
>>>> You can download the latest release here
>>>> <https://github.com/poblabs/weewx-belchertown/releases/download/weewx-belchertown-1.0/weewx-belchertown-release-1.0.tar.gz>,
>>>>
>>>> and read all of the details on the changes here:
>>>> https://github.com/poblabs/weewx-belchertown/releases
>>>>
>>>> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must
>>>> uninstall everything and reinstall new. This is due to the Chart system
>>>> being fully rewritten and the potential for conflicts. Please read
>>>> this upgrade guide if you are upgrading from an older version of
>>>> Belchertown skin
>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Upgrading-to-Belchertown-skin-1.0>
>>>> .
>>>>
>>>> Thanks to all the beta testers and translators over the last couple of
>>>> months help me iron out all the kinks and shape the skin in a way that can
>>>> be translated a little easier!
>>>>
>>>> Attached are some examples of the charts that can be made. If you find
>>>> any issues, you can reply here or open an issue on the Belchertown
>>>> skin GitHub page <https://github.com/poblabs/weewx-belchertown>.
>>>>
>>> --
>> 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] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/a739410a-8058-4d25-b952-eae78ea4b542%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/a739410a-8058-4d25-b952-eae78ea4b542%40googlegroups.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/575684f6-2b57-432e-903d-b1d7268cb202%40googlegroups.com.