$twcweather.alerts Observations

weather

#162

Awesome! That section has been fixed on our page.


#163

Based on what we just learned, logically, the new dataPoints should be:

$twcweather.alerts.synopsis
$twcweather.alerts.texts[0].description
$twcweather.alerts.texts[0].instruction
$twcweather.alerts.texts[0].languageCode
$twcweather.alerts.texts[0].overview

I don’t think we’ve tried the last 4 yet…


#164

comes back “null”

The last 4, unfortunately, I already tried, and the come back with nothing


#165

I really hope I am wrong, but it may very well be SmartThings decided not to pay for that informative data… I mean, it has never returned on normal queries to:
$twcweather.alerts


#166

returns the full text again:

[[adminDistrict:Ohio, adminDistrictCode:OH, areaId:OHZ010, areaName:Lorain County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:16c60565-9e09-3845-9a62-2fbd0317a447, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Special Weather Statement, eventTrackingNumber:0000, expireTimeLocal:2019-11-12T20:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1573606800, flood:null, headlineText:Special Weather Statement until TUE 8:00 PM EST, ianaTimeZone:America/New_York, identifier:56af5eda8b87b52d842fd87b517f756f, issueTimeLocal:2019-11-12T18:52: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:TSL, processTimeUTC:1573602783, productIdentifier:SPS, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:S, source:National Weather Service, urgency:Unknown, urgencyCode:5]]


#167

Yea, that’s what I mean. There is no reference in that text to any of the following:

  • synopsis
  • description
  • instruction
  • languageCode
  • overview

#168

Well, crap…

My alert time ran out… it ended at 8:00 PM.


#169

Thanks again for taking the time, @dejavux2


I gotta say though… I find it a bit strange that essentially, the weather alerts come down to only 2 or 3 words…

temp

Logically, it makes sense to have a paragraph of detailed information available at the same time…

Hopefully, that data is just buried, and between all of us, we can dig it up…


#170

That’s the plan!

Whenever I get another alert, I want to play with the “eventDescription”… hopefully it’s something along those lines… like “eventOverview” or “eventNarrative”…

We’ll see…


#171

There’s also “headlineText” to play with… maybe “overviewText” or “narrativeText”…

Now I want to try all of these, but must wait for the next alert… :frowning:


#172

If it helps, here is the link to that 2016 document… About 90% of it has been verified to still be accurate & working.

The main exceptions (still in question) are:

  • synopsis
  • description
  • instruction
  • languageCode
  • overview

#173

Interesting:

I was expecting an error for the following, but instead I got a “null”:

$twcweather.alerts.texts[description]

I was reading through the API standards and trying to decipher…


#174

Don’t know if this is helpful, but I got this a few days:

[[adminDistrict:California
adminDistrictCode:CA
areaId:CAC037
areaName:Los Angeles County
areaTypeCode:C
categories:[[category:Met
categoryCode:2]]
certainty:Unknown
certaintyCode:5
countryCode:US
countryName:UNITED STATES OF AMERICA
detailKey:5c569ba4-6dce-399a-8098-0682a32a4196
disclaimer:null
effectiveTimeLocal:null
effectiveTimeLocalTimeZone:null
eventDescription:Flood Advisory
eventTrackingNumber:0090
expireTimeLocal:2019-11-20T13:30:00-08:00
expireTimeLocalTimeZone:PST
expireTimeUTC:1574285400
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:None
floodSeverityCode:N
floodStartTimeLocal:null
floodStartTimeLocalTimeZone:null]
headlineText:Flood Advisory until WED 1:30 PM PST
ianaTimeZone:America/Los_Angeles
identifier:bc1515298df6d2ad341443509d9dcce9
issueTimeLocal:2019-11-20T12:09:00-08:00
issueTimeLocalTimeZone:PST
latitude:0
longitude:0
messageType:Update
messageTypeCode:2
officeAdminDistrict:California
officeAdminDistrictCode:CA
officeCode:KLOX
officeCountryCode:US
officeName:Los Angeles
onsetTimeLocal:null
onsetTimeLocalTimeZone:null
phenomena:FA
processTimeUTC:1574280579
productIdentifier:FLS
responseTypes:[[responseType:Avoid
responseTypeCode:5]]
severity:Moderate
severityCode:3
significance:Y
source:National Weather Service
urgency:Unknown
urgencyCode:5]]


#175

Thanks for the contribution, @Phrankc

I double checked, and I believe all of that data is already on the Wiki page


#176

Got a new one that I didn’t see on the wiki.

(expression) $twcweather.alerts.eventDescription »»» (dynamic) [Gale Watch]

