Page 2 of 2

Re: Lightning distance

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

Re: Lightning distance

Posted: Wed 11 May 2022 6:40 pm
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;

Re: Lightning distance

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

Re: Lightning distance

Posted: Thu 12 May 2022 8:17 am
by mcrossley
Issue found and fixed for the next release.