Automation #1 – Get Notified When Leak Sensor is Tripped
alias: Binary - Leak Sensor Alert
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.water_leak_sensor_1
- binary_sensor.water_leak_sensor_2
- binary_sensor.water_leak_sensor_3
to: "on"
from: "off"
action:
- service: notify.telegram
data_template:
title: WATER LEAK
message: >-
{{ trigger.to_state.attributes.friendly_name }} has detected a leak. If
this is a critical sensor, then the water has been shut off. Please
investigate.
- service: notify.family_emergency
data_template:
title: WATER LEAK
message: >-
{{ trigger.to_state.attributes.friendly_name }} has detected a leak. If
this is a critical sensor, then the water has been shut off. Please
investigate.
- service: notify.google_assistant_sdk
data_template:
message: >-
{{ trigger.to_state.attributes.friendly_name }} has detected a leak. If
this is a critical sensor, then the water has been shut off. Please
investigate.
Automation Example #2 – Notify When Water Is Shut Off
alias: Water Main Shutoff - Notification
description: ""
trigger:
- platform: device
type: turned_off
entity_id: switch.water_shut_off_valve_state
domain: switch
condition: []
action:
- service: notify.telegram
data:
message: The water main has been shut-off, please investigate.
title: Alert
- service: notify.telegram
data:
title: WATER SHUT-OFF
message: The water main has been shut-off, please investigate.
- service: notify.family_emergency
data:
title: WATER SHUT-OFF
message: The water main has been shut-off, please investigate.
- service: notify.google_assistant_sdk
data:
title: WATER SHUT-OFF
message: The water main has been shut-off, please investigate.
mode: single
Automation Example #3 – Turn off Water When Leak Detected
alias: Binary Leak - Shut Off Water
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.water_leak_sensor_1
- binary_sensor.water_leak_sensor_2
- binary_sensor.water_leak_sensor_3
to: "on"
from: "off"
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.water_shut_off_valve_state
mode: single
Kit with all products needed Links to all source material Original Post from HackaDay user Jon – https://tshouse.link/wifibusy Links to 3D Printable Enclosure https://www.thingiverse.com/thing:4700820 Wiring Diagram for Both ESP8266 / ESP32 https://miro.com/app/board/uXjVOQGQYtQ=/?invite_link_id=343682117250 Preview of Software for Part 2 Information on the ESPHome Project: https://esphome.io/ ESPHome Code Example (ESP32)
Direct Links in Video ESPresense Home Page – https://espresense.com/ ESPresense Project Page – https://github.com/ESPresense/ESPresense/ Install Page – https://espresense.com/install Web Terminal – https://espresense.com/terminal Hardware ESP32 “Base Stations” – https://espresense.com/hardware Compatible BLE Trackers – https://espresense.com/beacons Create a Virtual Device Tracker with ESPresense Now if you want to be able to use the ESPresense device as a device…
Summary In our comprehensive review, we dive into the features and advancements of the Wyze Cam Version 4, the latest addition to Wyze’s lineup and a direct successor to the much-loved Version 3. We discuss the V4’s standout attributes, such as its IP65 weatherproofing, an upgraded 2.5k QHD Starlight sensor for superior low-light performance, and…
Table of Contents ►Description Want to take your Home Assistant to the next level? In this tutorial, I’ll walk you through setting up HACS 2.0 (Home Assistant Community Store)—the best way to install custom integrations, themes, and frontend plugins for your smart home. HACS 2.0 brings a new UI, faster downloads, and seamless updates, making…
Video EMBED Post Severe weather can strike at any time, and having your smart home warn you the moment an alert is issued can make all the difference. With the updated NWS Alerts integration for Home Assistant, you can get real-time notifications, trigger automations, and display alerts directly on your dashboards. In this guide, I’ll…
Video Is your smart home split across ecosystems? MatterBridge turns your existing Home Assistant entities into native‑looking Matter devices so you can control Zigbee, Z‑Wave, Wi‑Fi, and MQTT devices from Apple Home, Google Home, or SmartThings. This guide walks you through setup plus copy‑paste configs you can use immediately. What MatterBridge Does Requirements 1) Install…