I’m pleased to announce the release of Ready For Nature, my first effort in SmartApp coding. This SmartThings app is a fork of the Ready for Rain app by @imbrian that is currently in the Marketplace, with the following enhancements:
- An option to check the hourly forecast instead of the whole day forecast, which is useful during days with changeable weather.
- The ability to send TTS alerts to a configured media speaker (devices with capability.musicPlayer)
- An option to check and alert on the Air Quality Index via the U.S. EPA AirNow API.
- An option to check and alert on the pollen index via Pollen.com.
I actually finished the current version in October but wanted to give it a period of real-world testing before announcing the release. It’s been working very well for us over the winter so I’m pretty sure it should work for others without any major issues.
What use is this then?
If you’ve used Ready For Rain before then you probably already have an idea for how this could be useful, and the extra options might be handy for you. My personal use case for this is that it monitors our front door and warns us via a DLNA speaker if we are about to be rained/snowed on as we leave to walk the dog. The air quality and pollen monitoring is also useful to let my my wife knows if she needs to take her inhaler. Alert levels are configurable via standard AQI and pollen count thresholds so you can tailor it to your own level of sensitivity.
All features including pollen data work out of the box except for air quality index (pollution) data, which requires you to register for a free personal API key from AirNow. Both Pollen and Air Quality features are U.S. only (sorry international users).
Code is linked below, but I recommend using GitHub integration if you can. I also recommend reading the ReadMe file, especially if you want to use the Air Quality feature, as it goes into more detail about where to register for an API key and how to set it up.