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

Low battery alarms

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
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:

Low battery alarms

Post by freddie »

I have had three well-spaced low battery alarm emails since Saturday night. The text of the email says "A low battery condition has been detected". Looking in the MXdiags, I can't see which battery is low. Any ideas? I have four batteries to consider: Davis console (unlikely as the mains adaptor is plugged in), Davis ISS, and two Ecowitt temperature sensors.
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Low battery alarms

Post by mcrossley »

To check your Davis batteries you could use the local API...

http://<IP_ADDRESS>:8998/api/tags/process.json?battery&txbattery

For Ecowitt, it is a check of WSView app I'm afraid.

Debug logging "should" show the affected battery for Ecowitt in the debug SensorInfo dumped every 20 minutes, but MX does not keep track of which one, just the fact that a low condition occurred.
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: Low battery alarms

Post by freddie »

mcrossley wrote: Mon 14 Mar 2022 11:24 am To check your Davis batteries you could use the local API...

http://<IP_ADDRESS>:8998/api/tags/process.json?battery&txbattery

For Ecowitt, it is a check of WSView app I'm afraid.

Debug logging "should" show the affected battery for Ecowitt in the debug SensorInfo dumped every 20 minutes, but MX does not keep track of which one, just the fact that a low condition occurred.
Thanks Mark. Davis shows {"battery":"4.68","txbattery":"1-ok 2-ok 3-ok 4-ok 5-ok 6-ok 7-ok 8-ok"}. Ecowitt via the app - grass temperature says battery is "Normal"; depth temperature gives me a graphic that shows 2 out of 5 "bars" for the battery.

I guess I'm just going to have to monitor....
Freddie
Image
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: Low battery alarms

Post by freddie »

mcrossley wrote: Mon 14 Mar 2022 11:24 am Debug logging "should" show the affected battery for Ecowitt in the debug SensorInfo dumped every 20 minutes, but MX does not keep track of which one, just the fact that a low condition occurred.
I'm still getting these alarms - usually 3-4 and all between midnight and sunrise. I see this in the diags file:

Code: Select all

2022-03-26 06:37:09.023 ProcessExtraData: Processing posted data
2022-03-26 06:37:09.023 ProcessExtraData: Payload = PASSKEY=<PassKey>&stationtype=GW1100A_V2.0.2&dateutc=2022-03-26+06:35:52&tempinf=59.4&humidityin=41&baromrelin=30.546&baromabsin=30.053&temp1f=28.6&tf_ch1=46.9&batt1=0&tf_batt1=1.20&freq=868M&model=GW1100A
2022-03-26 06:37:09.024 SendEmail: Waiting for lock...
2022-03-26 06:37:09.024 SendEmail: Has the lock
2022-03-26 06:37:09.024 SendEmail: Sending email, to [niall@hosiene.co.uk], subject [Cumulus MX Alarm], body ["A Cumulus MX alarm has been triggered.\r\nA low battery condition has been detected" +
    "."]...
2022-03-26 06:37:09.025 ProcessExtraData: Complete
I can see two potential battery readings in the payload from my GW1100 - batt1 and tf_batt1. I don't know which sensors they refer to - is there a decode available?
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Low battery alarms

Post by mcrossley »

batt[1-8] sends 0 for good, 1 for low. I believe this is the extra T/H sensor

tf_batt[1-8] sends the voltage, with <= 1.2 being considered low. I believe this is the WN34 Soil sensor.
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: Low battery alarms

Post by freddie »

mcrossley wrote: Sat 26 Mar 2022 6:20 pm batt[1-8] sends 0 for good, 1 for low. I believe this is the extra T/H sensor

tf_batt[1-8] sends the voltage, with <= 1.2 being considered low. I believe this is the WN34 Soil sensor.
Thanks @mcrossley looks like I need to change the soil sensor battery - I'll do that tomorrow.
Freddie
Image
Post Reply