Author Topic: Modify subject line of custom alert email?  (Read 5372 times)

gvmelbrty

  • Calm
  • *
  • Posts: 9
  • Station Details: VP2
Modify subject line of custom alert email?
« on: December 04, 2013, 09:40:35 PM »
Does anyone know if there is a way to modify the subject line of the custom alert emails generated by WC?

If yes, can the subject line be modified on a per-alert basis?

Thxs, Tom

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Don't believe so. (Re: Modify subject of custom alert email?)
« Reply #1 on: December 04, 2013, 09:58:51 PM »
Dear Tom and WeatherCat schemin' types,

Does anyone know if there is a way to modify the subject line of the custom alert emails generated by WC?

If yes, can the subject line be modified on a per-alert basis?

Beyond the fact that every custom alert name is used to create the email subject line, I believe WeatherCat offers no additional control over the subject line.

What were you trying to do with this?

Cheers, Edouard  [cheers1]

gvmelbrty

  • Calm
  • *
  • Posts: 9
  • Station Details: VP2
Re: Modify subject line of custom alert email?
« Reply #2 on: December 04, 2013, 10:36:19 PM »
Hi, thxs for the quick reply.

No control over subject line... that's what I guessed from a quick reading of the WC manual. But, since WC includes the ability to launch a program when an alert is triggered, I will easily be able to accomplish sending an email with any subject line I desire using an Applescript. I just wanted to know if the capability existed within WC.

I'm going to connect my VP2 rain gauge heater to a Belkin WeMo Switch (WiFi-controlled switch), then, using a custom alert in WeatherCat, such as, "-IF- Temp is less than 35f -AND- Ext Humidity is greater than 70%," send an email to my IFTTT.com account (If This Then That - which has a WeMo channel) with the subject, "#RainHeater-ON", which will activate the WeMo-connected heater. A WC Clearing alert will alternatively turn the heater off via the same process.

The IFTTT trigger in the email subject line can only be one word, so the multi-word subject line generated by WC will not work.

The WeMo Switch can also turn itself on if Yahoo Weather reports current conditions in my area as "Snow," but I'm hoping to get more accurate results controlling the switch via my weather station.

-tom

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Modify subject line of custom alert email?
« Reply #3 on: December 05, 2013, 05:30:06 PM »
It isn't currently possible to set the subject of a custom alert email - it's a neat idea though, so I've raised a feature request for it - thanks for the post  [tup]

gvmelbrty

  • Calm
  • *
  • Posts: 9
  • Station Details: VP2
Re: Modify subject line of custom alert email?
« Reply #4 on: December 05, 2013, 07:59:10 PM »
Great! Thxs for upgrading my little problem to a feature request. .. I haven't even starting using WC yet, but I'm liking it already.

gvmelbrty

  • Calm
  • *
  • Posts: 9
  • Station Details: VP2
Re: Modify subject line of custom alert email?
« Reply #5 on: December 08, 2013, 12:35:26 AM »
While we're discussing email-related feature requests, I have another...

I just read more of the WC manual and I see that weather alert email recipients are set globally for all alerts. It would be helpful to control alert recipients on a per-alert basis.

I envision I would be the sole recipient of the bulk of alert email, but there may be a few cases where others should receive the alert as well. And in the case of the automated heater control mentioned above, the alert email needs to go to IFTTT.com, but really no where else.

Thanks.

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Modify subject line of custom alert email?
« Reply #6 on: December 08, 2013, 08:27:32 AM »
Added to the feature request list - thanks for the suggestion  [tup]