Water Leakage Detector

by saghon in Circuits > Sensors

654 Views, 3 Favorites, 0 Comments

Water Leakage Detector

IMG_4007.JPG

This instruction will show how a battery powered water leakage detector can be build and integrated in eg. FHEM home automation solution.

The solution is based on SHRDZM device sensor platform to support multiple different sensor integration with low power consumption.

What Is Needed

Water_BOM.png

There are several types of integrations for a SHRDZM device possible.

This instruction shows the Integration Style I. With this Integration Style, the gateway is directly connected via USB. For other styles of integration, please visit the SHRDZM Wiki. Instead of the Wemos D1 mini, each other type of ESP8266 based module can be used. (eg. NodeMCU)

Flashing Firmware

ESPFlashWiring.png

For initial flashing of the firmware onto the sensor device, you need a CP2102 USB to UART adapter.

Flashing instructions Sensor Device

Flashing instructions Gateway

How to Wire the Sensor Device

Watersensor.png
WaterWithStripes.png
WaterNoStripesOpen.png

If wanted, a 3D Printable case can be found on thingiverse.

Create the Water Detection Stripe

WaterStripe1.png
WaterStripe2.png
WaterStripe3.png
WaterStripe4.png
WaterStripe5.png

Integration Into FHEM Home Automation Solution

WaterFHEMDetected.png

SHRDZM supports different types of integration methods.
Take that one which fits best to your requirements.

For this instructable, running installation of FHEM has to be available.
How to install FHEM on the Raspberry Pi can be found here.

If FHEM is available, follow the instructions for activating the SHRDZM Gateway. Since a SHRDZM Gateway can support multiple SHRDZM Sensor devices, it is necessary to pair the Sensor Device so that it communicates with the correct gateway. For pairing, follow this instruction.