Leak Detector and Monitor for Condensate Pump
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
Leak Detector and Overflow Switch Monitor Box for Little Giant Condensate Pump
- Rating
- 0 / 5
- Likes
- 0
- Downloads
- 5
- Makes
- 0
- Views
- 58
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Other House Equipment
- License
- Creative Commons — Public Domain
A flood in our storage room/Heater-AC closet made a mess and me realize that I needed to make a monitor. I already have a Home Assistant Server in service for my 3D printer so I am using it along with the ESPHome integration to monitor and send me notifications via email and texts. This meant I did not need to write any code. I will include the EspHome Yaml file I used. I can't cover the installation of Home Assistant and ESPhome but the information is plentiful on YouTube and the Home Assistant Website. It's not hard to do. You will probably have to buy more than one of each part but the per unit cost of the detector is less than $10.
The Little Giant condensate pump is a common fixture in heating and air conditioning installations. I have 3 in use around my home. One for the central AC, one for the dehumidifier in my woodshop and one for my espresso machine waste water. The overflow switch should provide a early warning of an impending flood and the leak detector might catch a leak if you place it correctly. The water stains on the floor should give you a clue.
Of Course, you could just use the box for your project and do your own thing. At the time of this writing (8/2025), there are numerous tiny mcus available that will fit in the box.
The Xiao ESP32C3 is easy to fit in the in the box. It comes with a stick on antenna but I had some other ones around so I used one of them. I like the Xiao ESP32C3 because unlike many of the other mcus available, it is well supported by Seeed Studio and inexpensive. You could add other sensors easily and all without writing a line of code if you use HA and EspHome.
The connector for overflow switch is optional.
I used a 2 pin GX12-2 connector. They are big and easy to use. You should be removing the pump for cleaning at least once a year and may want to leave the leak detector in place.
The inexpensive water level sensor is suitable for this and probably not for it's intended purpose. You will find many warnings that if submersed in water it will corrode. However, if it is submerged in water for this application, You should be on your way to fix the problem and dry it off.
No Battery!
If you use the Xiao ESP32C3 it will maintain and use a 3.7V battery. I don't use a battery because in a power failure, how would I get any notification the box sends? No need for another maintenance item, IMHO.
Building Tips
The cover is optional and there are two different versions of the box and the cover. One with the hole for the screw and heat insert. The other without them.
The knurled knob is nice so you don't need a tool to get access. Don't overtighten it.
I used hot glue to hold the mcu and the water sensor in place. Install the water sensor last as it is easiest to wire when in place. Prewire the connector before installing. You could use Dupont connectors but I prefer soldering for maintenance free connections. You don't need to install the pins on the mcu but it will still fit if you have.
BOM For Leak Sensor Box
Seeed Studio Xiao ESP32C3 w/stick on antenna
1-M3X30 SHCS - Socket Head Cap threaded the whole way
1-M3 Nut for Knurled Thumbscrew
1-M3X5X4 Heat Set Insert (same as Voron)
Printable for Knurled Thumbscrew
Below is the YAML file for EspHome:
esphome:
name: woodshopleakdetector
friendly_name: WoodshopLeakDetector
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "xxxxxxxxxxxx"
ota:
- platform: esphome
password: "xxxxxxxxxxxxxxxxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Woodshopleakdetector"
password: "xxxxxxxxxxxxxx"
captive_portal:
web_server: #make the web portal available
binary_sensor:
- platform: gpio
name: "sumpOverflowSwitch" # NC switch on Little Giant Pump
pin:
number: GPIO4
mode: INPUT_PULLUP
inverted: False
filters:
- delayed_on: 20ms
external_components: # fix for compiler for ESP32C3 still needed 7/27/25
- source: github://pr#7942
refresh: 30s
components:
- adc
sensor:
- platform: adc
name: "leakDetector" #Cheepo PCB Sensor
pin: GPIO3
attenuation: auto
update_interval: 15s # >.5 volts = leak