Page 1 of 1

Adding extra sensor information to indexT.htm/index.htm

Posted: Thu 18 Mar 2021 2:18 pm
by canlab@sasktel.net
I am currently setting up a website with an Ecowitt weather station with lightning detector. I want to add the lightning detection from the Cumulus MX extra sensors page to my indexT.htm/index.htm main page. Can someone point in the right direction? Thanks!

Re: Adding extra sensor information to indexT.htm/index.htm

Posted: Thu 18 Mar 2021 4:06 pm
by philpugh
Have a look at this page in the WIKI

https://cumuluswiki.org/a/New_Default_W ... nformation

Re: Adding extra sensor information to indexT.htm/index.htm

Posted: Thu 18 Mar 2021 4:16 pm
by ConligWX
You'll probably need to add whatever the webtag is for ecowitt lightning to the websitedataT.json template first of all. then when websitedataT.json is processed by cumulus, make sure websitedata.json on your webserver have a lightning value. then you can add the value to your index page.


LightningDistance
LightningTime
LightningStrikesToday

perhaps

Re: Adding extra sensor information to indexT.htm/index.htm

Posted: Thu 18 Mar 2021 5:01 pm
by mcrossley
If really are using the old web site with the template indexT.htm, then you just need to add the extra boiler plate and web tags for the lightning in that file.

Otherwise if you are using the new web site then you will have to add the data to websitedataT.json as a first step as above.

Re: Adding extra sensor information to indexT.htm/index.htm

Posted: Wed 24 Mar 2021 2:15 pm
by canlab@sasktel.net
Hello, thanks for all the replies. Do I need to add anything for lightning in the strings.ini file?

Re: Adding extra sensor information to indexT.htm/index.htm

Posted: Wed 24 Mar 2021 5:19 pm
by mcrossley
No.