Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Lightning

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Lightning

Post by Nossie »

Code: Select all

Lightning	
  Strikes today	0
  Time last strike	02:04
  Distance last strike	17.059003999999998
Excellent progress on this Hans,

A few things, can we round down the distance? :) and - the data so far suggests the strike was at 02:04 this morning ....

However my display shows 167 days ago and the cumulus software shows 15/08/22 - the data without this context is a bit weird, anyway of extracting that somehow?

hmmmm I've also just noticed some of my data is missing again - CO2..... where are youuuuuu?

cheers!
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

Nossie wrote: Sun 29 Jan 2023 8:29 pm

Code: Select all

Lightning	
  Strikes today	0
  Time last strike	02:04
  Distance last strike	17.059003999999998
A few things, can we round down the distance? :) and - the data so far suggests the strike was at 02:04 this morning ....
What do you mean by round down the distance... aha, you are in miles which is converted from the km coming from the sensor.
OK, I'll format to an F0 for any distance (meaning no decimals at all)
Nossie wrote: Sun 29 Jan 2023 8:29 pm However my display shows 167 days ago and the cumulus software shows 15/08/22 - the data without this context is a bit weird, anyway of extracting that somehow?
Well, it says no lightning strikes today (zer0) so the time and distance must be from another strike remembered by CMX.
I use the webtags <#LightningStrikesToday> <#LightningTime> <#LightningDistance> to fill the data to the extrasensorsrealtime.txt. Those numbers come from CMX. Maybe Mark can shed a light on this? Ultimately I could make some logic to set it all to 0.
Nossie wrote: Sun 29 Jan 2023 8:29 pm hmmmm I've also just noticed some of my data is missing again - CO2..... where are youuuuuu?
I have no CO2 sensor myself but I did not change anything there either.
So what is the value of the CO2 parameter in the ExtraSensors section?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Lightning

Post by Nossie »

I created a new thread for the CO2 issue.

Rounding down might be the best option, so is that going to reset back to 0 and still show another time when there was a strike? My understanding of this data is that if it was zero'd it would only make sense until another storm.

I'd probably rather have
Last strike : 08/15/22 02:04

if possible.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

Nossie wrote: Sun 29 Jan 2023 9:05 pm I created a new thread for the CO2 issue.
OK
Nossie wrote: Sun 29 Jan 2023 9:05 pm Rounding down might be the best option, so is that going to reset back to 0 and still show another time when there was a strike? My understanding of this data is that if it was zero'd it would only make sense until another storm.
I'll round (javascript function) the for the distance so you get it rounded to the nearest integer.
Apparently distance and date do not reset to zero, I just display what I get..
Nossie wrote: Sun 29 Jan 2023 9:05 pm I'd probably rather have
Last strike : 08/15/22 02:04
I'll add the date
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Lightning

Post by Nossie »

Hi Hans,

now showing the unit mi, however the data is still in km - sorry for being British XD
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

Nossie wrote: Mon 30 Jan 2023 8:06 am Hi Hans,

now showing the unit mi, however the data is still in km - sorry for being British XD
Actually, that surprises me (the data in km that is, not the British XD, have no idea what that is :lol: )

The value retrieved from the webtag is in km (I think you can't change that can you?) and I convert it to the unit used by the CMX setting for distance unit which in your case is mile:

Code: Select all

             tmpDistance = ExtraSensorRT[23] * 1.60934;
So the value you see is higher than the value retrieved from the sensor (through CMX). And the conversion is to miles.
So afaics it is correct now.

Where do you see your data is in km?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Lightning

Post by freddie »

Sorry to butt in - surely if you convert km to miles then the values will be smaller? 1 mile = 1.6 km.
Freddie
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

freddie wrote: Mon 30 Jan 2023 10:13 am Sorry to butt in - surely if you convert km to miles then the values will be smaller? 1 mile = 1.6 km.
To avoid confusion, that is more or less what I say:
So the value you see is higher than the value retrieved from the sensor (through CMX).
Where the value you see is the value you observe on the website after the conversion I apply and where the value retrieved from the sensor is what you get through the webtag from CMX and what you see on ecowitt.net.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Lightning

Post by Nossie »

The value on the ecowitt display and cmx is currently 11 miles...

And if you convert 11 miles into km - you get? :lol:


EDIT: My data is in miles, you are currently converting it to eurometers and adding the Mi
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

So, where did you set it to miles?
Or does the unit adapt to the settings of the GW1100 (there is no distance setting there!) ?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

Nossie wrote: Mon 30 Jan 2023 10:40 am The value on the ecowitt display and cmx is currently 11 miles...

And if you convert 11 miles into km - you get? :lol:


EDIT: My data is in miles, you are currently converting it to eurometers and adding the Mi
No I think your data is in km and am converting it to miles
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Lightning

Post by Nossie »

I think maybe not?

Not sure what else to say - unless the data is in km and the display and cmx are changing it to miles.

Let me check the manual to see if I'm missing a setting or forgot something
You do not have the required permissions to view the files attached to this post.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

OK. You have data in miles and I convert it to miles because I think it is in km. That is obviously not correct.

So my question is where is this unit set? Because as far as I can see there is no unit setting for distance unless the unit for speed (in your case miles/hour) is extended to distance. I assume it is.

Anyway, I will remove the conversion and only display the unit which is used by CMX for distance.

I assume the other things are OK now, also the tooltips. The percentage I see in the charts for LeafWetness and SoilMoisture must have been added by you (axis Free and you modified the text).
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Lightning

Post by HansR »

I will create a new release now.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Lightning

Post by Nossie »

Everything else so far is perfect Hans =) thank you.

Yeah I found three references to miles in the manual and none of them point to where it can be changed to km Maybe it uses a previous setting from something else?

I did add the percentages to the language text yes.

Is there also a language section to add (miles) to distance to last strike?
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
Post Reply