$twcweather.alerts Observations

weather

#303

That’s how I started mine. It’s in the Alexa app, under settings, notifications…


#304

Right you are… I was looking on Alexa’s web portal, and it does not show there.
(it only appears on the Alexa app)


#305

Nothing like a freeze watch in April.

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

(expression) $twcweather.alerts[0].headlineText »»» (dynamic) Freeze Watch from FRI 12:00 AM EDT until FRI 8:00 AM EDT

[[adminDistrict:New York, adminDistrictCode:NY, areaId:NYZ179, areaName:Southern Nassau County, areaTypeCode:Z, categories:[[category:Met, categoryCode:2]], certainty:Possible, certaintyCode:3, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:f43a0e8d-5931-3447-8c20-98d940b98396, disclaimer:null, effectiveTimeLocal:2020-04-17T00:00:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Freeze Watch, eventTrackingNumber:0001, expireTimeLocal:2020-04-17T08:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1587124800, flood:null, headlineText:Freeze Watch from FRI 12:00 AM EDT until FRI 8:00 AM EDT, ianaTimeZone:America/New_York, identifier:b98e2ef3053167abb826fb0c3a5db421, issueTimeLocal:2020-04-16T03:45:00-04:00, issueTimeLocalTimeZone:EDT, latitude:00.00, longitude:-00.00, messageType:New, messageTypeCode:1, officeAdminDistrict:New York, officeAdminDistrictCode:NY, officeCode:KOKX, officeCountryCode:US, officeName:New York City, onsetTimeLocal:2020-04-17T00:00:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:FZ, processTimeUTC:1587023168, productIdentifier:NPW, responseTypes:[[responseType:Prepare, responseTypeCode:3]], severity:Severe, severityCode:2, significance:A, source:National Weather Service, urgency:Future, urgencyCode:3]]


#306

Thanks, @Koyfam!

Freeze Watch (and all related data) has been added to the Wiki now.


#307

Latest Update code 9kji


#308

9kji isn’t working for me, but uqup is (post #287)


#309

I just added Freeze Watch to the Alert_Data in uqup. I’ll take a look at it. But you can just add Freeze Watch to Alert_Data in the uqup and you will be up to date.


#310

Updated piston.
As we have all learned, setting a variable in the Define section can cause problems. Well, I found one. Setting Repeat_Count = 0 in the Define section was causing an error. So I moved it to the body. Please let me know if any other modifications need to be made.


#311

Hi all, I’m new to how all of this stuff works. But I noticed that TWC now have a COVID-19 disease tracker APIs, as per the documentation here:

Can someone cleverer than me explain if it would be possible to use these parameters in webCoRE?


#312

More info can be found here if it helps?
https://weather.com/swagger-docs/ui/sun/v3/sunV3DiseaseTracker.json


#313

I am certainly not an expert with API calls and such. There is quite a bit of information available in the API source your listed. Yes, you could certainly write webcore code to access that data. But I feel that the CDC, your state, and your local health department are an excellent source of that information that has already been collected into a meaningful format.


#314

WebCoRE can access APIs that you are authorized to view.
(notice all the examples above reference “apiKey”)

I am curious how much TWC is charging consumers for that data access.


#315

I did notice the api_key

image


#316

Got a new alert today. Seems to be bundled with Small Craft Advisory.

eventDescription:High Surf Advisory

[[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:Likely, certaintyCode:2, countryCode:US, countryName:UNITED STATES OF AMERICA, detailKey:96585138-defa-3018-93e7-db1f68d2bc85, disclaimer:null, effectiveTimeLocal:2020-05-18T15:36:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:Small Craft Advisory, eventTrackingNumber:0062, expireTimeLocal:2020-05-19T18:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1589925600, flood:null, headlineText:Small Craft Advisory from MON 3:36 PM EDT until TUE 6:00 PM EDT, ianaTimeZone:America/New_York, identifier:72abd2ce0995171b94b7e3cf2ac8c2e4, issueTimeLocal:2020-05-18T15:36:00-04:00, issueTimeLocalTimeZone:EDT, latitude:41.02, longitude:-73.32, messageType:Update, messageTypeCode:2, officeAdminDistrict:New York, officeAdminDistrictCode:NY, officeCode:KOKX, officeCountryCode:US, officeName:New York City, onsetTimeLocal:2020-05-18T15:36:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:SC, processTimeUTC:1589830621, productIdentifier:MWW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2], [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:ac42b5fd-9843-38f4-aea0-d167195dff15, disclaimer:null, effectiveTimeLocal:2020-05-19T08:00:00-04:00, effectiveTimeLocalTimeZone:EDT, eventDescription:High Surf Advisory, eventTrackingNumber:0001, expireTimeLocal:2020-05-20T06:00:00-04:00, expireTimeLocalTimeZone:EDT, expireTimeUTC:1589968800, flood:null, headlineText:High Surf Advisory from TUE 8:00 AM EDT until WED 6:00 AM EDT, ianaTimeZone:America/New_York, identifier:4deee920a49f842f279c3fd2c6d3418f, issueTimeLocal:2020-05-18T15:34: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:2020-05-19T08:00:00-04:00, onsetTimeLocalTimeZone:EDT, phenomena:SU, processTimeUTC:1589830463, productIdentifier:CFW, responseTypes:[[responseType:Avoid, responseTypeCode:5]], severity:Minor, severityCode:4, significance:Y, source:National Weather Service, urgency:Expected, urgencyCode:2]]


#317

Thanks, @Koyfam!

High Surf Advisory (and all related data) has been added to the Wiki now.