Water tank level monitoring
An empty tank is found when the taps run dry. A level sensor and one alert rule turn that into a message on your phone hours earlier.
Fit a level sensor to the tank, send its reading to Urvara every minute or so, and set two alerts: one when the level is below a limit, and one when it falls faster than normal. The first catches an empty tank. The second catches a leak or a stuck valve.
Which level sensor to use
| Sensor | How it measures | Good for | Watch out for |
|---|---|---|---|
| Ultrasonic (for example JSN-SR04T) | Times an echo from the lid down to the water surface | Open or vented tanks, low cost | Cannot measure very close to the sensor; foam and condensation disturb it |
| Submersible pressure sensor | Measures the weight of water above it | Deep tanks, wells and boreholes | Needs a vented cable; costs more |
| Float switch | A float closes a contact at one height | A simple “full” or “empty” signal | Gives one point only, not a level |
A pressure sensor reads depth directly: every metre of fresh water adds about 0.098 bar. An ultrasonic sensor reads the gap above the water, so the level is the tank height minus the reading.
Sending the reading to Urvara
- Add a device in the Live farm mode and copy its token.
- Send the level under a name such as
water_level. Urvara recognises names that contain “level” or “depth” as a water level in centimetres. - Tie the reading to the tank on your 3D farm. The value then shows on the tank itself.
For an ESP32, Urvara writes an ESPHome configuration with an ultrasonic level sensor already in it. See an ESP32 farm sensor with ESPHome.
The alerts worth setting
| Rule | Catches | Example |
|---|---|---|
| Below a limit | A tank running empty | Below 40 cm, lasting 60 seconds |
| Changes faster than | A leak, a burst pipe or a valve stuck open | More than 15 cm in 10 minutes |
| No data for | A dead sensor, flat battery or lost link | Nothing for 10 minutes |
| Differs from the design | A tank that sits lower than you planned | More than 25 % away from the design value |
What Urvara adds
- The level shows as a label on the tank in your 3D farm, and the label turns amber or red when an alert is open.
- History is kept: every reading for 400 days, and hourly lowest, highest and average with no end date.
- The AI agent can read the history and tell you how fast the tank empties on a normal day.
- With AI watch turned on, the AI reviews the last 24 hours of the level on a timer and raises an alert for a slow drift that no fixed limit catches.
- An automation can switch a fill pump on when the level goes below a value, and switch it back after a set time. The pump must be on a relay you have allowed to be switched. See remote on/off control.
Live farm has been tested with simulated devices on every route except USB. It has not yet been run with physical sensors in the field, so treat pin numbers, calibration values and radio set-ups as things to check on your own hardware.
Questions people ask
How do I monitor my water tank level remotely?
Fit a level sensor, connect it to a small board with Wi-Fi or a long-range radio, and send the reading to a monitoring service. In Urvara you add a device, send the level by MQTT or HTTP, and read it on your phone or computer with alerts for low level and fast drops.
What is the best sensor for a farm water tank?
For a deep tank or a borehole, a submersible pressure sensor is the most dependable. For a tank you can reach from the top, a waterproof ultrasonic sensor is cheaper and easy to fit. A float switch is enough if you only need to know full or empty.
Can Urvara detect a leak in a tank?
Yes, with a “changes faster than” rule. It compares the level now with the level some minutes ago and raises an alert when it has moved, up or down, by more than the limit you set. A fast refill fires it too.
Last checked against the product: .