$twcweather.alerts Observations

weather

#61

Didn’t see this one in the wiki yet, so I’m adding it here.

Weather alert: [[adminDistrict:Alabama, adminDistrictCode:AL, areaId:ALZ006, areaName:Madison County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:287e4de4-794b-3986-83c6-bdbdc70d9de1, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Special Weather Statement, eventTrackingNumber:0000, expireTimeLocal:2019-08-04T09:00:00-05:00, expireTimeLocalTimeZone:CDT, expireTimeUTC:1564927200, flood:null, headlineText:Special Weather Statement until SUN 9:00 AM CDT, ianaTimeZone:America/Chicago, identifier:07ac7e7d854c621d1aa658eabd47d31f, issueTimeLocal:2019-08-04T07:19:00-05:00, issueTimeLocalTimeZone:CDT, latitude:00.00, longitude:-00.00, messageType:New, messageTypeCode:1, officeAdminDistrict:Alabama, officeAdminDistrictCode:AL, officeCode:KHUN, officeCountryCode:US, officeName:Huntsville, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:TSL, processTimeUTC:1564921180, productIdentifier:SPS, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:S, source:National Weather Service, urgency:Unknown, urgencyCode:5]]


#62

Here is one for Rip tide.

Weather alert: [[adminDistrict:New York, adminDistrictCode:NY, areaId:NYZ179, areaName:Southern Nassau County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:bc29cf79-4ab1-349e-8f45-0a68f06d5c3a, disclaimer:null, effectiveTimeLocal:2019-08-07T06:00:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Rip Tide Statement, eventTrackingNumber:0008, expireTimeLocal:2019-08-07T21:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1565226000, flood:null, headlineText:Rip Tide Statement from WED 6:00 AM EDT until WED 9:00 PM EDT, ianaTimeZone:America/New_York, identifier:a297ada8682e73831df8e52ae3e62f7c, issueTimeLocal:2019-08-06T15:20:00-04:00, issueTimeLocalTimeZone:EDT, latitude:40.70, longitude:-73.59, messageType:New, messageTypeCode:1, officeAdminDistrict:New York, officeAdminDistrictCode:NY, officeCode:KOKX, officeCountryCode:US, officeName:New York City, onsetTimeLocal:2019-08-07T06:00:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:RP, processTimeUTC:1565119231, productIdentifier:CFW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Moderate, severityCode:3, significance:S, source:National Weather Service, urgency:Expected, urgencyCode:2]]


#63

Here is one for Marine Weather

Piston state: at 1:42 P.M. on 8/6 saying [[adminDistrict:null, adminDistrictCode: , areaId:AMZ712, areaName:Coastal Waters of Northern Puerto Rico out 10 NM, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Observed, certaintyCode:1, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:9b2901cf-9dcc-3818-b5ea-6884ffec413b, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Marine Weather Statement, eventTrackingNumber:1, expireTimeLocal:2019-08-06T14:30:00-04:00, expireTimeLocalTimeZone:AST, expireTimeUTC:1565116200, flood:null, headlineText:Marine Weather Statement until TUE 2:30 PM AST, ianaTimeZone:America/Puerto_Rico, identifier:d306efc5788ca1bf255a3c369d81cbc8, issueTimeLocal:2019-08-06T13:41:00-04:00, issueTimeLocalTimeZone:AST, latitude:00.00, longitude:-00.00, messageType:New, messageTypeCode:1, officeAdminDistrict:Puerto Rico, officeAdminDistrictCode:PR, officeCode:TJSJ, officeCountryCode:US, officeName:San Juan, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:MA, processTimeUTC:1565113301, productIdentifier:MWS, responseTypes:[[responseType:Monitor, responseTypeCode:6]], severity:Minor, severityCode:4, significance:S, source:National Weather Service, urgency:Expected, urgencyCode:2]]


#64

Thanks everyone!

I will add these to the page in a few hours…


#65

I hate to say this, but it seems that
$twcweather.alerts.length
will also count nulls. :frowning_face:

temp
- OR -
temp

I have had about 15 of these the past few days.
Each time, the weather was only slightly bad.
(not worthy of an alert, IMO)


On a clear day, it usually returns:

temp


#66

The wiki for $twcweather.alerts has been updated.


#68

Thanks @WCmore. That sucks about it counting nulls.


#69

