Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Lightning distance

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Lightning distance

Post by Mapantz »

I have just upgraded to the latest CMX version, and lightning distance (for the last strike) is now -1.0

The date and time values were retained.
Image
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Lightning distance

Post by mcrossley »

Have a look in the backup files for when you started the new version, does the today.ini file have a "good" value for Distance?
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Lightning distance

Post by Mapantz »

Hi Mark

Yep - a back up has the correct distance value

Backup today.ini:

Code: Select all

[Lightning]
Distance=21.126614
LastStrike=2021-09-08T09:44:38
Current today.ini:

Code: Select all

[Lightning]
Distance=-1
LastStrike=2021-09-08T09:44:38
Image
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Lightning distance

Post by Phil23 »

It's always been in the back of my mind as to how Blitzortung data could be intergrated into CMX at a very basic level.

As a station operator, I can configure email alerts, but have no idea yet if there is any other api data available.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Lightning distance

Post by mcrossley »

Mapantz wrote: Sat 02 Oct 2021 6:23 pm Hi Mark

Yep - a back up has the correct distance value
That's strange, MX definitely reads both values on start-up. Does it work now if you stop MX, add back the correct distance into today.ini and restart?
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Lightning distance

Post by mcrossley »

Phil23 wrote: Sat 02 Oct 2021 9:09 pm As a station operator, I can configure email alerts, but have no idea yet if there is any other api data available.
The lightning distance and time are available as web tags for you to process via files, or via the tag API - https://cumuluswiki.org/a/Cumulus_MX_Local_API
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Lightning distance

Post by Phil23 »

mcrossley wrote: Sat 02 Oct 2021 11:18 pm
Phil23 wrote: Sat 02 Oct 2021 9:09 pm As a station operator, I can configure email alerts, but have no idea yet if there is any other api data available.
The lightning distance and time are available as web tags for you to process via files, or via the tag API - https://cumuluswiki.org/a/Cumulus_MX_Local_API
Sorry Mark,
My statement was a bit unclear.

I was referring to me owning a Blitzortung Detector.
I know there is nothing available in terms of API's from the device it's self.

But they do have some user webpages available.
That & the email alerts which are configured by a threshold distance.

Just making the comment, not suggesting that the platform should be supported.

Cheers

Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Lightning distance

Post by beteljuice »

@Phil

Blitzortung positively frown on anyone accessing what they consider their data. Which is sort of understandable as they process it to get 'positive' results.

However ...
... They then do allow registered participants to access the data, although if it used eg. on a web page then you must create your own cache files and give attribution.

A sort of explanation and incomplete examples code are here: https://www.blitzortung.org/en/compendium.php

You would most likely be interested in the 'Stations' folder ..
Image
......................Imagine, what you will KNOW tomorrow !
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Lightning distance

Post by Phil23 »

beteljuice wrote: Sun 03 Oct 2021 9:50 pm They then do allow registered participants to access the data, although if it used eg. on a web page
This about all I have to date.

http://weather.inverellit.com/bt/

Cheers.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Lightning distance

Post by Phil23 »

Catch also is My station is discarded when Lightning gets close.

I then rely on other stations & the email notification.
LightningMaps.org Alert <noreply@lightningmaps.org>
Tue, 28 Sept, 13:48 (6 days ago)
to me

The following information was automatically determined and send to you by lightningmaps.org. No guarantee!

Examined time range : 2021-09-28 01:14:00 UTC - 2021-09-28 01:20:24 UTC
Stroke count : 10
Distance : 192 km (NNW)
First stroke : 01:14:28
Last stroke : 01:19:20
Think that email might be set at 200km threshold.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Lightning distance

Post by beteljuice »

determined and send to you by lightningmaps.org
Blitzortung make a specific comment that lightningmaps.org does NOT have any arrangement with them, nor any kind of privileged knowledge for data access.
i.e. If Blitzortung change a few rules or var names, bye bye lightningmaps info !!
Image
......................Imagine, what you will KNOW tomorrow !
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Lightning distance

Post by Mapantz »

Lightning distance disappeared and reset to -1, but the date and time remained.

I also just upgraded to the latest version of CMX, so I thought I'd put the correct distance back in to the today.ini, but it doesn't save it.

I remember then the GW1000 used to reset the values if it was rebooted, but it would also reset the date and time of the last strike, the same as the last distance.
Image
User avatar
meteo19
Posts: 89
Joined: Tue 03 May 2016 8:13 pm
Weather Station: Davis VP2+/DP1500 SmartHub
Operating System: Microsoft Windows 7 Pro
Location: Ségur-Le-Château, France
Contact:

Re: Lightning distance

Post by meteo19 »

Hello Mapantz

I encountered the same problem with DP1500 SmartHub the auto update of the firmware fixed the issue just to report.
On the other hand I just looked at your site how do you to calculate the number of days since the last impact.
Sorry for my very bad English.

Best regards,
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Lightning distance

Post by mcrossley »

Mapantz wrote: Wed 11 May 2022 11:22 am Lightning distance disappeared and reset to -1, but the date and time remained.

I also just upgraded to the latest version of CMX, so I thought I'd put the correct distance back in to the today.ini, but it doesn't save it.

I remember then the GW1000 used to reset the values if it was rebooted, but it would also reset the date and time of the last strike, the same as the last distance.
The only place a distance value of -1 comes from is reading the today.ini file and a value is not found, are you sure you entered it correctly?

I *think* the station sends a value 255 when it has been reset there, and CMX ignores that value.

EDIT PS: It's both sad and a reminder to see a beteljuice post on this page.
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Lightning distance

Post by Mapantz »

I have tried multiple times to save the ini, but it defaults back to -1.
2022-05-11 18:20:09.067 ProcessExtraData: Payload = PASSKEY=<PassKey>&stationtype=GW1000_V1.7.2&runtime=22021&dateutc=2022-05-11+17:20:08&tempinf=62.42&humidityin=67&baromrelin=29.858&baromabsin=29.890&tempf=67.46&humidity=50&winddir=334&windspeedmph=7.16&windgustmph=14.76&maxdailygust=33.11&solarradiation=106.39&uv=0&rainratein=0.000&eventrainin=0.138&hourlyrainin=0.000&dailyrainin=0.213&weeklyrainin=0.220&monthlyrainin=0.228&yearlyrainin=7.874&temp2f=68.18&humidity2=64&temp3f=73.58&humidity3=63&soilmoisture1=52&pm25_ch1=13.0&pm25_avg_24h_ch1=19.3&lightning_num=0&lightning=&lightning_time=&wh68batt=1.82&wh26batt=0&batt2=0&batt3=0&soilbatt1=1.8&pm25batt1=4&wh57batt=4&freq=433M&model=GW1000
2022-05-11 18:20:09.095 ApplyExtraData: StationType = GW1000_V1.7.2, Model = GW1000, Frequency = 433MHz
No values in there
Image
Post Reply