https://github.com/paul-reed/frost-warnings-script
https://github.com/paul-reed/frost-warnings-script
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paul-reed/frost-warnings-script
- Owner: Paul-Reed
- Created: 2013-10-20T20:44:58.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-10-18T18:59:26.000Z (over 9 years ago)
- Last Synced: 2025-01-01T12:44:51.281Z (about 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Frost-Warnings-script
=====================
As a keen gardener, I want to be notified about overnight frosts to enable me to cover over tender plants & limit damage, especially in spring when there is new tender growth, so I've just modded a little script which sends a push message to my phone at midday, if the nightime temperature is predicted to fall below 3 degC.
A cron job runs the script each midday, which obtains a JSON weather data string from Wunderground.com via their API and from which the predicted overnight temperature is parsed. If this is below 3 degC, then Curl is used to call the Boxcar script as described http://openenergymonitor.org/emon/node/2443
The script can easily be changed to get other weather data, such as if wind gusts exceed certain speed, rainfall per hour more than... etc.