Water Leakage Detector
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
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
For initial flashing of the firmware onto the sensor device, you need a CP2102 USB to UART adapter.
How to Wire the Sensor Device
If wanted, a 3D Printable case can be found on thingiverse.
Create the Water Detection Stripe
Integration Into FHEM Home Automation Solution
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.