#diy #howto #ideas
Join me on a DIY project to show you how to build a smart water leak detector using an ESP IoT Devboard and ESPHome in Home Assistant. With this DIY project, you can receive instant notifications if there are any leaks or overflows. I will guide you through the complete process, from assembling the hardware to configuring the software. With our step-by-step instructions, you can easily build this project yourself and enhance your home automation system.
Join this channel to get access to perks:
https://www.youtube.com/channel/UCXRNO_06vrZ7MGvQvWZPQ3Q/joinCodes:
binary_sensor:
- platform: gpio
pin:
number: 32
inverted: true
name: Water Sensor
id: water_sensor
device_class: moisture
filters:
- delayed_on: 100ms
- delayed_off: 100ms
on_press:
- switch.turn_on: buzzer
- delay: 10s
- switch.turn_off: buzzer
on_release:
switch.turn_off: buzzer
switch:
- platform: gpio
pin:
number: GPIO33
inverted: false
name: "Buzzer"
id: buzzer
on_turn_on:
- while:
condition:
binary_sensor.is_on: water_sensor
then:
- switch.turn_on: led
- delay: 400ms
- switch.turn_off: led
- delay: 400ms
- platform: gpio
pin:
number: GPIO27
inverted: false
name: "LED"
id: led
internal: true
#diyprojects #iot #homeautomation #automation #homeassistant #wifi #security #peace #monitoring #smartdevices #homemade #waterleakage