I've been trying setup a very similar function. I have a temperature sensor, but the current interfaces don't handle temperature very well. The rules let me set one based on temp, but I can't select less than or greater than. Not very useful.
Looking at the web socket API, it should be possible to write an app that produces notifications based on temp. It's been awhile since I've done any android programming.