Piston state: at 5:08 P.M. on 8/7 saying [[adminDistrict:Tennessee, adminDistrictCode:TN, areaId:TNC093, areaName:Knox County, areaTypeCode:C, categories:[[category:Other, categoryCode:12]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:e5943d93-5b8c-3947-9912-7c47908c9549, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Civil Emergency Message, eventTrackingNumber:0000, expireTimeLocal:2019-08-07T19:15:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1565219700, flood:null, headlineText:Civil Emergency Message until WED 7:15 PM EDT, ianaTimeZone:America/New_York, identifier:e26f6474da4efb75c7c7c7a6959b648d, issueTimeLocal:2019-08-07T17:05:00-04:00, issueTimeLocalTimeZone:EDT, latitude:00.00, longitude:00.00, messageType:New, messageTypeCode:1, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KOHX, officeCountryCode:US, officeName:Nashville, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:TCE, processTimeUTC:1565211936, productIdentifier:CEM, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Moderate, severityCode:3, significance:M, source:National Weather Service, urgency:Unknown, urgencyCode:5]]


#70

Piston state: at 1:47 P.M. on 8/7 saying [[adminDistrict:Puerto Rico, adminDistrictCode:PR, areaId:PRZ005, areaName:North Central, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Unknown, certaintyCode:5, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:368aeb51-8b17-3df1-9742-2974b90ef641, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Special Weather Statement, eventTrackingNumber:0000, expireTimeLocal:2019-08-07T14:15:00-04:00, expireTimeLocalTimeZone:AST, expireTimeUTC:1565201700, flood:null, headlineText:Special Weather Statement until WED 2:15 PM AST, ianaTimeZone:America/Puerto_Rico, identifier:d8a1e1171262b774c82a236dfc043174, issueTimeLocal:2019-08-07T13:46:00-04:00, issueTimeLocalTimeZone:AST, latitude:00.00, longitude:-00.00, messageType:New, messageTypeCode:1, officeAdminDistrict:Puerto Rico, officeAdminDistrictCode:PR, officeCode:TJSJ, officeCountryCode:US, officeName:San Juan, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:TSL, processTimeUTC:1565199981, productIdentifier:SPS, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:S, source:National Weather Service, urgency:Unknown, urgencyCode:5]]


#71

Grrr… I have had 50-60 changes to my $twcweather.alerts.length, but each time, $twcweather.alerts has been null…!!!

temp


Would someone be willing to import the following piston to help me determine if this is normal?

If you don’t want the SMS, you can safely delete line 42, and the data will still be recorded in the log


#72

Of course, I’m in…


#73

So, I guess I’m capturing the wrong information for this thread. I’m only capturing the following two:

$twcweather.alerts[0].eventDescription
$twcweather.alerts[0].headlineText

I’m using them to announce through Echo Speaks and to send SMS messages using the following pistons (which is working perfectly now):

Gather information Piston:

Announcements Piston:


#74

Every bit helps. You are under no obligation to capture the entire alert. The only reason I asked that originally is to gather data for all possible outcomes. (It has been calm in my location the past month) Without the contributions of everyone here, the wiki page would take MONTHS for me to put together…


Side Note:
You may want to use:
$twcweather.alerts.eventDescription
$twcweather.alerts.headlineText
without the zeros, since sometimes there is more than one alert currently active.
(with alerts, the 1 does not mean tomorrow. It means the second alert for right now)


#75

For clarity, the responses after this double alert were:


In other words, if you were tracking:
$twcweather.alerts[0].eventDescription
you might not be alerted to the fog…


Edit:
It is very possible that I am describing:
$twcweather.alerts.eventDescription[0]
More testing is required…


#76

@WCmore, I have not received a response from The Weather Company about providing a list of available weather warnings. I guess we are on our own.


#77

Thanks for the update…

I suspect that TWC uses different weather sources in different countries. If my hunch is correct, then the results may not be standardized, and TWC would not have the answers we seek…

Of course, more testing is required…


#78

Does this help

Weather alert: [[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:5de0f31f-2c66-34e9-812c-34f7058f3c45, disclaimer:null, effectiveTimeLocal:null, effectiveTimeLocalTimeZone:null, eventDescription:Significant Weather Advisory, eventTrackingNumber:0000, expireTimeLocal:2019-08-19T18:30:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1566253800, flood:null, headlineText:Significant Weather Advisory until MON 6:30 PM EDT, ianaTimeZone:America/New_York, identifier:9a9f2b78d9af75254b213d75b5d7fcbc, issueTimeLocal:2019-08-19T17:53:00-04:00, issueTimeLocalTimeZone:EDT, latitude:35.99, longitude:-83.94, messageType:New, messageTypeCode:1, officeAdminDistrict:Tennessee, officeAdminDistrictCode:TN, officeCode:KMRX, officeCountryCode:US, officeName:Knoxville/Tri-Cities, onsetTimeLocal:null, onsetTimeLocalTimeZone:null, phenomena:TSG, processTimeUTC:1566251600, productIdentifier:SPS, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:Y, source:National Weather Service, urgency:Unknown, urgencyCode:5]]


#79

Alert.length is back to 0


#80

Thanks @Pantheon!

I will combine & add the last 3 alerts to the wiki on my next day off…