[[adminDistrict:null, adminDistrictCode: , areaId:ANZ335, areaName:Long Island Sound West of New Haven CT/Port Jefferson NY, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Possible, certaintyCode:3, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:3625a1ad-de07-3ca1-aec6-eba47166553c, disclaimer:null, effectiveTimeLocal:2019-12-18T18:00:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:Gale Watch, eventTrackingNumber:0030, expireTimeLocal:2019-12-19T06:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1576753200, flood:null, headlineText:Gale Watch from WED 6:00 PM EST until THU 6:00 AM EST, ianaTimeZone:America/New_York, identifier:6296ce83bf739ee2b7531f2b8e2059be, issueTimeLocal:2019-12-17T09:41:00-05:00, issueTimeLocalTimeZone:EST, latitude:41.02, longitude:-73.32, messageType:Update, messageTypeCode:2, officeAdminDistrict:New York, officeAdminDistrictCode:NY, officeCode:KOKX, officeCountryCode:US, officeName:New York City, onsetTimeLocal:2019-12-18T18:00:00-05:00, onsetTimeLocalTimeZone:EST, phenomena:GL, processTimeUTC:1576593711, productIdentifier:MWW, responseTypes:[[responseType:Prepare, responseTypeCode:3]], severity:Moderate, severityCode:3, significance:A, source:National Weather Service, urgency:Future, urgencyCode:3]]


#177

So curious what the latest piston is for this? I would like to use and see if I can assist in any way.


#178

The piston is in the first post here… and is used to gather alerts for our location…

99% of the time, nothing happens, but when there is an alert, it writes to the log, and sends a SMS to make you aware.

When you get a unique alert, you can copy/paste directly from your log to here, and I will keep the Wiki updated.

(and “Thank You” in advance!)


PS. I have not forgotten your last post, @Koyfam


#179

Going to partake in this but not sure I’ll be of much help. Florida doesn’t have a lot of different weather events. sun/rain on/off. pretty much it.


#180

Thanks man, I appreciate it. You may still get alerts for hurricanes or flooding that we have not seen yet…


#181

After two straight days of rain in Georgia I got these…

12/23/2019, 7:38:48 AM +103ms
+1ms ╔Received event [Home].time = 1577104728380 with a delay of -277ms
+1671ms ║Length changed from 2 to 1 (7:38 A.M.)
+2791ms ║adminDistrict:Georgia, adminDistrictCode:GA, areaId:GAZ033, areaName:North Fulton County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:3e48e5ff-0250-37b2-bb0f-d770347a8aeb, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Flood Watch, eventTrackingNumber:0004, expireTimeLocal:2019-12-24T07:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1577188800, 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 Watch until TUE 7:00 AM EST, ianaTimeZone:America/New_York, identifier:aed45f723e0e9ccb8ff2d1e20e8…[TRUNCATED]
+2796ms ║Setting up scheduled job for Mon, Dec 23 2019 @ 8:38:48 AM EST (in 3597.482s)

12/21/2019, 3:38:47 PM +97ms
+0ms ╔Received event [Home].time = 1576960728380 with a delay of -1283ms
+1364ms ║Length changed from 0 to 2 (3:38 P.M.)
+2473ms ║adminDistrict:Georgia, adminDistrictCode:GA, areaId:GAZ033, areaName:North Fulton County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Possible, certaintyCode:3, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:6b56efa8-2854-34ec-ac04-ec7696b750ce, disclaimer:null, effectiveTimeLocal:2019-12-22T13:00:00-05:00, effectiveTimeLocalTimeZone:EST, eventDescription:High Wind Watch, eventTrackingNumber:0001, expireTimeLocal:2019-12-23T07:00:00-05:00, expireTimeLocalTimeZone:EST, expireTimeUTC:1577102400, flood:null, headlineText:High Wind Watch from SUN 1:00 PM EST until MON 7:00 AM EST, ianaTimeZone:America/New_York, identifier:7c08792d5a3c6ab9bbe0c00116f5ce56, issueTimeLocal:2019-12-21T14:52:00-05:00, issueTimeLocalTimeZone:EST, latitude:34.08, longitude:-84.34, messageType:New, messageTypeCode:1, officeAdminDistrict:Georgia, officeAdminDistrictCode:GA, officeCode:KFFC, officeCountryCode:US, officeName:Atlanta, onsetTimeLocal:2019-12-22T13:00:00-05:00, onsetTimeLocalTimeZo…[TRUNCATED]
+2478ms ║Setting up scheduled job for Sat, Dec 21 2019 @ 4:38:48 PM EST (in 3598.806s)