Page 1 of 1

Getting Davis pro2 battery status

Posted: Sun 01 May 2022 3:49 pm
by Qur3an
Hello everyone,

I have Davis pro2 plus weather station connected to Meteo-pi logger which in turn is connected to CumulsMX software.
I need your help on how I can receive "Transmitter Battery Status" and "Console Battery Voltage" and show them on CumulusMX version 3.15.3.

Thank you in advance

Re: Getting Davis pro2 battery status

Posted: Sun 01 May 2022 6:07 pm
by ConligWX
the CUTags.php processed by CumulusMX should contain both battery and txbattery webtags or i guess you could add the webtags to the end of the websitedata.json file like so:

Code: Select all

"pressH":"<#pressH>",
"TpressH":"<#TpressH>"
"battery":"<#battery>"
"txbattery":"<#txbattery>"
}
https://cumuluswiki.org/a/WebsitedataT.json

Re: Getting Davis pro2 battery status

Posted: Tue 12 Jul 2022 8:12 am
by apple8
ConligWX wrote: Sun 01 May 2022 6:07 pm the CUTags.php processed by CumulusMX should contain both battery and txbattery webtags or i guess you could add the webtags to the end of the websitedata.json file like so:

Code: Select all

"pressH":"<#pressH>",
"TpressH":"<#TpressH>"
"battery":"<#battery>"
"txbattery":"<#txbattery>"
}
https://cumuluswiki.org/a/WebsitedataT.json
I was interested in adding this to MX as I had it Cumulus1. I added the battery code to the websitedataT.json and although the websitedata.json file on the server showed the voltages the web pages were blank of all data readings until I removed that code. So is there another step in the process?

Re: Getting Davis pro2 battery status

Posted: Tue 12 Jul 2022 8:31 am
by mcrossley
ConligWX wrote: Sun 01 May 2022 6:07 pm the CUTags.php processed by CumulusMX should contain both battery and txbattery webtags or i guess you could add the webtags to the end of the websitedata.json file like so:

Code: Select all

"pressH":"<#pressH>",
"TpressH":"<#TpressH>"
"battery":"<#battery>"
"txbattery":"<#txbattery>"
}
https://cumuluswiki.org/a/WebsitedataT.json
The sample code above is missing a couple of commas after "<#TpressH>" and "<#battery>"

Re: Getting Davis pro2 battery status

Posted: Wed 13 Jul 2022 8:03 am
by apple8
Thanks Mark, all sorted now.