I am not able to get the text message to come across
$twcweather.alerts Observations
A couple of months back, SmartThings (in their infinite wisdom) blocked SMS messages to all countries except for the US. (plus, US residents have a strict daily limit on SMS messages)
Also, if you are in the US, the first SMS after that change requires you to respond to that text, to allow all other SMS messages to come thru. (the response was “YES” to allow)
Here is mine. TWC weather is pulling the wrong expiration time. Should be 9:00 PM, but the effective time is correct. Any ideas?
Piston state: at 2:42 P.M. on 12/27 saying [[adminDistrict:Minnesota, adminDistrictCode:MN, areaId:MNZ059, areaName:Wright County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:f20fa23e-7fdf-38e5-84c9-c3ee289b5010, disclaimer:null, effectiveTimeLocal:2019-12-28T06:00:00-06:00, effectiveTimeLocalTimeZone:CST, eventDescription:Winter Weather Advisory, eventTrackingNumber:0038, expireTimeLocal:2019-12-28T15:00:00-06:00, expireTimeLocalTimeZone:CST, expireTimeUTC:1577566800, flood:null, headlineText:Winter Weather Advisory from SAT 6:00 AM CST until SAT 3:00 PM CST, ianaTimeZone:America/Chicago, identifier:ab988630ed7cfa3f8c59c3f002f8f46e, issueTimeLocal:2019-12-27T14:40:00-06:00, issueTimeLocalTimeZone:CST, latitude:45.17, longitude:-93.96, messageType:New, messageTypeCode:1, officeAdminDistrict:Minnesota, officeAdminDistrictCode:MN, officeCode:KMPX, officeCountryCode:US, officeName:Minneapolis, onsetTimeLocal:2019-12-28T06:00:00-06:00, onsetTimeLocalTimeZone:CST, phenomena:WW, processTimeUTC:1577479245, productIdentifier:WSW, responseTypes:[[responseType:Execute, responseTypeCode:4]], severity:Moderate, severityCode:3, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2]]
Thanks for your contribution, @piersm2…
(I will update the Wiki on my next day off)
Here are the times I see in your post:
It looks like this prediction came in on the 27th. At that time, the estimated time for your “Winter Weather Advisory” was 6AM thru 3PM on the 28th.
I expect the next message you receive will have a new expiration time.
Here is a screenshot of the smartapp code that I was able to get on a test build. I was trying to come up with a smartapp to notify me of severe weather.
Also, when I just pull $twcweather, this is what I get. Only the alerts table.
I can pull forecast and conditions though by using $twcweather.forecast and $twcweather.conditions
I just put the full texts in the log field and I can get this to run currently in IDE
[[description:…WINTER WEATHER ADVISORY REMAINS IN EFFECT UNTIL MIDNIGHT CST
TONIGHT…
-
WHAT…Additional snow accumulations up to 1 inch. Areas of
blowing snow from winds gusting as high as 35 mph. -
WHERE…Portions of central, east central, south central,
southwest and west central Minnesota. -
WHEN…Until midnight CST tonight.
-
IMPACTS…Plan on slippery road conditions. Patchy blowing snow
could significantly reduce visibility. The hazardous conditions
will impact the evening commute.
PRECAUTIONARY/PREPAREDNESS ACTIONS…
Slow down and use caution while traveling.
The latest road conditions for the state you are calling from can
be obtained by calling 5 1 1.
&&
, instruction:null, languageCode:en-US, overview:…ONE LAST ROUND OF WINTRY PRECIPITATION TODAY AND THIS EVENING
BEFORE THE SYSTEM FINALLY DEPARTS…
.Snow is expected to continue this afternoon and evening as the
potent system continues to move east of the area. Snow so far
today has ranged from around an inch in western Minnesota to up to
4 inches in western Wisconsin. Snowfall will quickly diminish
from north to south between 8 pm and midnight this evening.
Additional snowfall accumulation of 2 to 4 inches are possible
along and east of I-35, with no further accumulation in western
Minnesota. Storm total snow accumulation will range from 4 to 7
inches generally along and east of I-35, with amounts tapering
down to 1 inch total along the border with South Dakota.
Northwest winds have increased today with gusts of 30 to 35 mph
possible, causing areas of blowing snow. This evening’s commute is
expected to be severely impacted.
A Winter Storm Warning is in effect through this evening for all
of western Wisconsin and Chisago County in Minnesota. A Winter
Weather Advisory is in effect for the remainder of central and
southern Minnesota through this evening.
]]
… and now the million dollar question…
Can you use webCoRE to return the data as seen in your last post?
from what I can tell, we need to use the detailKey as a reference into the alertDetail table
Got a few, finally got a chance to post something
Piston state: at 1:15 P.M. on 1/4 saying [[adminDistrict:Florida, adminDistrictCode:FL, areaId:FLZ046, areaName:Seminole County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:d3d57002-e060-3266-a4c9-2ba751482434, disclaimer:null, effectiveTimeLocal:2020-01-04T08:58:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Lake Wind Advisory, eventTrackingNumber:0001, expireTimeLocal:2020-01-04T19:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1578182400, flood:null, headlineText:Lake Wind Advisory from SAT 8:58 AM EST until SAT 7:00 PM EST, ianaTimeZone:America/New_York, identifier:8f3c541b7ad6cfc8fd4f8b123612ecfc, issueTimeLocal:2020-01-04T08:58:00-05:00, issueTimeLocalTimeZone:EST, messageType:New, messageTypeCode:1, officeAdminDistrict:Florida, officeAdminDistrictCode:FL, officeCode:KMLB, officeCountryCode:US, officeName:Melbourne, onsetTimeLocal:2020-01-04T08:58:00-05:00, onsetTimeLocalTimeZone:EST, phenomena:LW, processTimeUTC:1578146325, productIdentifier:NPW, responseTypes:[[responseType:Execute, responseTypeCode:4]], severity:Moderate, severityCode:3, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2]]
I did not see WIND ADVISORY in our list.
[[adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNZ069, areaName:Knox County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:bcd0cc03-4130-3543-a905-6d88fd7c7260, disclaimer:null, effectiveTimeLocal:2020-01-11T10:00:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Wind Advisory, eventTrackingNumber:0003, expireTimeLocal:2020-01-12T00:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1578805200, flood:null, headlineText:Wind Advisory from SAT 10:00 AM EST until SUN 12:00 AM EST, ianaTimeZone:America/New_York, identifier:d4d2144206703159b429cdd13c2f67b0, issueTimeLocal:2020-01-10T20:47:00-05:00, issueTimeLocalTimeZone:EST, latitude:00.00, longitude:-00.00, messageType:Update, messageTypeCode:2, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:2020-01-11T10:00:00-05:00, onsetTimeLocalTimeZone:EST, phenomena:WI, processTimeUTC:1578707288, productIdentifier:NPW, responseTypes:[[responseType:Execute, responseTypeCode:4]], severity:Moderate, severityCode:3, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2]]
Tornado Watch
[adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNC093, areaName:Knox County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Possible, certaintyCode:3, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:ee22cc2e-e40b-3428-9737-5bdbad56bc6d, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Tornado Watch, eventTrackingNumber:0015, expireTimeLocal:2020-01-11T21:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1578794400, flood:null, headlineText:Tornado Watch until SAT 9:00 PM EST, ianaTimeZone:America/New_York, identifier:9559ab11a324cfc83f2431cb4949de85, issueTimeLocal:2020-01-11T16:08:00-05:00, issueTimeLocalTimeZone:EST, latitude:00.00, longitude:00.00, messageType:New, messageTypeCode:1, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:TO, processTimeUTC:1578776936, productIdentifier:WCN, responseTypes:[[responseType:Monitor, responseTypeCode:6]], severity:Extreme, severityCode:1, significance:A, source:National Weather Service, urgency:Future, urgencyCode:3]]
Sorry it took so long to update this time. The holidays can get a bit crazy over here…
All 7 of the latest posts have been added to the Wiki now.
New Additions (and contributors):
- Gale Watch (@Koyfam)
- Lake Wind Advisory (@SergL)
- Wind Advisory (@Pantheon)
- Tornado Watch (@Pantheon)
- severity: Extreme (@Pantheon)
On two of them, I was only able to add partial information:
… and one of them, I believe was already listed:
Thanks again for everyone’s ongoing contributions!!
Sorry… haven’t been able to post in a while.
Here’s my latest:
$twcweather.alerts[0].eventDescription
“Winter Weather Advisory”
$twcweather.alerts[0].headlineText
“Winter Weather Advisory until MON 10:00 AM EST”
$twcweather.alerts
“[[adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHZ010, areaName:Lorain County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:73df840b-df72-3e4c-ad6c-191459eaa497, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Winter Weather Advisory, eventTrackingNumber:0005, expireTimeLocal:2020-01-20T10:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1579532400, flood:null, headlineText:Winter Weather Advisory until MON 10:00 AM EST, ianaTimeZone:America/New_York, identifier:40b02e19545cb18747f80641523469e2, issueTimeLocal:2020-01-20T00:14:00-05:00, issueTimeLocalTimeZone:EST, latitude:0, longitude:0, messageType:New, messageTypeCode:1, officeAdminDistrict:Ohio, officeAdminDistrictCode:OH, officeCode:KCLE, officeCountryCode:US, officeName:Cleveland, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:WW, processTimeUTC:1579497270, productIdentifier:WSW, responseTypes:[[responseType:Execute, responseTypeCode:4]], severity:Moderate, severityCode:3, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2]]”
@WCmore Just noticed this one in my logs, it doesn’t appear like it already exists but it also doesn’t appear to have all the info due to logs shortening it.
adminDistrict:Florida, adminDistrictCode:FL, areaId:FLZ046, areaName:Seminole County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:8126dcb0-e35f-398b-a80a-7bf2e9c9fe2a, disclaimer:null, effectiveTimeLocal:2020-01-21T22:00:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Wind Chill Advisory, eventTrackingNumber:0001, expireTimeLocal:2020-01-22T09:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1579701600, flood:null, headlineText:Wind Chill Advisory from TUE 10:00 PM EST until WED 9:00 AM EST, ianaTimeZone:America/New_York, identifier:8cf38fe5261c7c5e4b02bb11895cc44b, issueTimeLocal:2020-01-21T15:18:00-05:00, issueTimeLocalTimeZone:EST, messageType:Update, messageTypeCode:2, officeAdminDistrict:Florida, officeAdminDistrictCode:FL, officeCode:KMLB, officeCountryCode:US, officeName:Melbourne, onsetTimeLocal:2020-01-21…[TRUNCATED]
Thank you both for your contributions. I will add the new info to the Wiki
on my next day off.
[[adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNC093, areaName:Knox County, areaTypeCode:C, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:1eecbbd9-446c-3aba-9f3f-0c452780ffae, disclaimer:null, effectiveTimeLocal:2020-02-06T09:03:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Flood Warning, eventTrackingNumber:0011, expireTimeLocal:2020-02-06T15:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1581019200, flood:[floodCrestTimeLocal:null, floodCrestTimeLocalTimeZone:null, floodEndTimeLocal:null, floodEndTimeLocalTimeZone:null, floodImmediateCause:Excessive Rainfall, floodImmediateCauseCode:ER, floodLocationId:00000, floodLocationName:N/A, floodRecordStatus:N/A, floodRecordStatusCode:OO, floodSeverity:N/A, floodSeverityCode:0, floodStartTimeLocal:null, floodStartTimeLocalTimeZone:null], headlineText:Flood Warning from THU 9:03 AM EST until THU 3:00 PM EST, ianaTimeZone:America/New_York, identifier:af731dd822caf9f63f4c3264897fbfe5, issueTimeLocal:2020-02-06T09:03:00-05:00, issueTimeLocalTimeZone:EST, latitude:35.99, longitude:-83.93, messageType:New, messageTypeCode:1, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:2020-02-06T09:03:00-05:00, onsetTimeLocalTimeZone:EST, phenomena:FA, processTimeUTC:1580997796, productIdentifier:FLW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Severe, severityCode:2, significance:W, source:National Weather Service, urgency:Unknown, urgencyCode:5], [adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNZ069, areaName:Knox County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:ba438c33-970d-3d9f-8fec-fc6a38045e4c, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Flash Flood Watch, eventTrackingNumber:0001, expireTimeLocal:2020-02-07T01:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1581055200, flood:[floodCrestTimeLocal:null, floodCrestTimeLocalTimeZone:null, floodEndTimeLocal:null, floodEndTimeLocalTimeZone:null, floodImmediateCause:Excessive Rainfall, floodImmediateCauseCode:ER, floodLocationId:00000, floodLocationName:N/A, floodRecordStatus:N/A, floodRecordStatusCode:OO, floodSeverity:N/A, floodSeverityCode:0, floodStartTimeLocal:null, floodStartTimeLocalTimeZone:null], headlineText:Flash Flood Watch until FRI 1:00 AM EST, ianaTimeZone:America/New_York, identifier:01f78452913515525cec68c7bc8190b7, issueTimeLocal:2020-02-06T09:25:00-05:00, issueTimeLocalTimeZone:EST, latitude:00.00, longitude:00.00, messageType:Update, messageTypeCode:2, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:FF, processTimeUTC:1580999156, productIdentifier:FFA, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Moderate, severityCode:3, significance:A, source:National Weather Service, urgency:Unknown, urgencyCode:5]]