Sump Pump Notification with Weather Component


#1

Our home’s sump pump get’s used heavily and is deemed a critical device. I have a multisensor tie wrapped to the exit PVC which communicates vibration/motion, when it runs. Works great.

The piston below is set up to notify us if we’ve been getting rain for 2 hours and the sump hasn’t run. It works, but there’s 1 extra aspect I don’t want to have to rely on to make it more robust. Currently, it needs all of these to be functioning:

  1. IFTTT
  2. WeatherUnderground
  3. WebCore
  4. SmartThings

If I can remove the IFTTT component, I’d be thrilled.

1) Give a description of the problem
I have a working solution, I just want to make it more efficient.

2) What is the expected behavior?
_IsRaining is a virtual switch controlled by IFTTT/WeatherUnderground to get status of rain. I’d like to replace this with something that uses webCore/WU exclusively and removes IFTTT from the loop.

4) Post a Green Snapshot of the pistonimage

Does anyone have any idea what can be done to replace this functionality? I’m not looking for up to the minute granularity or anything as I already don’t have that. The alert itself requires 2 hours of build up, so 30 minutes or something is “enough”. I also don’t think it’s worth a hardware purchase (weather station) since I already have a working solution and all I’m looking for is efficiency.

Thanks!

EDIT: I didn’t notice the green screenshot replaced device names but makes sense. My reference to _isRaining is the virtual switch and the temperature sensor is the Weatherstation SmartApp


#2

Webcore has some weather info builtin ($weather.???).
https://wiki.webcore.co/Weather

Also if you get weather underground API code you can get the JSON data from any weather site (this may be what webcore is doing in background???):
http://api.wunderground.com/api/YOURCODE/conditions/q/pws:STATIONID.json

It doesn’t appear to have a ‘its raining right now’ indication but there is precipitation data that could probably work:

"precip_1hr_string":"0.00 in ( 0 mm)",
		"precip_1hr_in":"0.00",
		"precip_1hr_metric":" 0",
		"precip_today_string":" in ( mm)",
		"precip_today_in":"",
		"precip_today_metric":"--",