Tighten Phyn leak shutoff package

master
Carlo Costanzo 4 weeks ago
parent 438ae553dd
commit 5559ccdc28

@ -18,10 +18,10 @@
Live, personal Home Assistant configuration shared for **browsing and inspiration**. This is not a turnkey clone-and-run setup; borrow ideas, adapt entity IDs/secrets, and test in your own environment. Live, personal Home Assistant configuration shared for **browsing and inspiration**. This is not a turnkey clone-and-run setup; borrow ideas, adapt entity IDs/secrets, and test in your own environment.
### Latest video: Turn a Cheap Fire Tablet Into a Home Assistant Camera Kiosk ### Latest video: Home Assistant Leak Detection Automations
[![Turn a Cheap Fire Tablet Into a Home Assistant Camera Kiosk](https://www.vcloudinfo.com/wp-content/uploads/2026/06/home-assistant-kiosk-tablet-thumbnail.png)](https://youtu.be/ChgEu0IDWzc) [![Home Assistant Leak Detection Automations](https://www.vcloudinfo.com/wp-content/uploads/2026/06/maxresdefault.jpg)](https://youtu.be/xbhgWnomFYI)
This walkthrough shows how I turn a cheap Fire tablet into a purpose-built Home Assistant camera kiosk with a dedicated YAML dashboard, Fully Kiosk controls, bedtime dimming, and recovery automations. [Watch the video](https://youtu.be/ChgEu0IDWzc) and browse the YAML in [config/packages/kiosk_tablet.yaml](config/packages/kiosk_tablet.yaml) and [config/dashboards/kiosk](config/dashboards/kiosk). This walkthrough breaks down the water-leak response loop I use in Home Assistant: a shutoff valve state, a maintenance guard, Activity Feed context, Repairs tracking, and critical phone recovery actions. [Watch the video](https://youtu.be/xbhgWnomFYI), read the [companion blog post](https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html), browse the YAML in [config/packages/phynplus.yaml](config/packages/phynplus.yaml), and see the older Phyn Plus backstory in the [original write-up](https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html).
### Quick navigation ### Quick navigation
- You are here: `/` (root repo guide) - You are here: `/` (root repo guide)
@ -48,6 +48,7 @@ This walkthrough shows how I turn a cheap Fire tablet into a purpose-built Home
- Alarm and perimeter monitoring: [config/packages/alarm.yaml](config/packages/alarm.yaml) - Alarm and perimeter monitoring: [config/packages/alarm.yaml](config/packages/alarm.yaml)
- Garage routines and entry lighting: [config/packages/garadget.yaml](config/packages/garadget.yaml), [config/automation/garage_entry_light.yaml](config/automation/garage_entry_light.yaml), [video walkthrough](https://youtu.be/wFO0H5zgnzk) - Garage routines and entry lighting: [config/packages/garadget.yaml](config/packages/garadget.yaml), [config/automation/garage_entry_light.yaml](config/automation/garage_entry_light.yaml), [video walkthrough](https://youtu.be/wFO0H5zgnzk)
- LLM Vision package reminders: [config/packages/llmvision.yaml](config/packages/llmvision.yaml), [video walkthrough](https://youtu.be/nAhCezFetvI) - LLM Vision package reminders: [config/packages/llmvision.yaml](config/packages/llmvision.yaml), [video walkthrough](https://youtu.be/nAhCezFetvI)
- Water leak response loop: [config/packages/phynplus.yaml](config/packages/phynplus.yaml), [video walkthrough](https://youtu.be/xbhgWnomFYI)
- Bedroom camera kiosk tablet: [config/packages/kiosk_tablet.yaml](config/packages/kiosk_tablet.yaml), [config/dashboards/kiosk](config/dashboards/kiosk), [video walkthrough](https://youtu.be/ChgEu0IDWzc) - Bedroom camera kiosk tablet: [config/packages/kiosk_tablet.yaml](config/packages/kiosk_tablet.yaml), [config/dashboards/kiosk](config/dashboards/kiosk), [video walkthrough](https://youtu.be/ChgEu0IDWzc)
- Holiday/front-of-house color scenes: [config/scene/monthly_colors.yaml](config/scene/monthly_colors.yaml), [config/script/monthly_color_scene.yaml](config/script/monthly_color_scene.yaml) - Holiday/front-of-house color scenes: [config/scene/monthly_colors.yaml](config/scene/monthly_colors.yaml), [config/script/monthly_color_scene.yaml](config/script/monthly_color_scene.yaml)
- Dash-button triggers for quick actions: [config/automation/dash_buttons.yaml](config/automation/dash_buttons.yaml) - Dash-button triggers for quick actions: [config/automation/dash_buttons.yaml](config/automation/dash_buttons.yaml)
@ -81,7 +82,7 @@ https://amzn.to/48jVzZ3
| Amazon Fire tablet wall kiosk | Bedroom camera screen with Fully Kiosk recovery, bedtime dimming, and a dedicated YAML dashboard - [kiosk tablet package](config/packages/kiosk_tablet.yaml), [kiosk dashboard](config/dashboards/kiosk), [video walkthrough](https://youtu.be/ChgEu0IDWzc) | [![Tablet](https://img.shields.io/badge/Buy-Fire%20Tablet-orange?logo=amazon)](https://amzn.to/2swPVSm) [![Mount](https://img.shields.io/badge/Buy-Wall%20Mount-orange?logo=amazon)](https://amzn.to/2tBSTUU) | | Amazon Fire tablet wall kiosk | Bedroom camera screen with Fully Kiosk recovery, bedtime dimming, and a dedicated YAML dashboard - [kiosk tablet package](config/packages/kiosk_tablet.yaml), [kiosk dashboard](config/dashboards/kiosk), [video walkthrough](https://youtu.be/ChgEu0IDWzc) | [![Tablet](https://img.shields.io/badge/Buy-Fire%20Tablet-orange?logo=amazon)](https://amzn.to/2swPVSm) [![Mount](https://img.shields.io/badge/Buy-Wall%20Mount-orange?logo=amazon)](https://amzn.to/2tBSTUU) |
| Garadget garage door controller | Garage doors: open/close, arrival helpers, wind alerts, and nighttime reminders - [garadget package](config/packages/garadget.yaml), [video walkthrough](https://youtu.be/wFO0H5zgnzk), [companion post](https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html) | [![Buy](https://img.shields.io/badge/Buy-Garadget-orange?logo=amazon)](https://amzn.to/2jQLpVQ) | | Garadget garage door controller | Garage doors: open/close, arrival helpers, wind alerts, and nighttime reminders - [garadget package](config/packages/garadget.yaml), [video walkthrough](https://youtu.be/wFO0H5zgnzk), [companion post](https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html) | [![Buy](https://img.shields.io/badge/Buy-Garadget-orange?logo=amazon)](https://amzn.to/2jQLpVQ) |
| August smart lock | Front-door lock control + status - [august package](config/packages/august.yaml) | [![Buy](https://img.shields.io/badge/Buy-August%20Lock-orange?logo=amazon)](https://amzn.to/48jVzZ3) | | August smart lock | Front-door lock control + status - [august package](config/packages/august.yaml) | [![Buy](https://img.shields.io/badge/Buy-August%20Lock-orange?logo=amazon)](https://amzn.to/48jVzZ3) |
| Phyn Plus water shutoff | Leak detection + auto shutoff - [phynplus package](config/packages/phynplus.yaml) | [![Buy](https://img.shields.io/badge/Buy-Phyn%20Plus-orange?logo=amazon)](https://amzn.to/2Zy3sbJ) | | Phyn Plus water shutoff | Leak detection + auto shutoff - [phynplus package](config/packages/phynplus.yaml), [video walkthrough](https://youtu.be/xbhgWnomFYI), [companion post](https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html), [original write-up](https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html) | [![Buy](https://img.shields.io/badge/Buy-Phyn%20Plus-orange?logo=amazon)](https://amzn.to/2Zy3sbJ) |
| Rachio sprinkler controller | Rain-skips and seasonal watering - [rachio package](config/packages/rachio.yaml) | [![Buy](https://img.shields.io/badge/Buy-Rachio-orange?logo=amazon)](https://amzn.to/2eoPKBW) | | Rachio sprinkler controller | Rain-skips and seasonal watering - [rachio package](config/packages/rachio.yaml) | [![Buy](https://img.shields.io/badge/Buy-Rachio-orange?logo=amazon)](https://amzn.to/2eoPKBW) |
| Tesla Powerwall 2 | Grid-outage alerts + load-shed automations - [powerwall package](config/packages/powerwall.yaml) | [![Buy](https://img.shields.io/badge/Buy-Powerwall-orange?logo=tesla)](https://amzn.to/3UM4BZ5) | | Tesla Powerwall 2 | Grid-outage alerts + load-shed automations - [powerwall package](config/packages/powerwall.yaml) | [![Buy](https://img.shields.io/badge/Buy-Powerwall-orange?logo=tesla)](https://amzn.to/3UM4BZ5) |
| NodeMCU motion sensor | Office motion lighting - [office_motion package](config/packages/office_motion.yaml) | [![Buy](https://img.shields.io/badge/Buy-Motion%20Node-orange?logo=amazon)](https://amzn.to/2oUgj5i) | | NodeMCU motion sensor | Office motion lighting - [office_motion package](config/packages/office_motion.yaml) | [![Buy](https://img.shields.io/badge/Buy-Motion%20Node-orange?logo=amazon)](https://amzn.to/2oUgj5i) |

@ -43,7 +43,7 @@ Live view of the `config/` directory my production Home Assistant instance loads
### Featured automations by section ### Featured automations by section
| Section | Why start here | Featured automation(s) | | Section | Why start here | Featured automation(s) |
| --- | --- | --- | | --- | --- | --- |
| Packages | Self-contained subsystems that highlight patterns like combined alerts + actions. | [packages/alarm.yaml](packages/alarm.yaml), [packages/garadget.yaml](packages/garadget.yaml), [packages/llmvision.yaml](packages/llmvision.yaml), [packages/kiosk_tablet.yaml](packages/kiosk_tablet.yaml), [packages/vacation_mode.yaml](packages/vacation_mode.yaml), [packages/vacuum.yaml](packages/vacuum.yaml), [packages/powerwall.yaml](packages/powerwall.yaml) | | Packages | Self-contained subsystems that highlight patterns like combined alerts + actions. | [packages/alarm.yaml](packages/alarm.yaml), [packages/garadget.yaml](packages/garadget.yaml), [packages/llmvision.yaml](packages/llmvision.yaml), [packages/phynplus.yaml](packages/phynplus.yaml), [packages/kiosk_tablet.yaml](packages/kiosk_tablet.yaml), [packages/vacation_mode.yaml](packages/vacation_mode.yaml), [packages/vacuum.yaml](packages/vacuum.yaml), [packages/powerwall.yaml](packages/powerwall.yaml) |
| Automations | Real-world triggers that tie Zwave, MQTT, and REST sensors into the rest of the house. | [automation/garage_entry_light.yaml](automation/garage_entry_light.yaml), [automation/dark_rainy_day.yaml](automation/dark_rainy_day.yaml), [automation/dash_buttons.yaml](automation/dash_buttons.yaml) | | Automations | Real-world triggers that tie Zwave, MQTT, and REST sensors into the rest of the house. | [automation/garage_entry_light.yaml](automation/garage_entry_light.yaml), [automation/dark_rainy_day.yaml](automation/dark_rainy_day.yaml), [automation/dash_buttons.yaml](automation/dash_buttons.yaml) |
| Scripts | Reusable building blocks for lighting, notifications, safety responses, and Joanna/BearClaw remediation dispatch. | [script/joanna_dispatch.yaml](script/joanna_dispatch.yaml), [script/notify_engine.yaml](script/notify_engine.yaml), [script/speech_engine.yaml](script/speech_engine.yaml) | | Scripts | Reusable building blocks for lighting, notifications, safety responses, and Joanna/BearClaw remediation dispatch. | [script/joanna_dispatch.yaml](script/joanna_dispatch.yaml), [script/notify_engine.yaml](script/notify_engine.yaml), [script/speech_engine.yaml](script/speech_engine.yaml) |
| Scenes | Seasonal and ambiance presets that the scripts and automations call into. | [scene/monthly_colors.yaml](scene/monthly_colors.yaml), [scene/living_room.yaml](scene/living_room.yaml) | | Scenes | Seasonal and ambiance presets that the scripts and automations call into. | [scene/monthly_colors.yaml](scene/monthly_colors.yaml), [scene/living_room.yaml](scene/living_room.yaml) |
@ -51,7 +51,7 @@ Live view of the `config/` directory my production Home Assistant instance loads
| Dashboards & Media | UI chrome, floorplans, sound bites, and automation assets. | [dashboards/kiosk](dashboards/kiosk), [www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg](www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg), [media/](media) | | Dashboards & Media | UI chrome, floorplans, sound bites, and automation assets. | [dashboards/kiosk](dashboards/kiosk), [www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg](www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg), [media/](media) |
| Seasonal Audio | Cuckoo clock with Halloween and Christmas sound packs. | [automation/System/CucKoo_Clock.yaml](automation/System/CucKoo_Clock.yaml) | | Seasonal Audio | Cuckoo clock with Halloween and Christmas sound packs. | [automation/System/CucKoo_Clock.yaml](automation/System/CucKoo_Clock.yaml) |
The latest walkthrough shows a cheap Fire tablet running as a purpose-built Home Assistant camera kiosk: [video](https://youtu.be/ChgEu0IDWzc), YAML in [packages/kiosk_tablet.yaml](packages/kiosk_tablet.yaml), and dashboard files in [dashboards/kiosk](dashboards/kiosk). The earlier LLM Vision package reminder walkthrough is still available with examples in [packages/llmvision.yaml](packages/llmvision.yaml). The latest walkthrough shows a practical leak-detection response loop in Home Assistant: [video](https://youtu.be/xbhgWnomFYI), [companion post](https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html), YAML in [packages/phynplus.yaml](packages/phynplus.yaml), and the original Phyn Plus backstory in the [older write-up](https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html). The earlier kiosk and LLM Vision walkthroughs are still available with examples in [packages/kiosk_tablet.yaml](packages/kiosk_tablet.yaml) and [packages/llmvision.yaml](packages/llmvision.yaml).
### Gear tied to these automations (affiliate links) ### Gear tied to these automations (affiliate links)
Only including devices that have active references in the files above. Only including devices that have active references in the files above.
@ -62,7 +62,7 @@ Only including devices that have active references in the files above.
| Garadget garage door controller | Garage doors: open/close, arrival helpers, wind alerts, and nighttime reminders - [garadget package](packages/garadget.yaml), [garage entry helper](automation/garage_entry_light.yaml), [video walkthrough](https://youtu.be/wFO0H5zgnzk), [companion post](https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html) | [![Buy](https://img.shields.io/badge/Buy-Garadget-orange?logo=amazon)](https://amzn.to/2jQLpVQ) | | Garadget garage door controller | Garage doors: open/close, arrival helpers, wind alerts, and nighttime reminders - [garadget package](packages/garadget.yaml), [garage entry helper](automation/garage_entry_light.yaml), [video walkthrough](https://youtu.be/wFO0H5zgnzk), [companion post](https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html) | [![Buy](https://img.shields.io/badge/Buy-Garadget-orange?logo=amazon)](https://amzn.to/2jQLpVQ) |
| August smart lock | Front-door lock status + remote control [august package](packages/august.yaml) | [![Buy](https://img.shields.io/badge/Buy-August%20Lock-orange?logo=amazon)](https://amzn.to/48jVzZ3) | | August smart lock | Front-door lock status + remote control [august package](packages/august.yaml) | [![Buy](https://img.shields.io/badge/Buy-August%20Lock-orange?logo=amazon)](https://amzn.to/48jVzZ3) |
| Amazon Echo Show | Pops up the front doorbell camera when the August lock unlocks [august package](packages/august.yaml) | [![Buy](https://img.shields.io/badge/Buy-Echo%20Show-orange?logo=amazon)](https://amzn.to/4ptA3YO) | | Amazon Echo Show | Pops up the front doorbell camera when the August lock unlocks [august package](packages/august.yaml) | [![Buy](https://img.shields.io/badge/Buy-Echo%20Show-orange?logo=amazon)](https://amzn.to/4ptA3YO) |
| Phyn Plus water shutoff | Leak detection + auto shutoff [phynplus package](packages/phynplus.yaml) | [![Buy](https://img.shields.io/badge/Buy-Phyn%20Plus-orange?logo=amazon)](https://amzn.to/2Zy3sbJ) | | Phyn Plus water shutoff | Leak detection + auto shutoff - [phynplus package](packages/phynplus.yaml), [video walkthrough](https://youtu.be/xbhgWnomFYI), [companion post](https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html), [original write-up](https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html) | [![Buy](https://img.shields.io/badge/Buy-Phyn%20Plus-orange?logo=amazon)](https://amzn.to/2Zy3sbJ) |
| Rachio sprinkler controller | Rain-skips and seasonal watering [rachio package](packages/rachio.yaml) | [![Buy](https://img.shields.io/badge/Buy-Rachio-orange?logo=amazon)](https://amzn.to/2eoPKBW) | | Rachio sprinkler controller | Rain-skips and seasonal watering [rachio package](packages/rachio.yaml) | [![Buy](https://img.shields.io/badge/Buy-Rachio-orange?logo=amazon)](https://amzn.to/2eoPKBW) |
| Tesla Powerwall 2 | Grid-outage alerts + load-shed automations [powerwall package](packages/powerwall.yaml) | [![Buy](https://img.shields.io/badge/Buy-Powerwall-orange?logo=tesla)](https://amzn.to/3UM4BZ5) | | Tesla Powerwall 2 | Grid-outage alerts + load-shed automations [powerwall package](packages/powerwall.yaml) | [![Buy](https://img.shields.io/badge/Buy-Powerwall-orange?logo=tesla)](https://amzn.to/3UM4BZ5) |
| NodeMCU motion sensor | Office motion lighting + comfort scenes [office_motion package](packages/office_motion.yaml) | [![Buy](https://img.shields.io/badge/Buy-Motion%20Node-orange?logo=amazon)](https://amzn.to/2oUgj5i) | | NodeMCU motion sensor | Office motion lighting + comfort scenes [office_motion package](packages/office_motion.yaml) | [![Buy](https://img.shields.io/badge/Buy-Motion%20Node-orange?logo=amazon)](https://amzn.to/2oUgj5i) |

@ -61,7 +61,7 @@ Live collection of plug-and-play Home Assistant packages. Each YAML file in this
| [printer.yaml](printer.yaml) | Epson ink watchdog with one-day and one-week mobile snooze actions for low-ink reminders. | `input_datetime.printer_ink_snooze_until`, `sensor.epson_*`, mobile app action events | | [printer.yaml](printer.yaml) | Epson ink watchdog with one-day and one-week mobile snooze actions for low-ink reminders. | `input_datetime.printer_ink_snooze_until`, `sensor.epson_*`, mobile app action events |
| [bearclaw.yaml](bearclaw.yaml) | Joanna/BearClaw bridge automations that forward Telegram commands to codex_appliance, include LLM-first routing context for freeform text, relay replies back, ingest `/api/bearclaw/status` telemetry, and expose dispatch plus QMD/memory-index sensors for Infrastructure dashboards. | `rest_command.bearclaw_*`, `sensor.bearclaw_status_telemetry`, `sensor.joanna_*`, `binary_sensor.joanna_*`, `automation.bearclaw_*`, `script.send_to_logbook` | | [bearclaw.yaml](bearclaw.yaml) | Joanna/BearClaw bridge automations that forward Telegram commands to codex_appliance, include LLM-first routing context for freeform text, relay replies back, ingest `/api/bearclaw/status` telemetry, and expose dispatch plus QMD/memory-index sensors for Infrastructure dashboards. | `rest_command.bearclaw_*`, `sensor.bearclaw_status_telemetry`, `sensor.joanna_*`, `binary_sensor.joanna_*`, `automation.bearclaw_*`, `script.send_to_logbook` |
| [telegram_bot.yaml](telegram_bot.yaml) | Legacy Telegram transport marker for BearClaw; the shared `joanna_send_telegram` helper now forwards through the codex_appliance direct Telegram API. | `rest_command.bearclaw_telegram_send`, `script.joanna_send_telegram` | | [telegram_bot.yaml](telegram_bot.yaml) | Legacy Telegram transport marker for BearClaw; the shared `joanna_send_telegram` helper now forwards through the codex_appliance direct Telegram API. | `rest_command.bearclaw_telegram_send`, `script.joanna_send_telegram` |
| [phynplus.yaml](phynplus.yaml) | Phyn shutoff automations with v2026.6.3 leak-alert sensors, warning Repairs context, and critical push recovery when the valve closes. | `valve.phyn_shutoff_valve`, `binary_sensor.phyn_leak_alert`, `binary_sensor.phyn_leak_test_running`, `repairs.create` | | [phynplus.yaml](phynplus.yaml) | Phyn shutoff automations with leak-test guard, Activity Feed context, Repairs tracking, and critical push recovery when the valve closes; see the [leak detection automation video](https://youtu.be/xbhgWnomFYI). | `valve.phyn_shutoff_valve`, `binary_sensor.phyn_leak_test_running`, `script.phyn_send_actionable_leak_notification`, `repairs.create` |
| [water_delivery.yaml](water_delivery.yaml) | ReadyRefresh delivery date helper with night-before + garage door Alexa reminders, plus helper-change audit logging and Telegram confirmations. | `input_datetime.water_delivery_date`, `script.send_to_logbook`, `script.joanna_send_telegram`, `notify.alexa_media_garage` | | [water_delivery.yaml](water_delivery.yaml) | ReadyRefresh delivery date helper with night-before + garage door Alexa reminders, plus helper-change audit logging and Telegram confirmations. | `input_datetime.water_delivery_date`, `script.send_to_logbook`, `script.joanna_send_telegram`, `notify.alexa_media_garage` |
| [vacation_mode.yaml](vacation_mode.yaml) | Auto-enable vacation mode after 24 hours away or no bed use, track sitter analytics/secure-house checks, stale-visit timeout protection, and deliver exact sitter-facing briefings with garage Alexa support. | `input_boolean.vacation_mode`, `input_boolean.house_sitter_present`, `input_datetime.vacation_house_sitter_*`, `sensor.vacation_house_sitter_*`, `group.garage_doors`, `lock.front_door`, `script.vacation_house_sitter_clear_presence`, `script.notify_engine`, `script.joanna_send_telegram` | | [vacation_mode.yaml](vacation_mode.yaml) | Auto-enable vacation mode after 24 hours away or no bed use, track sitter analytics/secure-house checks, stale-visit timeout protection, and deliver exact sitter-facing briefings with garage Alexa support. | `input_boolean.vacation_mode`, `input_boolean.house_sitter_present`, `input_datetime.vacation_house_sitter_*`, `sensor.vacation_house_sitter_*`, `group.garage_doors`, `lock.front_door`, `script.vacation_house_sitter_clear_presence`, `script.notify_engine`, `script.joanna_send_telegram` |
| [maintenance_log.yaml](maintenance_log.yaml) | Joanna maintenance webhook ingest for water softener salt with idempotent event handling, Activity feed logging, and recorder-backed helper history for long-term graphing. | `automation.maintenance_log_joanna_webhook_ingest`, `input_number.water_softener_salt_total_added_lb`, `counter.water_softener_salt_event_count`, `sensor.water_softener_salt_days_since_last_add` | | [maintenance_log.yaml](maintenance_log.yaml) | Joanna maintenance webhook ingest for water softener salt with idempotent event handling, Activity feed logging, and recorder-backed helper history for long-term graphing. | `automation.maintenance_log_joanna_webhook_ingest`, `input_number.water_softener_salt_total_added_lb`, `counter.water_softener_salt_event_count`, `sensor.water_softener_salt_days_since_last_add` |
@ -108,7 +108,7 @@ When a package has a dedicated blog post or video, I link it right inside the YA
| [climate.yaml](climate.yaml) + [printer.yaml](printer.yaml) + [vacation_mode.yaml](vacation_mode.yaml) | Snoozeable Home Assistant mobile notifications for AC filters, printer ink, and Vacation Mode missed-visit reminders. | [Video walkthrough](https://youtu.be/y47KSflS1aw) · [Companion post](https://www.vcloudinfo.com/2026/06/home-assistant-notification-snooze-buttons.html) · [Older actionable notification guide](https://www.vcloudinfo.com/2020/11/home-assistant-ios-actionable-notifications-example.html) | | [climate.yaml](climate.yaml) + [printer.yaml](printer.yaml) + [vacation_mode.yaml](vacation_mode.yaml) | Snoozeable Home Assistant mobile notifications for AC filters, printer ink, and Vacation Mode missed-visit reminders. | [Video walkthrough](https://youtu.be/y47KSflS1aw) · [Companion post](https://www.vcloudinfo.com/2026/06/home-assistant-notification-snooze-buttons.html) · [Older actionable notification guide](https://www.vcloudinfo.com/2020/11/home-assistant-ios-actionable-notifications-example.html) |
| [holiday.yaml](holiday.yaml) | How the holiday/flag sensor works and drives lighting playlists. | [Blog + video breakdown](https://www.vcloudinfo.com/2019/02/breaking-down-the-flag-sensor-in-home-assistant.html) | | [holiday.yaml](holiday.yaml) | How the holiday/flag sensor works and drives lighting playlists. | [Blog + video breakdown](https://www.vcloudinfo.com/2019/02/breaking-down-the-flag-sensor-in-home-assistant.html) |
| [lightning.yaml](lightning.yaml) | Blitzortung detector wiring, strike alerts, and snooze workflow. | [Blog](https://www.vcloudinfo.com/2020/08/adding-a-lightning-sensor-to-home-assistant.html) | | [lightning.yaml](lightning.yaml) | Blitzortung detector wiring, strike alerts, and snooze workflow. | [Blog](https://www.vcloudinfo.com/2020/08/adding-a-lightning-sensor-to-home-assistant.html) |
| [phynplus.yaml](phynplus.yaml) | Installing Phyn Plus and wiring its leak events into HA automations. | [Blog](https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html) | | [phynplus.yaml](phynplus.yaml) | Leak-detection response loop with valve state, maintenance guard, Activity Feed context, Repairs tracking, and critical push recovery. | [Video walkthrough](https://youtu.be/xbhgWnomFYI) · [Companion post](https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html) · [Original Phyn Plus post](https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html) |
| [powerwall.yaml](powerwall.yaml) | Monitoring Tesla Powerwall health + what to automate when the grid drops. | [Blog](https://www.vcloudinfo.com/2018/01/going-green-to-save-some-green-in-2018.html) | | [powerwall.yaml](powerwall.yaml) | Monitoring Tesla Powerwall health + what to automate when the grid drops. | [Blog](https://www.vcloudinfo.com/2018/01/going-green-to-save-some-green-in-2018.html) |
| [vacation_mode.yaml](vacation_mode.yaml) | Sustained-away Vacation Mode, house-sitter visit tracking, reminders, missed-visit alerts, and secure-house checks. | [Video walkthrough](https://youtu.be/15kRcFaVV2Y) · [Blog](https://www.vcloudinfo.com/2026/05/home-assistant-vacation-mode-house-sitter-automation.html) | | [vacation_mode.yaml](vacation_mode.yaml) | Sustained-away Vacation Mode, house-sitter visit tracking, reminders, missed-visit alerts, and secure-house checks. | [Video walkthrough](https://youtu.be/15kRcFaVV2Y) · [Blog](https://www.vcloudinfo.com/2026/05/home-assistant-vacation-mode-house-sitter-automation.html) |
| [vacuum.yaml](vacuum.yaml) | Dreame away-only cleaning, room queues, sweep/mop phases, Alexa one-off room commands, and rescue notifications. | [Video walkthrough](https://youtu.be/KKOWSKuF5jA) · [Companion post](https://www.vcloudinfo.com/2026/05/home-assistant-vacuum-automations-dreame-2026.html) · [Older Neato post](https://www.vcloudinfo.com/2020/05/home-assistant-neato-vacuum-automation.html) | | [vacuum.yaml](vacuum.yaml) | Dreame away-only cleaning, room queues, sweep/mop phases, Alexa one-off room commands, and rescue notifications. | [Video walkthrough](https://youtu.be/KKOWSKuF5jA) · [Companion post](https://www.vcloudinfo.com/2026/05/home-assistant-vacuum-automations-dreame-2026.html) · [Older Neato post](https://www.vcloudinfo.com/2020/05/home-assistant-neato-vacuum-automation.html) |
@ -125,7 +125,7 @@ These are the devices that power the packages above. Affiliate links never chang
| Garadget garage door controller | [garadget.yaml](garadget.yaml) | MQTT covers feed arrival helpers, entry lighting, wind alerts, nighttime reminders, and security checks. [Video walkthrough](https://youtu.be/wFO0H5zgnzk) and [companion post](https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html). | [![Buy](https://img.shields.io/badge/Buy-Garadget-orange?logo=amazon)](https://amzn.to/2jQLpVQ) | | Garadget garage door controller | [garadget.yaml](garadget.yaml) | MQTT covers feed arrival helpers, entry lighting, wind alerts, nighttime reminders, and security checks. [Video walkthrough](https://youtu.be/wFO0H5zgnzk) and [companion post](https://www.vcloudinfo.com/2026/05/home-assistant-garage-automations-arrival-alerts-tesla.html). | [![Buy](https://img.shields.io/badge/Buy-Garadget-orange?logo=amazon)](https://amzn.to/2jQLpVQ) |
| August smart lock | [august.yaml](august.yaml) | Front-door lock/unlock + status for routines and alerts. | [![Buy](https://img.shields.io/badge/Buy-August%20Lock-orange?logo=amazon)](https://amzn.to/48jVzZ3) | | August smart lock | [august.yaml](august.yaml) | Front-door lock/unlock + status for routines and alerts. | [![Buy](https://img.shields.io/badge/Buy-August%20Lock-orange?logo=amazon)](https://amzn.to/48jVzZ3) |
| Amazon Echo Show | Pops up the front doorbell camera when the August lock unlocks. | [august.yaml](august.yaml) | [![Buy](https://img.shields.io/badge/Buy-Echo%20Show-orange?logo=amazon)](https://amzn.to/4ptA3YO) | | Amazon Echo Show | Pops up the front doorbell camera when the August lock unlocks. | [august.yaml](august.yaml) | [![Buy](https://img.shields.io/badge/Buy-Echo%20Show-orange?logo=amazon)](https://amzn.to/4ptA3YO) |
| Phyn Plus water shutoff | [phynplus.yaml](phynplus.yaml) | Leak events trigger valve closes + critical push notifications. | [![Buy](https://img.shields.io/badge/Buy-Phyn%20Plus-orange?logo=amazon)](https://amzn.to/2Zy3sbJ) | | Phyn Plus water shutoff | [phynplus.yaml](phynplus.yaml) | Leak events trigger valve closes + critical push notifications. [Video walkthrough](https://youtu.be/xbhgWnomFYI) and [companion post](https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html). | [![Buy](https://img.shields.io/badge/Buy-Phyn%20Plus-orange?logo=amazon)](https://amzn.to/2Zy3sbJ) |
| Rachio sprinkler controller | [rachio.yaml](rachio.yaml) | Rain skips and seasonal watering adjustments happen automatically. | [![Buy](https://img.shields.io/badge/Buy-Rachio-orange?logo=amazon)](https://amzn.to/2eoPKBW) | | Rachio sprinkler controller | [rachio.yaml](rachio.yaml) | Rain skips and seasonal watering adjustments happen automatically. | [![Buy](https://img.shields.io/badge/Buy-Rachio-orange?logo=amazon)](https://amzn.to/2eoPKBW) |
| Tesla Powerwall 2 | [powerwall.yaml](powerwall.yaml) | Grid outages kick off load-shed scripts and status pings. | [![Buy](https://img.shields.io/badge/Buy-Powerwall-orange?logo=tesla)](https://amzn.to/3UM4BZ5) | | Tesla Powerwall 2 | [powerwall.yaml](powerwall.yaml) | Grid outages kick off load-shed scripts and status pings. | [![Buy](https://img.shields.io/badge/Buy-Powerwall-orange?logo=tesla)](https://amzn.to/3UM4BZ5) |
| Google Nest thermostat | [climate.yaml](climate.yaml) | Presence/weather/grid-aware cooling targets, humidity pulses, and eco recovery. | [![Buy](https://img.shields.io/badge/Buy-Nest%20Thermostat-orange?logo=google)](https://amzn.to/4olpINw) | | Google Nest thermostat | [climate.yaml](climate.yaml) | Presence/weather/grid-aware cooling targets, humidity pulses, and eco recovery. | [![Buy](https://img.shields.io/badge/Buy-Nest%20Thermostat-orange?logo=google)](https://amzn.to/4olpINw) |

@ -8,10 +8,12 @@
# Push action buttons + Activity feed + Repairs issue while valve is closed. # Push action buttons + Activity feed + Repairs issue while valve is closed.
# ------------------------------------------------------------------- # -------------------------------------------------------------------
# Info: https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html # Info: https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html
# Blog: https://www.vcloudinfo.com/2026/06/home-assistant-leak-detection-automations.html
# Video: https://youtu.be/xbhgWnomFYI
# HACS: https://github.com/jordanruthe/homeassistant-phyn # HACS: https://github.com/jordanruthe/homeassistant-phyn
# Product: https://amzn.to/2Zy3sbJ # Product: https://amzn.to/2Zy3sbJ
# Notes: homeassistant-phyn v2026.6.3 exposes Phyn alerts as sensors/events. # Notes: This package references only Phyn entities confirmed in this HA registry.
# Notes: Production YAML uses alert sensors; event triggers require HA Labs enablement. # Notes: Add alert entities only after Home Assistant creates real registry entries.
###################################################################### ######################################################################
script: script:
@ -46,129 +48,43 @@ automation:
- platform: state - platform: state
entity_id: valve.phyn_shutoff_valve entity_id: valve.phyn_shutoff_valve
to: 'closed' to: 'closed'
id: valve_closed
- platform: state
entity_id:
- binary_sensor.phyn_leak_alert
- binary_sensor.phyn_offline_leak_shutoff_alert
- binary_sensor.phyn_recurring_flow_alert
- binary_sensor.phyn_pinhole_leak_alert
to: 'on'
id: leak_alert_sensor
condition: condition:
- condition: state - condition: state
entity_id: binary_sensor.phyn_leak_test_running entity_id: binary_sensor.phyn_leak_test_running
state: 'off' state: 'off'
variables:
alert_source: >-
{% if trigger.to_state is defined and trigger.to_state is not none %}
{{ trigger.to_state.name }}
{% else %}
Phyn leak alert
{% endif %}
valve_state: "{{ states('valve.phyn_shutoff_valve') }}"
action: action:
- choose:
- conditions:
- condition: template
value_template: "{{ trigger.id == 'leak_alert_sensor' }}"
sequence:
- service: script.send_to_logbook
data:
topic: "WATER"
message: >-
Phyn reported {{ alert_source }} while the shutoff valve is {{ valve_state }}.
Check water areas and the Phyn app.
- service: repairs.create
data:
issue_id: "phyn_leak_alert"
title: "Phyn leak-style alert"
severity: "warning"
persistent: true
description: >-
Phyn reported a leak-style alert through the Home Assistant integration.
alert_source: {{ alert_source }}
valve_state: {{ valve_state }}
Check the Phyn app, visible water areas, and the shutoff valve before deciding whether recovery action is needed.
- service: script.notify_engine
data:
title: "Phyn Leak Alert"
value1: >-
{{ alert_source }} is active. Check the Phyn app and water areas.
If the valve closed, use the shutoff notification to restore water after verification.
who: "parents"
group: "Phyn"
level: "time-sensitive"
default:
- service: script.send_to_logbook
data:
topic: "WATER"
message: "Phyn detected a leak and shut off the water. Please verify."
- service: repairs.create
data:
issue_id: "phyn_leak_shutoff"
title: "Phyn leak shutoff"
severity: "critical"
persistent: true
description: >-
Phyn detected a potential leak and automatically closed the main water valve.
Verify there are no active leaks before restoring water service.
- service: script.phyn_send_actionable_leak_notification
data:
source: "initial"
- service: persistent_notification.create
data:
title: '🚨 Phyn Leak Detection Alert'
message: |
**CRITICAL**: Phyn has detected a potential leak and automatically shut off the main water supply.
**Action Required**: Please verify there are no leaks in the house before turning the water back on.
**Time**: {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
notification_id: 'phyn_leak_detection'
- alias: Dismiss Phyn Leak Alert When Alert Clears
id: 19ca32e0-58a9-44d7-aac0-67efd3421a98
description: Clear the warning-only Phyn alert repair after all leak-style alert sensors are off.
mode: single
trigger:
- platform: state
entity_id:
- binary_sensor.phyn_leak_alert
- binary_sensor.phyn_offline_leak_shutoff_alert
- binary_sensor.phyn_recurring_flow_alert
- binary_sensor.phyn_pinhole_leak_alert
to: 'off'
for: '00:02:00'
condition:
- condition: template
value_template: >-
{{ expand(
'binary_sensor.phyn_leak_alert',
'binary_sensor.phyn_offline_leak_shutoff_alert',
'binary_sensor.phyn_recurring_flow_alert',
'binary_sensor.phyn_pinhole_leak_alert'
) | selectattr('state', 'eq', 'on') | list | count == 0 }}
action:
- service: repairs.remove
continue_on_error: true
data:
issue_id: "phyn_leak_alert"
- service: script.send_to_logbook - service: script.send_to_logbook
data: data:
topic: "WATER" topic: "WATER"
message: "All Phyn leak-style alert sensors are clear. Warning repair removed." message: "Phyn detected a leak and shut off the water. Please verify."
- service: repairs.create
data:
issue_id: "phyn_leak_shutoff"
title: "Phyn leak shutoff"
severity: "critical"
persistent: true
description: >-
Phyn detected a potential leak and automatically closed the main water valve.
Verify there are no active leaks before restoring water service.
- service: script.phyn_send_actionable_leak_notification
data:
source: "initial"
- service: persistent_notification.create
data:
title: '🚨 Phyn Leak Detection Alert'
message: |
**CRITICAL**: Phyn has detected a potential leak and automatically shut off the main water supply.
**Action Required**: Please verify there are no leaks in the house before turning the water back on.
**Time**: {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
notification_id: 'phyn_leak_detection'
- alias: Turn Phyn Water On - alias: Turn Phyn Water On
id: 1f295bb8-8925-4b22-PHYN-9fe079b295a8 id: 1f295bb8-8925-4b22-PHYN-9fe079b295a8

Loading…
Cancel
Save

Powered by TurnKey Linux.