I’ve been meaning to do this for some time… So far, there’s been no alerts for my location, but I am now using a piston similar to this to try to capture the events:
Once some data comes in, I may split it into more specific variables, but I am flying blind at the moment…
Of course, the real goal of this piston is to gather data for the Wiki page.
All of us can benefit if we import this piston, and share our $twcweather.alerts
. (since my location is very calm at the moment) The good news is, it will only log & send a SMS when there is a change in the weather alert, so you shouldn’t get spammed. If you don’t want the notifications, you can safely delete the SMS command (line 38), and the piston will still gather data in the log.
(I recommend that you turn logging to Minimal before editing so the log does not get erased)
Please post any Alerts (verbatim) that appear for your location & I’ll update the Wiki with your contributions.
To contribute anonymously, you can change the city/county name etc., but otherwise it’s crucial to post exact spelling, symbols & spacing. (since thousands of people will reference & code, based on that page)
EDIT :
When posting your alerts here, everybody please use 0 for your latitude & longitude.
(This is for your safety. An example seen below)
EDIT 2 :
Questions about all other weather data (that’s not an Alert) can be found in another thread.