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

3202 Alarms broken

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
bduren
Posts: 41
Joined: Tue 21 Jul 2009 8:43 am
Weather Station: WMR928
Operating System: W2012R2, W10, RaspberryPI 3+
Location: Sweden
Contact:

3202 Alarms broken

Post by bduren »

Hello
Not able to start after update.
I have done mono CreateMissing.exe
Repaired 3 errors.
After that try to start.
First time CMX complained regarding Wind
Second start CMX complained regarding rain.

Second MXdiags attached.
mxdiags.zip
You do not have the required permissions to view the files attached to this post.
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: 3202 Alarms broken

Post by mcrossley »

Please disable your rain alarm in Cumulus.ini and try restarting.

Code: Select all

[Alarms]
HighRainTodayAlarmSet=0
HighRainRateAlarmSet=0
IsRainingAlarmSet=0
And I'll take a look later at what is going on.
bduren
Posts: 41
Joined: Tue 21 Jul 2009 8:43 am
Weather Station: WMR928
Operating System: W2012R2, W10, RaspberryPI 3+
Location: Sweden
Contact:

Re: 3202 Alarms broken

Post by bduren »

Hello
Did that to no avail, sorry.
Reverting to 3196 and working good
Attach the latest MXdiags file.

Thanks for taking a look at the issue.
mxdiags (2).zip
You do not have the required permissions to view the files attached to this post.
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: 3202 Alarms broken

Post by mcrossley »

OK, so the Wind alarms have the same issue. It looks like the Alarms are not being created for your station type for some reason. I'll take a look at the code tomorrow, looks like I missed something for a particular set of stations that includes the WMR-928 (they do not all initialise in the same way).
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: 3202 Alarms broken

Post by sfws »

I use the old Fine Offset station type, and in new release have already checked some Alarms are working for me. My MX runs normally on a RPi without me checking what is happening.

I think the behaviour for the "data spike" functionality might have changed when the new code for determining when to skip reading data was introduced in release 3.19.0. It appears a reading was made of all zeroes, when MX was synchronising, that triggered the "data spike" alarm, and that alarm never cleared until I stopped MX and restarted with new release, while all other alarms I had enabled with similar settings had worked as normal (trigger and clearing).

I did not have time to investigate before I installed the new release today, Since I have archived all the files from my MXDiags, with some spare time it would be possible to search for when that particular alarm was triggered and when not cleared.

I have not being able to test the "data spike" functionality yet on new release, as there has been no trigger of it yet.
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: 3202 Alarms broken

Post by mcrossley »

Thanks, the alarms got another internal work-over in v3.20.0, functionality that was spread around is now encapsulated in the alarm class. That meant the initialisation of them had to change, it looks like I didn't catch all initialisation routes. No time tonight, but I'll take a look tomorrow.
User avatar
rogerthn
Posts: 549
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: 3202 Alarms broken

Post by rogerthn »

To start with I did have
2022-08-21 16:45:52.525 - WH40 sensor id = 55050 signal = 0 battery = 1.60V (OK) dummy value?
in 3202

After some time
2022-08-21 22:00:03.349 - WH40 sensor id = 55050 signal = 0 battery = 0.31V (Low)
2022-08-21 22:00:03.351 Alarm (Battery Low): Sending email
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: 3202 Alarms broken

Post by mcrossley »

rogerthn wrote: Sun 21 Aug 2022 8:11 pm To start with I did have
2022-08-21 16:45:52.525 - WH40 sensor id = 55050 signal = 0 battery = 1.60V (OK) dummy value?
in 3202

After some time
2022-08-21 22:00:03.349 - WH40 sensor id = 55050 signal = 0 battery = 0.31V (Low)
2022-08-21 22:00:03.351 Alarm (Battery Low): Sending email
Sorry, not sure what you are saying?
The alarm looks like it is working OK.
User avatar
rogerthn
Posts: 549
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: 3202 Alarms broken

Post by rogerthn »

WH40 battery level is a dummy value?
Enclosing diag from first run of 3202
20220821-164545.zip
Edit: Maybe not a dummy.
I'll replace batteries tomorrow
Good Night
You do not have the required permissions to view the files attached to this post.
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: 3202 Alarms broken

Post by mcrossley »

The problem is there are different versions of the WH40, newer versions report the battery voltage. Older ones do not, but report a dummy value of 1.6 V. So if the value is reported as 1.6V there is no way of knowing if it is a dummy value, or a real value that just happens to match the dummy value! :bash:
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: 3202 Alarms broken

Post by mcrossley »

@bduren, if you still have one, could you post the ServiceConsoleLog.txt file please?
User avatar
rogerthn
Posts: 549
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: 3202 Alarms broken

Post by rogerthn »

mcrossley wrote: Sun 21 Aug 2022 9:01 pm The problem is there are different versions of the WH40, newer versions report the battery voltage. Older ones do not, but report a dummy value of 1.6 V. So if the value is reported as 1.6V there is no way of knowing if it is a dummy value, or a real value that just happens to match the dummy value! :bash:
I was "lucky" that there was 0.31 for some time!
2022-08-21 21:52:25.659 - WH40 sensor id = 55050 signal = 0 battery = 0.31V (Low)
2022-08-21 22:00:03.349 - WH40 sensor id = 55050 signal = 0 battery = 0.31V (Low)
2022-08-21 22:20:03.694 - WH40 sensor id = 55050 signal = 0 battery = 0.31V (Low)
2022-08-21 22:40:01.149 - WH40 sensor id = 55050 signal = 1 battery = 1.60V (OK) dummy value?
2022-08-21 23:00:00.492 - WH40 sensor id = 55050 signal = 0 battery = 1.60V (OK) dummy value?
2022-08-21 23:20:00.594 - WH40 sensor id = 55050 signal = 0 battery = 1.60V (OK) dummy value?
I do have a reminder, Replace battery on the 5th of November but thanks to the mail I now have signal = 4 again on the WH40

Code: Select all

2022-08-22 16:40:03.132  - WH40 sensor id = 55050 signal = 0 battery = 1.60V (OK) dummy value?
2022-08-22 17:00:00.662  - WH40 sensor id = 55050 signal = 4 battery = 1.60V (OK) dummy value?
Sorry for the noise
Image
bduren
Posts: 41
Joined: Tue 21 Jul 2009 8:43 am
Weather Station: WMR928
Operating System: W2012R2, W10, RaspberryPI 3+
Location: Sweden
Contact:

Re: 3202 Alarms broken

Post by bduren »

Hello
Here it is, the ServiceConsoleLog corresponding to the mxdiag I send earlier
ServiceConsoleLog.txt
You do not have the required permissions to view the files attached to this post.
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: 3202 Alarms broken

Post by mcrossley »

OK, thanks, I think I have found the problem.
Post Reply