www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > CFGuy Plug-Ins/Scripts > WeatherXML

WeatherXML Discussion area for WeatherXML

Reply
 
Thread Tools Display Modes
  #1  
Old September 14th, 2017, 01:35 AM
slbuck slbuck is offline
Seer Plus
 
Join Date: Jun 2015
Location: Texas
Posts: 105
Alert Trigger Questions

Couple of quick questions regarding alert triggers.

1) During Hurricane Harvey, our location received hundreds of NWS alerts for all kinds of weather including tropical storms, hurricane, flood, flash flood, tornado, etc. Since we don't live anywhere near a river or the coast, I was trying to configure my trigger alert for anything that wasn't flood related. I tried putting in "warning" into the "trigger keywords" field as well as specific items like "tornado,thunderstorm,hurricane,tropical" comma separated, and then put in the word "flood" in the "alert name not contains" but then I didn't get any alerts. I took flood out of the not contains field, but then would sometimes receive flood warnings since the alert summary might contain hurricane or tropical in it. How do you create a generic alert trigger for any warnings except for flood warnings? Attached is what I currently have, but this generated flood warnings and watches due to the keyword search.

2) relates to multiple alerts received at the same time. It appears that the alert trigger fires multiple times, one for each matching alert, but this causes media and speech to be cutoff as the next alert is fired. Is there a way to only have the alert trigger fire for the most recent alert, or more preferred, the most critical alert? Say a severe thunderstorm watch is in effect and also a tornado warning. I'd like for the tornado warning to be the only alert that is triggered so it doesn't get cut off by the less severe thunderstorm watch. How are multiple matching alerts supposed to be handled?
Attached Images
 
Reply With Quote
  #2  
Old September 14th, 2017, 04:14 PM
CFGuy's Avatar
CFGuy CFGuy is offline
Have A Blessed Day
 
Join Date: Jan 2001
Location: Basehor KS
Posts: 5,050
Quote:
Originally Posted by slbuck View Post
2) relates to multiple alerts received at the same time. It appears that the alert trigger fires multiple times, one for each matching alert, but this causes media and speech to be cutoff as the next alert is fired. Is there a way to only have the alert trigger fire for the most recent alert, or more preferred, the most critical alert? Say a severe thunderstorm watch is in effect and also a tornado warning. I'd like for the tornado warning to be the only alert that is triggered so it doesn't get cut off by the less severe thunderstorm watch. How are multiple matching alerts supposed to be handled?
I don't think there is any way around this. For some reason, NOAA doesn't send the entire text for an alert.
Here is an example of the text of an alert from my area yesterday.

<summary>...SIGNIFICANT WEATHER ADVISORY FOR SOUTH CENTRAL CHEYENNE AND NORTH CENTRAL SHERMAN COUNTIES IN NORTHWESTERN KANSAS UNTIL 330 PM MDT/430 PM CDT/... At 302 PM MDT/402 PM CDT/, Doppler radar was tracking a strong thunderstorm 13 miles north of Goodland, moving northeast at 15 mph. Nickel size hail and winds in excess of 40 mph will be possible with </summary>

The alert does give a URL for more info about the alert. When I rewrite the alerts section I do plan on grabbing the full text from the URL but it will be a bit longer. I just finished the maps rewrite and I am working on adding some new devices that have been requested for a while. After that I will start on the alerts. Most likely sometime next month I will past a thread to ask for changes/additions to the alerts. One of the goals is to use Weather Underground for alerts as well as NOAA. A big goal is to no longer store the Triggers in an ini file.


For part 1 of your question, I will look through the code tonight rather than try to answer from memory.
__________________
--
Jeff Farmer
HS 3.0.0.312, HSPhone
My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
Other Plugins In Use: APCUPSD, EasyTrigger, FBitSeer, HSTouch Server, Kinect, PHLocation, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer 1122, Panasonic BDT-110, Panasonic BDT-210 x2
Reply With Quote
  #3  
Old September 15th, 2017, 08:45 AM
CFGuy's Avatar
CFGuy CFGuy is offline
Have A Blessed Day
 
Join Date: Jan 2001
Location: Basehor KS
Posts: 5,050
If you can set the schedule to keep back up files for the alert and set the alerts up the way you described. Check the backups when you don't get an alert that should have ran and send me that file so I can look at the data to try to figure out what happened.
Without some real values to look at it is hard to figure out what is causing this.

I will setup an alert on my system as well to test it.
Reply With Quote
  #4  
Old September 22nd, 2017, 10:50 PM
slbuck slbuck is offline
Seer Plus
 
Join Date: Jun 2015
Location: Texas
Posts: 105
Here's an alert trigger with an alert title contains keyword search for "special" and a title not contains "flood". Ignore the Trigger name since I was testing with a county that actually had a weather event.

When it's just special, I get the alert, but when I add the not contains flood (which should also get an alert since the alert is a special weather statement which matches the special keyword and doesn't contain flood), I don't get an alert.

I imagine this will be similar behavior if I used keywords contains and not contains for the name and summary.

I've attached a screenshot of both the trigger settings and the alert xml.
Attached Images
 
Attached Files
File Type: xml NOAlerts1-2017-09-22-21-20-51.xml (4.9 KB, 2 views)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alert ... Can't get trigger to fire dcdelong WeatherXML 2 September 21st, 2016 10:06 AM
How do I get alert information from a script with Alert#:Trigger# mrceolla WeatherXML 6 August 5th, 2016 05:54 PM
Alert Trigger Words CharlieWayne WeatherXML 2 June 14th, 2015 10:05 PM
Alert Trigger Overst WeatherXML 1 March 5th, 2015 12:15 AM
Alert/Trigger Data kideon WeatherXML 0 June 19th, 2014 04:32 PM


All times are GMT -4. The time now is 01:09 AM.


Copyright HomeSeer Technologies, LLC