Page 1 of 2

Lightning distance

Posted: Sat 02 Oct 2021 12:54 pm
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.

Re: Lightning distance

Posted: Sat 02 Oct 2021 2:15 pm
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?

Re: Lightning distance

Posted: Sat 02 Oct 2021 6:23 pm
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

Re: Lightning distance

Posted: Sat 02 Oct 2021 9:09 pm
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.

Re: Lightning distance

Posted: Sat 02 Oct 2021 11:16 pm
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?

Re: Lightning distance

Posted: Sat 02 Oct 2021 11:18 pm
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

Re: Lightning distance

Posted: Sun 03 Oct 2021 9:25 pm
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.

Re: Lightning distance

Posted: Sun 03 Oct 2021 9:50 pm
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 ..

Re: Lightning distance

Posted: Sun 03 Oct 2021 10:06 pm
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.

Re: Lightning distance

Posted: Sun 03 Oct 2021 10:11 pm
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.

Re: Lightning distance

Posted: Sun 03 Oct 2021 10:37 pm
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 !!

Re: Lightning distance

Posted: Wed 11 May 2022 11:22 am
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.

Re: Lightning distance

Posted: Wed 11 May 2022 1:41 pm
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,

Re: Lightning distance

Posted: Wed 11 May 2022 2:53 pm
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.

Re: Lightning distance

Posted: Wed 11 May 2022 5:24 pm
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