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
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
Setting Up Alarms via email
Moderator: mcrossley
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Setting Up Alarms via email
Hi
Has anyone got this working ?
I am assuming you just put an email address in the two boxes and then one of the criteria is met, eg Temperature falls below zero and email is sent.
Is there more to it than that ? - mine keep returning an error message " Test email failed: Object reference not set to an instance of an object."
Ive looked and searched on the wiki and forum but cant see much if anything about Alarm and emails.
Any advice atall
cheers
Has anyone got this working ?
I am assuming you just put an email address in the two boxes and then one of the criteria is met, eg Temperature falls below zero and email is sent.
Is there more to it than that ? - mine keep returning an error message " Test email failed: Object reference not set to an instance of an object."
Ive looked and searched on the wiki and forum but cant see much if anything about Alarm and emails.
Any advice atall
cheers
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Setting Up Alarms via email
Hi,
Yes, it is working fine... got dozens of warnings last couple of days when I had set the alarm for when temperature goes below -20°C until I changed it to -25°C
You also need to do the Internet settings > Email Server Settings and this is the most important to get right.
Enjoy,
Paul
Yes, it is working fine... got dozens of warnings last couple of days when I had set the alarm for when temperature goes below -20°C until I changed it to -25°C
You also need to do the Internet settings > Email Server Settings and this is the most important to get right.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Setting Up Alarms via email
Hi
Sorry for slow reply
email server settings ? - will take a look
many thanks
Sorry for slow reply
email server settings ? - will take a look
many thanks
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Setting Up Alarms via email
Hi
I am still struggling - anyone managed to get this working with gmail and could share settings please - I keep getting error messages
thanks
I am still struggling - anyone managed to get this working with gmail and could share settings please - I keep getting error messages
thanks
You do not have the required permissions to view the files attached to this post.
-
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: Setting Up Alarms via email
I may be barking up the wrong tree but isn't your username pacrabtree@gmail.com?
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Setting Up Alarms via email
As freddie mentioned
I have learned that the correct Port number is very important for it to work, and only certain number will work with an email service.
I recently set up another email notification when installing my Reolink camera, and it was a struggle. I couldn't get that GoDaddy email service I had setup for CMX to work with the Reolink. Reolink Support was very helpful including this link: https://support.reolink.com/hc/en-us/ar ... rce=search so ended up using the gmail service.
SMTP Server - smtp.gmail.com
SMTP port - 465
and the applicable email addresses and password.
Enjoy,
Paul
My email for this is GoDaddy who now use Microsoft 365 for their mail service and for me is me@domainname.com. As I had mentioned it is most important to get the settings right. For CMX I ended with the following, which works very well:but isn't your username pacrabtree@gmail.com
Code: Select all
Server Name: smtpout.secureserver.net
The hostname (and domain) or IP address of your SMTP server
Network Port: 80
The SMTP port used by your SMTP server
Use SSL/TLS: None
Select the protocol required by your email server:
None - No SSL or TLS encryption will be used
Auto - Cumulus decides which TLS/unencrypted options to use (default). Use this option unless you have good reason not to
TlsOnConnect - The connection should use TLS encryption immediately
StartTls - Use TLS encryption immediately. If the server does not support the STARTTLS extension then the connection will fail
StartTlsWhenAvailable - use TLS encryption immediately, but only if the server supports the STARTTLS extension
Authentication: Enable server authentication
Does your SMTP server require username/password authentication
Username: {my domain at GoDaddy email address}
The username to connect to your SMTP server
Password: •••••••••
The password used to authenticate with your SMTP serverI recently set up another email notification when installing my Reolink camera, and it was a struggle. I couldn't get that GoDaddy email service I had setup for CMX to work with the Reolink. Reolink Support was very helpful including this link: https://support.reolink.com/hc/en-us/ar ... rce=search so ended up using the gmail service.
SMTP Server - smtp.gmail.com
SMTP port - 465
and the applicable email addresses and password.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- 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: Setting Up Alarms via email
Gmail uses two factor authentication which obviously will not work with applications.
So in your gmail security settings you will have to create an "Application password" which will bypass the two factor auth.
Then in the settings, from you screen shot...
- change the authentication back to the default "Auto"
- change the username to your email address
- enter the application password you created above
Test - and it should work OK.
So in your gmail security settings you will have to create an "Application password" which will bypass the two factor auth.
Then in the settings, from you screen shot...
- change the authentication back to the default "Auto"
- change the username to your email address
- enter the application password you created above
Test - and it should work OK.
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Setting Up Alarms via email
Thanks for all the advice !!
Will try again in the morning
Noted re user name, had tried in full and just name but I think the key is the app password, which is something I hadn't heard of before. Will check this out
Will try again in the morning
Noted re user name, had tried in full and just name but I think the key is the app password, which is something I hadn't heard of before. Will check this out
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Setting Up Alarms via email
Morning
All now working, setting up the Gmail App password was easier than I thought. Test email sent and working
Couple of questions please - what does "latches" mean in the alarms ?
At the bottom of the alarm/email section it says you can edit the "strings.ini" can you add text to that in the body of the email sent out ?
cheers
All now working, setting up the Gmail App password was easier than I thought. Test email sent and working
Couple of questions please - what does "latches" mean in the alarms ?
At the bottom of the alarm/email section it says you can edit the "strings.ini" can you add text to that in the body of the email sent out ?
cheers
- 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: Setting Up Alarms via email
Latches prevent you being flooded with alarms if a value is bouncing around a threshold value. So if you set a temperature alarm above 30C say, and the temperature is hovering at 30, getting readings of 29.9, 30.1, 30.0, 30.1, etc you don't want an email every time it transitions from below 30 to above. The latch says if the alarm occurs, don't send another email for an hour (or whatever) if the same alarm occurs again within the timeframe.
Yes you can change the email subject and body content by editing the strings.ini file. The first variable in the message is the value, the second the units.
The Wiki is slightly out of date, but explains it: https://cumuluswiki.org/a/Strings.ini
Yes you can change the email subject and body content by editing the strings.ini file. The first variable in the message is the value, the second the units.
The Wiki is slightly out of date, but explains it: https://cumuluswiki.org/a/Strings.ini
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Setting Up Alarms via email
Hi
Am I right that a strings.ini file doesnt exsist ?
Its something you add on reading the above article. Proabley on the tricky side to create with no working knowledge ?
Having now read an email it produces, I maybe dont need to add anything, apart from a signature or similar ?
Latches and Latch hours
I understand that you dont want email alarms being sent every 2 minutes if your variable goes above or below the threshold, but the word "latch" I havent heard of before.
So I I just wanted to send one email once the temperature threshold had fallen below 0.0c, what would you display in latches ?
cheers
Am I right that a strings.ini file doesnt exsist ?
Its something you add on reading the above article. Proabley on the tricky side to create with no working knowledge ?
Having now read an email it produces, I maybe dont need to add anything, apart from a signature or similar ?
Latches and Latch hours
I understand that you dont want email alarms being sent every 2 minutes if your variable goes above or below the threshold, but the word "latch" I havent heard of before.
So I I just wanted to send one email once the temperature threshold had fallen below 0.0c, what would you display in latches ?
cheers
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Setting Up Alarms via email
So assuming you wanted one email on each day that goes below zero you would tick the latch and set the hrs to 24 i.e. you get 1 email in any 24 hours. Once the latch is set it sends nothing else, then after 24hrs when the latch is released if temperature dropped below zero again you would get another email etc.So I I just wanted to send one email once the temperature threshold had fallen below 0.0c, what would you display in latches ?
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Setting Up Alarms via email
Cheers David
Thanks for the explanation
Thanks for the explanation
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Setting Up Alarms via email
Forgot to say that it does in sample form and you have to rename it to strings.ini. In every MX release there is a samplestrings.ini file that can be used as the basis for your strings.ini.Am I right that a strings.ini file doesnt exsist ?
- 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: Setting Up Alarms via email
I wouldn't use 24 hours though. you would potentially miss alarms. Say it went below zero today at 07:30, then again at 07:10 tomorrow. There would be no alarm tomorrow because it is within the 24 hour window ending at 07:30. It would be better to reset after something like 12 hours.water01 wrote: ↑Wed 02 Feb 2022 11:46 pmSo assuming you wanted one email on each day that goes below zero you would tick the latch and set the hrs to 24 i.e. you get 1 email in any 24 hours. Once the latch is set it sends nothing else, then after 24hrs when the latch is released if temperature dropped below zero again you would get another email etc.So I I just wanted to send one email once the temperature threshold had fallen below 0.0c, what would you display in latches ?