Sump Pump Smart Automation
I live in a climate where it will rain 2 inches one day and hard-freeze the next. This happened the other day and my sump pump kept running well after the freeze set in. Since my sump pump drains to the street, this caused a huge sheet of ice to form in the street. My neighbors were not happy. My goals with this project:
- Create a smart sensor that will only turn on my sump pump if the sump basin gets "too full".
- Don't flood my recently renovated basement!
- Try to do it for fairly cheap-o.
Supplies
- (1) 2"x16" PVC pipe
- (1) 3/4"x2" PVC pipe
- (2) 3/4" PVC plug2
- (1) SmartThings Multipurpose Sensor
- (1) SmartThings outlet
- (1) 3.27 x 3.19 x 2.20 inch Waterproof Dustproof ABS Plastic Electrical Box
- Some electrical tape
- Some water-tight PVC adhesive
- A power drill with 1/4" bit
- Some twist-ties
I did not end up using the Plastic Hanger Strap or Plumber's tape (as seen in the picture).
Drill Water Inlet Holes
Drill some holes through the large PVC pipe. This will allow water to have more routes into the pipe (instead of getting in only through the bottom).
If there are any burrs of PVC inside the pipe, be sure to scrape them out. If you don't, the float (step 2) might catch... rendering your sensor unable to do its job.
Make the "Float"
- Use the water-tight glue to seal one of the 3/4" PVC plugs into the 3/4"x2" PVC pipe.
- After it dries, drop the magnetic piece of the multipurpose sensor into the 3/4" pipe.
- Wrap some black tape around the threads of the second plug (or use more glue if you prefer) and seal up the "float".
Secure the Sensor to the PVC
- Secure the multipurpose sensor inside of the waterproof box and close the box.
- I used electrical tape to secure the box to the pipe - be sure to attach the box to the pipe at the place where you want the water level to be when you want the sump pump to turn on.
- I also used some twist-ties to make a criss-cross pattern in the holes at the opposite end of the PVC to make retrieving the float easier if I ever need to take this apparatus out (for example, to change the battery in the sensor).
Slip the Apparatus Into the Sump Basin
- Put the float into the 16" PVC pipe.
- I was fortunate that my PVC was the same length as my sump basin so I wedged the 16" PVC pipe between the floor and the lid of the basin.
- Plug the sump pump into the smart outlet.
Set Up SmartThings Automation
In my SmartThings app, I named my sensor "Sump Sensor" and the smart outlet "Sump Pump" then set up an automation: If "Sump Sensor" is closed then turn "Sump Pump" on + send me a message.
As the water level in the sump basin (and therefore in the 16" PVC pipe) rises, the float will go up. Once the float reaches the sensor, the SmartThings automation will turn on the sump pump and send me a message. I'll come sprinting down the stairs to make sure my basement doesn't flood!
Once winter is over, I'll remove the apparatus and let the sump pump do its job without the automation - this is just a winter precaution.