Bathroom or kitchen leak sensor detects water and closes the main valve via a motorised relay. Before the neighbours notice.
Trigger
Water leak sensor (bath / kitchen / boiler) detects moisture
Action
Motorised valve closes main → Telegram + SMS notification → audible alarm
Devices needed
Why it helps
An unnoticed water leak is one of the costliest failures in a Moldovan apartment: a burst washing-machine hose or a worn seal under the sink soaks the floor, reaches the neighbours below and turns into repairs for two homes at once. In Chișinău blocks, where the main valve is often tucked into a hard-to-reach niche, the minutes it takes to find and close it really matter. This automation stops the problem at the source: the sensors catch water within the first seconds, and the motorised valve shuts the supply before you — or the neighbours — notice anything, protecting both your home and your relationship with the floor below.
How it works
The trigger is simple and reliable: two or three Zigbee leak sensors, placed at the risk points (under the sink, by the washing machine, at the boiler, in the bathroom), have contacts that react the moment they touch water. As soon as a sensor detects moisture, the central hub receives the signal instantly and starts the automation logic — it does not depend on the internet to act, because the decision is made locally, in the home.
The logic runs on Home Assistant: at the first leak signal the system commands the motorised valve on the main to close, then sends a Telegram and SMS notification and triggers an audible alarm inside the home. Because the hub and valve talk over Zigbee and the logic is local, the water shutoff works even if the internet is down — the notifications arrive once the connection is back. CasaSmart sets everything up on site: we choose the sensor positions, fit the valve on the correct section (work that needs an electrician and access to the water stopcock), pair the devices to the hub and test the scenario with real water before handover.
Setup steps
Together we decide where a leak can occur — under the sink, behind the washing machine, at the boiler or on the bathroom floor — and how many Zigbee sensors are needed (usually 2-3 per home).
An electrician installs the motorised valve on the main supply line, downstream of the stopcock. The job needs access to the water pipe and a power feed, so it is specialist work, not DIY.
We pair the sensors and valve to the central hub over Zigbee and define the Home Assistant rule "any triggered sensor → close the valve", plus the Telegram and SMS alerts and the audible alarm.
Before handover we run the full scenario: we wet each sensor, confirm the valve closes, that you get the alerts and that the alarm sounds. Then we show you how to reopen the water manually.
Practical tips
FAQ
Yes. The sensors, hub and valve talk over Zigbee, and the shutoff logic runs locally on Home Assistant inside the home. Closing the valve does not depend on the internet; only the Telegram and SMS alerts arrive once the connection is back.
Yes. The system usually starts with 2-3 Zigbee sensors, but you can add more at any time — for a second bathroom, a boiler or next to a radiator — and we tie them into the same rule without replacing the valve.
Placing the sensors is simple, but mounting the motorised valve on the main requires an electrician and access to the water pipe. That's why we treat it as specialist work and install and test it ourselves, on site.
You get a Telegram and SMS alert, and the audible alarm warns you inside the home. The water stays off until you find the cause; once the leak is fixed, you reopen the supply manually or from the app, depending on how the valve is configured.
Auto morning routine
At 7am blinds rise, coffee maker starts, kitchen warms to 22°C. One Home Assistant scene.
Vacation simulation
On vacation, the home "lives" by itself: lights turn on randomly, blinds move, music plays for a few minutes. Burglars see an occupied apartment.
Child bathroom safety
If water in the child bathroom exceeds 38°C, or the child stays alone behind a closed door for 15+ minutes — instant notification.