ntfy / OpenWeatherMap custom alerter
This program is for altering via notification in case of severe weather.
It was created using open source and free software.
It may be used, shared, or modified freely with no restrictions.
Rain, freezing temperatures, and tornado (high wind) events are currently configured.
An sqlite3 database (weather.db) is used so it doesn't annoy you with the same alert more than once every 24 hours.
A sample.sql file is included to set up the database for you.
Historic forecast data is kept in the database for future use/analysis.
The exact text of the alerts are kept in the DB, as well as when the notifications are sent.
This is best run as a regularly scheduled script (ala cron).
php 8.1 or >
ntfy (preferably your own server)
OpenWeatherMap API key (free tier as of 12/31/2022)