Thank you so much for the pointer! I think the portion in the 
[[Corrections]] is exactly what I needed. Now to wait for some lightning!

On Saturday, April 24, 2021 at 12:57:55 PM UTC-5 tarob...@gmail.com wrote:

> From my understanding, when graphs are being generated they are read from 
> the weewx database (weewx.sdb if SQlite). The issue you are describing 
> sounds like an issue with how the data is stored in the database and not 
> with how Belchertown is graphing. I had similar issue when I first started 
> collecting lightning data using an acurite lightning sensor. See: 
> https://groups.google.com/g/weewx-user/c/xBihBm0jVls/m/J06dlCjlAAAJ for 
> more info. This might help you.
>
> On Friday, April 23, 2021 at 4:00:38 PM UTC-4 Alan Bryant wrote:
>
>> Forgot to add the graph code so that you guys don't have to go look it up.
>>
>>             title = Lightning
>>               [[[lightning_strike_count]]]
>>                  name = Number of strikes
>>                  color = "#ffc83f"
>>               [[[lightning_distance]]]
>>                   name = Distance to Strike
>>                   color = "#f7f2b4"
>>                   y_label = "km" 
>>
>> On Friday, April 23, 2021 at 2:59:48 PM UTC-5 Alan Bryant wrote:
>>
>>>
>>> Hello Everyone,
>>>
>>> I am a very amateur weather enthusiast, so all of this amazing software 
>>> that you guys have put together is phenomenal. Thank all of you so much for 
>>> the time that you have put in to these products and the support!
>>>
>>> I think that I have everything set up mostly how I want it, except for 
>>> the Lightning Graph on the main page.
>>>
>>> I used the code from a previous thread (
>>> https://groups.google.com/g/weewx-user/c/tunBoIOIXtI/m/dBchokefCgAJ) 
>>> that seems to work, but since the GW1000 driver enters the  
>>> lightning_distance into the DB whether there are any new strikes or not, 
>>> the distance gets graphed constantly.
>>>
>>> Is there a way with HighCharts to tell it not to graph the distance 
>>> unless there is a number of strikes > 0?
>>>
>>> Specs:
>>> Site: https://weather.bryantgeeks.com
>>> Weewx: 4.5.1
>>> Belchertown 1.3b1
>>> GW1000 Driver: 0.3.1
>>> Ecowitt GW1000
>>> WH31
>>> WS68
>>> WH57
>>> WH40
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5234bcbd-e84f-4eac-a157-301eb5fdab8dn%40googlegroups.com.

Reply via email to