Page 1 of 1

Lightning data wiped on upgrade

Posted: Wed 19 May 2021 12:48 pm
by liddelljs
Hi all,
I upgraded to b3132 today and noticed that my lightning data was wiped (WH57 lightning sensor on my Ecowitt GW1001 station). I think I have seen this before so don't think it relates to this build. I have modified my websiteT.json file (attached) to pull in the lightning data and display it on my website. After the upgrade, the processed json file is reporting no data (---). The Ecowitt weather page for the station is showing the most recent data still (a couple of days ago) so something is happening (or not happening) picking up the data when the json file processes. Probably something I have done when adding to the template file but any thoughts appreciated. I checked the MXdags file but it shows nothing I could see that might point to the problem.

Cheers
Steve

Re: Lightning data wiped on upgrade

Posted: Wed 19 May 2021 5:10 pm
by mcrossley
It is just restarting Cumulus that will lose the lightning info. The GW1000 stops sending the lightning info after a period has elapsed since the last event (I forget how long). When this happens Cumulus will "remember" the last values and continue to display them until new data arrives, but the values are just kept in memory. So when you restart Cumulus it relies on what the GW1000 reports.

Re: Lightning data wiped on upgrade

Posted: Thu 20 May 2021 10:08 am
by liddelljs
Many thanks Mark. Good to know.

Cheers
Steve