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

Problems with ‘User Alarm Settings’ - Sending error messages by email

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
HAT
Posts: 9
Joined: Mon 01 Jan 2024 6:28 pm
Weather Station: Ecowitt 2550
Operating System: DietPi with RPi 4b
Location: Germany

Problems with ‘User Alarm Settings’ - Sending error messages by email

Post by HAT »

Hello,

Configuration:
RPI 4b 4MB
DietPi 9.9
Cumulus MX 4.3.3 b4070

Is there a way to set up an alarm in the ‘User Alarm Settings’ that sends me an email with the error message that has occurred?

There is the webtag ‘LatestError’, but this is a string variable, which I cannot process in the ‘User Alarm Settings’.

Could this be changed for the future?
I find it extremely useful to receive an email with the text of the error message.
Ideally with the content of the webtags ‘LatestErrorTime’ and ‘LatestErrorDate’.
Whether this is permanently installed in the ‘Alarm Settings’ or flexibly in the ‘User Alarm Settings’ is a detail.
So far I have been using the ‘ErrorLight’ webtag in the ‘User Alarm Settings’.
<#ErrorLight> Above ‘0’ Email.

This works well, I then know THAT an error has occurred, but not WHAT the error is...

The next thing is:
Why do I have to write ‘<#ErrorLight> Above “0” Email’?
BECAUSE <#ErrorLight> Equals ‘1’ does not work! I can enter it like this, save it with ‘Save Settings’ but when I refresh the page, ‘ Equals’ jumps back to ‘Above’. ‘1’ remains saved.
I use Firefox as my browser, but have tested this with the Brave browser - same thing.

Greetings to all members
HAT
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: Problems with ‘User Alarm Settings’ - Sending error messages by email

Post by mcrossley »

Why can you not use the ‘LatestErrorTime’ and ‘LatestErrorDate’ web tags in your existing Alarm?

I'll take a look at the "equals" issue later...
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: Problems with ‘User Alarm Settings’ - Sending error messages by email

Post by mcrossley »

Problem with "equals" type found and fixed for the next release.
Post Reply