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 4018) - 28 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:

Re: Lightning distance

Post by Mapantz »

meteo19 wrote: Wed 11 May 2022 1:41 pm 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,
I created a PHP webtag to show the date and time of the last strike in this format: 04:13:38 09 April 2022
I've then made a small PHP script which calculate the time since that date and time, e.g 20 seconds ago or 59 minutes ago or 19 hours ago, or 364 days ago
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 »

I created a PHP webtag to show the date and time of the last strike in this format: 04:13:38 09 April 2022
I've then made a small PHP script which calculate the time since that date and time, e.g 20 seconds ago or 59 minutes ago or 19 hours ago, or 364 days ago
Ok thank you very much now I understand.I have a php file that must be suitable.

Best regards;
User avatar
mcrossley
Posts: 12692
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 »

Thanks for the data sample, so via the http protocol they send null values, I'll make sure the code is coping with that.
User avatar
mcrossley
Posts: 12692
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 »

Issue found and fixed for the next release.
Post Reply