If you have a water softener at home, you know how important it is to keep the salt reservoir filled. Running out of salt means hard water flowing through your home, which can damage appliances, leave scale deposits, and make your skin feel dry. But how do you know when it’s time to refill before it’s too late?
The Smart Solution#
Instead of manually checking the salt level (or forgetting to check until it’s too late), you can implement a smart monitoring system using a water leak sensor placed directly in the salt tank. The concept is ingeniously simple:
When the salt level drops low enough that water reaches the sensor, it’s time to refill.
This approach works because in a water softener, the brine solution sits at the bottom of the tank. As salt dissolves, the water level remains stable, but when salt is nearly depleted, the sensor (placed at a strategic low point) gets wet - triggering an alert.
The Recommended Device: Aqara Water Leak Sensor#
I’ve been using the Aqara Water Leak Sensor (model SJCGQ11LM) for this purpose, and I recommend it for several reasons:
| Feature | Details |
|---|---|
| Waterproof Rating | IP67 - Fully dustproof and waterproof |
| Connectivity | Zigbee (requires a compatible hub or Zigbee2MQTT) |
| Battery Life | Over 2 years on a single CR2032 battery |
| Size | Compact: 50mm diameter, fits easily in salt tanks |
| Compatibility | Works with Home Assistant via Zigbee2MQTT, ZHA, or Aqara Hub |
The IP67 rating is crucial here - the sensor will be submerged in water (or brine solution) regularly, and this rating ensures it can withstand being in the water without damage. The sensor detects water at just 0.5mm depth, making it perfect for early detection.
Where to buy:
Implementation#
1. Zigbee2MQTT Configuration#
First, ensure your sensor is paired with your Zigbee network. In your zigbee2mqtt/configuration.yaml, add a friendly name:
'0x00158d00044f1bd4':
friendly_name: water_sensor_softner2. The Automation#
This automation triggers when the water sensor detects water (meaning salt is low):
- id: '1761499181494'
alias: 'Water: Low Salt in Softener'
description: Alert when water softener salt is low (sensor sits in salt tank; water reaching it means low salt).
triggers:
- entity_id: binary_sensor.water_sensor_softner_water_leak
from: 'off'
to: 'on'
trigger: state
conditions: []
actions:
- action: notify.notify
data:
message: '⚠️ Manque de sel dans l''adoucisseur ! Action requise : remplir le réservoir de sel.'
mode: singleHow It Works#
- The sensor sits at the bottom of the salt tank, suspended above the brine solution
- As long as there’s enough salt, the sensor remains dry
- When salt levels drop critically low, water contacts the sensor probes
- The sensor sends a
water_leak: truesignal via Zigbee - Home Assistant detects the state change and triggers the automation
- You receive a notification to refill the salt
Customization Options#
You can enhance this setup with:
- Multiple notifications: Add actions for email, Telegram, or voice announcements
- Dashboard integration: Add the sensor to your Home Assistant dashboard with a nice card
- Historical tracking: Monitor how often the sensor triggers to optimize your refill schedule
- Smart valves: Automatically shut off water if combined with a solenoid valve (advanced)
Conclusion#
This simple yet effective DIY solution transforms your water softener into a smart appliance. No more guessing or unexpected hard water days. The total cost is under €30 for the sensor, and the peace of mind is priceless.
Related Articles:
