DIY Solar-Powered Water Tank Level Sensor Using ESP32 + Home Assistant

J-Rat July 23, 2025
Video Thumbnail

About

No channel description available.

Latest Posts

Video Description

If you'd like to support me to create more projects like this one, any donation would be truly appreciated - https://coff.ee/kanejarrats In this video, I walk you through my DIY smart water tank level sensor build using an ESP32 and an ultrasonic sensor (AJ-SR04M). It’s powered by a Li-ion battery and solar panel, with deep sleep mode to save power and extend battery life. The sensor sends updates via Wi-Fi to Home Assistant using ESPHome, and only wakes up once every hour to check the water level. Whether you’re on rainwater, living off-grid, or just tired of climbing ladders to check your tank, this is a simple and effective way to monitor your water levels from anywhere. 📦 Links & files: – Soldering Iron - https://s.click.aliexpress.com/e/_o2DX1w3 – ESP32-C3 Super Mini - https://s.click.aliexpress.com/e/_oBVk1nI – AJ-SR04M Ultrasonic Sensor - https://s.click.aliexpress.com/e/_oEaAtNi – 5v Boost Converter - https://s.click.aliexpress.com/e/_opv83GY – TP4056 - https://s.click.aliexpress.com/e/_oDcbTKy – 470μF capacitor - https://s.click.aliexpress.com/e/_oE6XvxW – 6v 1W Solar Panel - https://s.click.aliexpress.com/e/_oC7Xvgg – Resistors - https://s.click.aliexpress.com/e/_ooGuPLW – My 3D Printer - https://s.click.aliexpress.com/e/_oCWZcgJ – Link to the instructions, code and hardware list - https://github.com/kane5432/ESP32-Water-Level-Sensor What’s inside the build: • ESP32-C3 Super Mini • AJ-SR04M waterproof ultrasonic sensor • TP4056 for battery charging • 3.7V Li-ion battery + 6V solar panel • Custom 3D printed case • ESPHome + Home Assistant integration Got questions or building your own? Drop a comment! 0:00 - Intro 0:59 - Components Used 2:04 - Initial Plan 2:41 - How It Works #ESP32 #DIYProjects #SmartHome #HomeAssistant #ESPHome #WaterTankSensor #IoTProjects #UltrasonicSensor #SolarPowered #batterypowered Information provided in this video is for educational purposes only. If you attempt to recreate/replicate anything you’ve seen in this or any other video, you’re doing so at your own risk.

You May Also Like

Critical Components for DIY Sensors

AI-recommended products based on this video

Loading...
BLUETTI Solar Generator Elite 30 V2, 288Wh LiFePO4 Battery Backup 600W,AC Outlets (Power Lifting 1500W), 0-100% in 70 Min, for Camping, Road Trip, Outage (Solar Panel Optional) ClimatePartner certified
Best Seller

BLUETTI Solar Generator Elite 30 V2, 288Wh LiFePO4 Battery Backup 600W,AC Outlets (Power Lifting 1500W), 0-100% in 70 Min, for Camping, Road Trip, Outage (Solar Panel Optional) ClimatePartner certified

(26)
$218.99
FREE delivery Sep 5 - 17
Loading...
Nanwind Solar 200W Portable Solar Panel Kit,23.5% High Efficiency & IP68 Waterproof,Foldable Lightweight Design with 20A PWM Controller for RV/Camping/Battery,Off-Grid Power Stations

Nanwind Solar 200W Portable Solar Panel Kit,23.5% High Efficiency & IP68 Waterproof,Foldable Lightweight Design with 20A PWM Controller for RV/Camping/Battery,Off-Grid Power Stations

(4)
$490.32$490.10
FREE delivery Aug 13 - 19
Loading...
240W Portable Solar Panels for Power Station, 23.5% High Efficiency, 240 Watt Monocrystalline Foldable Solar Panel Charger with USB/20V DC Output Adjustable Kickstand for Camping, Off-Grid Living

240W Portable Solar Panels for Power Station, 23.5% High Efficiency, 240 Watt Monocrystalline Foldable Solar Panel Charger with USB/20V DC Output Adjustable Kickstand for Camping, Off-Grid Living

(22)
$491.55
FREE delivery Aug 12 - 14
Loading...
110W Portable Solar Panel, IP67 Waterproof Foldable 20V 110 Watt Solar Charger, High 23.5% Efficiency for Outdoor Camping, Portable Power Station, RV

110W Portable Solar Panel, IP67 Waterproof Foldable 20V 110 Watt Solar Charger, High 23.5% Efficiency for Outdoor Camping, Portable Power Station, RV

(102)
$209.51
FREE delivery Aug 13 - 19
Loading...
EveryDrop Premium Refrigerator Water Filter (EDRARXD1B). The ONLY water filter approved for*: Maytag, Whirlpool, KitchenAid, Amana brand refrigerators.

EveryDrop Premium Refrigerator Water Filter (EDRARXD1B). The ONLY water filter approved for*: Maytag, Whirlpool, KitchenAid, Amana brand refrigerators.

(115)
$59.99
FREE delivery Tue, Sep 23
400+ bought in past month
Loading...
Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

(2,652)
$81.37$76.36
FREE delivery Sep 29 - Oct 2
Loading...
BRITA Stainless Steel Water Bottle with Filter, 20 Ounce Premium Double Insulated Water Bottle, BPA Free, Carbon

BRITA Stainless Steel Water Bottle with Filter, 20 Ounce Premium Double Insulated Water Bottle, BPA Free, Carbon

(2,455)
$34.00$23.24
FREE delivery Tue, Sep 23 on your first order
400+ bought in past month
Loading...
DHT11 modules Digital Temperature and Humidity Temperature Sensor for arduino DIY KIT 5pcs

DHT11 modules Digital Temperature and Humidity Temperature Sensor for arduino DIY KIT 5pcs

(1)
$15.99
FREE delivery Sat, Jun 14 on your first order
Loading...
ICEPURE 1 Micron 2.5" x 10" Whole House CTO Carbon Sediment Water Filter Cartridge Compatible with Dupont WFPFC8002, WFPFC9001, SCWH-5, WHCF-WHWC, WHCF-WHWC, FXWTC, CBC-10 (4 Count (Pack of 1))

ICEPURE 1 Micron 2.5" x 10" Whole House CTO Carbon Sediment Water Filter Cartridge Compatible with Dupont WFPFC8002, WFPFC9001, SCWH-5, WHCF-WHWC, WHCF-WHWC, FXWTC, CBC-10 (4 Count (Pack of 1))

(5,342)
$40.79
FREE delivery Tue, Sep 23
100+ bought in past month
Loading...
ICEPURE 10"X4.5",1 Microns Whole House Sediment Activated Carbon Water Filter Compatible with Dupont WFHDC8001,EP Series,EPM Series,CB-BB-10, GE FXHTC, GXWH40L, GXWH35F, GNWH38S, CTO10BB,1PACK

ICEPURE 10"X4.5",1 Microns Whole House Sediment Activated Carbon Water Filter Compatible with Dupont WFHDC8001,EP Series,EPM Series,CB-BB-10, GE FXHTC, GXWH40L, GXWH35F, GNWH38S, CTO10BB,1PACK

(742)
$34.19
FREE delivery Tue, Sep 23 on your first order
100+ bought in past month