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

How does CMX handle sensor failures?

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. 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
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

How does CMX handle sensor failures?

Post by broadstairs »

Last night my Ecowitt WS80 temp/hum sensor failed for the umpteenth time and now my GW2000 is not sending any outdoor temp or hum readings but CMX is still showing the last good reading. I had expected some error to be signalled by CMX when the primary temp sensor is no longer sending any readings in the TCP API but no it just shows the last good reading which in my view is misleading. If it had continued to send the last good reading that would be fine but there is no external temp/hum in the TCP API at all. Surely it should be flagging an error somewhere?

I have now swapped to a different external sensor. My other issue is that when this happens strange things are reported by the solar sensor like 2131w/m² and UVI 13 but there seems to be no spike detection on solar. Once I can unplug the failed sensor the solar returns to normal (usually!).

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: How does CMX handle sensor failures?

Post by mcrossley »

MX has no concept (on the whole - I'm slowly changing it) of null values for sensors. So it flatlines at the last recieved entry.

If all the primary sensors fail then it will flag a data stopped, alarm (if enabled), and optionally exit the program.

If one sensor stops its tricky, often different sensors are sent in different messages from the stations. It would need an acceptable time threshold defining and monitoring of every sensor against its last updated time. Some stations also "flat line", and continue to send their last recieved value for some time after losing contact, which would add to the delay in detection.

Yes, it would be better to be able to record null values for all the primary sensors, and have alarming for individual sensor data stopped, we're not there yet.
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: How does CMX handle sensor failures?

Post by broadstairs »

I understand but I thought as external temperature was a primary sensor then something should happen, in fact both external temp and hum were missing completely from the returned string in the TCP API not just null or 0.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
Post Reply