← All work
Live

Smart Water Tank Monitor

Hardware sensor plus a live dashboard that shows tank level and usage, and warns before the tank runs dry.

Role
Designed and built, hardware and software
Timeline
2025
Outcome
Running at home since 2025; no dry tank, no overflow
Stack
  • ESP32
  • C++
  • Node.js
  • React
  • WebSockets
Dashboard showing water tank level over the last 24 hours

The problem

Overhead water tanks in Pakistani homes run dry without warning, and pumps get left on until they overflow. I wanted to know the level from my phone and get a nudge before either happened.

What I built

An ultrasonic sensor on a microcontroller measures the level and pushes readings over Wi-Fi to a small Node service. A React dashboard shows the current level, the last 24 hours of usage and pump state, and sends an alert when the tank drops below a threshold.

Decisions worth mentioning

What I'd do differently

Outcome

Running at home. Small, but it's mine end to end, from the sensor to the chart.