websitedata file error - lightning data (v3116)
Posted: Mon 01 Mar 2021 1:13 am
Hi all,
Very much enjoying having a 'play' with the look and feel of the new web pages - congrats to all.
I did strike an issue making a mod to the index page to include some lightning information from my Ecowitt lightning sensor. MX didn't have any data stored for it and so the time and distance was returning "---". When I added these tags to the websitedata file, it didn't like it and returned an undefined error on the webpage (the "---" string was recorded in the json file). None of the website data would populate to any of the web pages (not just the lightning data). I could see that there was some data in the json file but nothing below the lightning tags. No errors in the MXdiags file I could see.
As it happens, we had a thunderstorm today and some strikes were detected. I added the lightning tags back into the websitedata file and all is good. Not sure if the data file didn't like the non-numeric values.
Cheers
Steve
Very much enjoying having a 'play' with the look and feel of the new web pages - congrats to all.
I did strike an issue making a mod to the index page to include some lightning information from my Ecowitt lightning sensor. MX didn't have any data stored for it and so the time and distance was returning "---". When I added these tags to the websitedata file, it didn't like it and returned an undefined error on the webpage (the "---" string was recorded in the json file). None of the website data would populate to any of the web pages (not just the lightning data). I could see that there was some data in the json file but nothing below the lightning tags. No errors in the MXdiags file I could see.
As it happens, we had a thunderstorm today and some strikes were detected. I added the lightning tags back into the websitedata file and all is good. Not sure if the data file didn't like the non-numeric values.
Cheers
Steve