Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Email subject line
Moderator: mcrossley
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Email subject line
Hi all,
Love the email function in the new release. A minor one I know but is there any way to customise the subject line? I have two weather stations and the generic mail doesn't alert me to which station it is coming from.
Cheers
Steve
Love the email function in the new release. A minor one I know but is there any way to customise the subject line? I have two weather stations and the generic mail doesn't alert me to which station it is coming from.
Cheers
Steve
- PaulMy
- Posts: 3850
- 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: Email subject line
Hi,
I presume you have two instances of CumulusMX running.
The text "By default the email messages use UTF-8 plain text, but you can define your own in strings.ini and use HTML if you wish" in the Alarm settings indicates you can modify or create your own text. You could edit one or both so it would indicate which station.
Enjoy,
Paul
I presume you have two instances of CumulusMX running.
The text "By default the email messages use UTF-8 plain text, but you can define your own in strings.ini and use HTML if you wish" in the Alarm settings indicates you can modify or create your own text. You could edit one or both so it would indicate which station.
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
-
- Posts: 225
- Joined: Sat 27 Aug 2016 12:11 am
- Weather Station: Davis vantage pro 2
- Operating System: Debian
- Location: Wickliffe, Ohio
- Contact:
Re: Email subject line
I saw that on the bottom of alarms page but not sure what the format should be for string.ini would need a descriptor with in [ ] then also options for text to equal
Jeff
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: Email subject line
Thanks Both. I do run two instances of MX on two different RPi's, hence my desire to differentiate the emails. Thanks for the heads up on strings.ini file Paul. I thought it might only refer to text formatting but the samplestrings.ini file does contain an e-mail preamble line (subject?). I modified this line to add my station, selected to use html formatting (thinking this forces the strings.ini file(?) and forced an alarm. No change to the e-mail format. Still just quotes the generic "Cumulus MX Alarm" message.
Further update - I thought I could change that actual alarm message in strings.ini for my station. I tried it for the wind gust alarm (added my location to the message) and then forced a wind gust alarm. No change - still got the generic message. Doesn't seem to be reading from my strings.ini file for some reason. Clearly something I am missing.
Cheers
Steve
Further update - I thought I could change that actual alarm message in strings.ini for my station. I tried it for the wind gust alarm (added my location to the message) and then forced a wind gust alarm. No change - still got the generic message. Doesn't seem to be reading from my strings.ini file for some reason. Clearly something I am missing.
Cheers
Steve
- mcrossley
- Posts: 12774
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Email subject line
The subject can be defined in strings.ini
Where {0} will have the value substituted, and {1} will have the units substituted.
You need to restart Cumulus MX after changing strings.ini
Code: Select all
[AlarmEmails]
subject=Cumulus MX Alarm
preamble=A Cumulus MX alarm has been triggered.
windGustAbove=A wind gust above {0} {1} has occurred.
pressureAbove=The pressure has risen above {0} {1}.
tempAbove=The temperature has risen above {0} {1}.
pressBelow=The pressure has fallen below {0} {1}.
tempBelow=The temperature has fallen below {0} {1}.
pressDown=The pressure has decreased by more than {0} {1}.
pressUp=The pressure has increased by more than {0} {1}.
rainAbove=The rainfall today has exceeded {0} {1}.
rainRateAbove=The rainfall rate has exceeded {0} {1}.
sensorLost=Contact has been lost with a remote sensor.
tempDown=The temperature decreased by more than {0} {1}.
tempUp=The temperature has increased by more than {0} {1}.
windAbove=The average wind speed has exceeded {0} {1}.
dataStopped=Cumulus has stopped receiving data from your weather station.
batteryLow=A low battery condition has been detected.
dataSpike=A data spike from your weather station has been suppressed.
upgrade=An upgrade to Cumulus MX is now available.
You need to restart Cumulus MX after changing strings.ini
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: Email subject line
Many thanks Mark. The MX restart got me. All good and working as you described.
Cheers
Steve
Cheers
Steve
-
- Posts: 347
- Joined: Wed 31 Dec 2008 1:56 pm
- Weather Station: Vantage Pro2 Plus Daytime FARS
- Operating System: Windows 11 Pro Version
- Location: Poole, Dorset UK
- Contact:
Re: Email subject line
Dear Steve and all,
Did you manage to get your Email subject line working? because mine is still saying the default Cumulus MX Alarm" message.
Here is a screen print of mine: I have restarted Cumulus after I did the change, but that has made no diference. Do I need to add anything else to my code? if so what do I need to add.
Many Thanks for any help and Information
Cheers
Mike
You do not have the required permissions to view the files attached to this post.
Mike
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
-
- Posts: 347
- Joined: Wed 31 Dec 2008 1:56 pm
- Weather Station: Vantage Pro2 Plus Daytime FARS
- Operating System: Windows 11 Pro Version
- Location: Poole, Dorset UK
- Contact:
Re: Email subject line
Thank you Freddie, you are right.
Many Thanks
Mike
Mike
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm