From b20787f32c85351abacbc2d592f16e8c0636cc6e Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Mon, 13 Jul 2026 12:28:04 -0400 Subject: [PATCH] Clean up Docker entity history references --- README.md | 8 ++--- config/README.md | 3 +- config/logbook.yaml | 24 ++----------- config/packages/README.md | 6 ++-- config/packages/docker_infrastructure.yaml | 34 ++++++++++++------- config/packages/infrastructure.yaml | 2 ++ config/recorder.yaml | 24 ++----------- .../bear-stone-proxmox-docker-topology.mmd | 2 +- 8 files changed, 38 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index f49e5120..99e74895 100755 --- a/README.md +++ b/README.md @@ -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. -### Latest video: How to use Home Assistant and Tugtainer for Docker Updates -[![How to use Home Assistant and Tugtainer for Docker Updates](https://www.vcloudinfo.com/wp-content/uploads/2026/07/home-assistant-tugtainer-docker-updates-thumbnail-scaled.png)](https://youtu.be/4NNOkXzUyYw) +### Latest video: Using Codex to Clean Up Home Assistant Entities +[![Using Codex to Clean Up Home Assistant Entities](https://www.vcloudinfo.com/wp-content/uploads/2026/07/home-assistant-codex-entity-cleanup-thumbnail-scaled.png)](https://youtu.be/aceV7ObKJVA) -Tugtainer handles routine image checks, recreates, health results, and cleanup across the Docker estate. Home Assistant receives every report as a persistent notification and opens a controlled review lane for updates that need Compose-aware recovery and service-specific proof. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/4NNOkXzUyYw) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-tugtainer-docker-updates.html). Browse the implementation in [![YAML source: tugtainer_updates](https://img.shields.io/static/v1?label=YAML&message=tugtainer_updates&color=lightgrey&logo=github&logoColor=181717)](config/packages/tugtainer_updates.yaml) and the [infrastructure dashboard](config/dashboards/infrastructure). +Codex compared the Home Assistant entity registry with Proxmox, Docker, and repository references before removing stale Portainer entities or renaming active Glances sensors. The cleanup also rebuilt recorder and logbook exclusions while preserving aggregate Docker outage history. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/aceV7ObKJVA) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html). Browse [![YAML source: docker_infrastructure](https://img.shields.io/static/v1?label=YAML&message=docker_infrastructure&color=lightgrey&logo=github&logoColor=181717)](config/packages/docker_infrastructure.yaml), [![YAML source: infrastructure](https://img.shields.io/static/v1?label=YAML&message=infrastructure&color=lightgrey&logo=github&logoColor=181717)](config/packages/infrastructure.yaml), [recorder](config/recorder.yaml), and [logbook](config/logbook.yaml). ### Quick navigation - You are here: `/` (root repo guide) @@ -49,6 +49,7 @@ Tugtainer handles routine image checks, recreates, health results, and cleanup a - Garage routines and entry lighting: [![YAML source: garadget](https://img.shields.io/static/v1?label=YAML&message=garadget&color=lightgrey&logo=github&logoColor=181717)](config/packages/garadget.yaml), [![YAML source: garage_entry_light](https://img.shields.io/static/v1?label=YAML&message=garage_entry_light&color=lightgrey&logo=github&logoColor=181717)](config/automation/garage_entry_light.yaml), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/wFO0H5zgnzk) - LLM Vision package reminders: [![YAML source: llmvision](https://img.shields.io/static/v1?label=YAML&message=llmvision&color=lightgrey&logo=github&logoColor=181717)](config/packages/llmvision.yaml), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/nAhCezFetvI) - Docker update reporting and exception review: [![YAML source: tugtainer_updates](https://img.shields.io/static/v1?label=YAML&message=tugtainer_updates&color=lightgrey&logo=github&logoColor=181717)](config/packages/tugtainer_updates.yaml), [config/dashboards/infrastructure](config/dashboards/infrastructure), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/4NNOkXzUyYw), [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-tugtainer-docker-updates.html) +- Entity registry and Docker telemetry cleanup: [![YAML source: docker_infrastructure](https://img.shields.io/static/v1?label=YAML&message=docker_infrastructure&color=lightgrey&logo=github&logoColor=181717)](config/packages/docker_infrastructure.yaml), [![YAML source: infrastructure](https://img.shields.io/static/v1?label=YAML&message=infrastructure&color=lightgrey&logo=github&logoColor=181717)](config/packages/infrastructure.yaml), [recorder](config/recorder.yaml), [logbook](config/logbook.yaml), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/aceV7ObKJVA), [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html) - Codex reset-credit tracking: [![YAML source: bearclaw](https://img.shields.io/static/v1?label=YAML&message=bearclaw&color=lightgrey&logo=github&logoColor=181717)](config/packages/bearclaw.yaml), [config/dashboards/infrastructure](config/dashboards/infrastructure), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/7wKhtrvtyiI) - Water leak response loop: [![YAML source: phynplus](https://img.shields.io/static/v1?label=YAML&message=phynplus&color=lightgrey&logo=github&logoColor=181717)](config/packages/phynplus.yaml), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/xbhgWnomFYI) - Water softener salt maintenance: [![YAML source: maintenance_log](https://img.shields.io/static/v1?label=YAML&message=maintenance_log&color=lightgrey&logo=github&logoColor=181717)](config/packages/maintenance_log.yaml), [![YAML source: 09_salt_trends](https://img.shields.io/static/v1?label=YAML&message=09_salt_trends&color=lightgrey&logo=github&logoColor=181717)](config/dashboards/overview/views/09_salt_trends.yaml), [![YAML source: water_sections](https://img.shields.io/static/v1?label=YAML&message=water_sections&color=lightgrey&logo=github&logoColor=181717)](config/dashboards/overview/partials/water_sections.yaml), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/_OqTv9i-jAs), [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-water-softener-salt-automation.html), [issue #1816](https://github.com/CCOSTAN/Home-AssistantConfig/issues/1816) @@ -77,7 +78,6 @@ Editable topology source: [Mermaid](docs/diagrams/bear-stone-proxmox-docker-topo | Container | Repo/Docs | Purpose | | --- | --- | --- | | Duplicati | [duplicati/duplicati](https://github.com/duplicati/duplicati) | Off-box, versioned backups for HA config, media, and infrastructure compose/config trees. | -| Dozzle | [amir20/dozzle](https://github.com/amir20/dozzle) | Lightweight Docker log viewer (useful for quick tailing across the homelab stacks). | | Cloudflared | [cloudflare/cloudflared](https://hub.docker.com/r/cloudflare/cloudflared) | Secure tunnel/edge access to Home Assistant without opening inbound ports. | | WordPress | [wordpress](https://hub.docker.com/_/wordpress) | Hosts [vCloudInfo.com](https://www.vcloudinfo.com) for docs, how-tos, videos, and long-form writeups that accompany this config. | diff --git a/config/README.md b/config/README.md index e4f1d937..5c293787 100755 --- a/config/README.md +++ b/config/README.md @@ -33,6 +33,7 @@ Live view of the `config/` directory my production Home Assistant instance loads ### How the config is organized - **Packages (`packages/`)** – complete subsystems that bundle sensors, switches, automations, scripts, and lovelace assets for a single feature (alarm, garage, water shutoff, etc.). - **Container updates** – [![YAML source: tugtainer_updates](https://img.shields.io/static/v1?label=YAML&message=tugtainer_updates&color=lightgrey&logo=github&logoColor=181717)](packages/tugtainer_updates.yaml) logs Tugtainer reports into Home Assistant persistent notifications and dispatches controlled review work. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/4NNOkXzUyYw) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-tugtainer-docker-updates.html) +- **Entity cleanup** – [![YAML source: docker_infrastructure](https://img.shields.io/static/v1?label=YAML&message=docker_infrastructure&color=lightgrey&logo=github&logoColor=181717)](packages/docker_infrastructure.yaml), [![YAML source: infrastructure](https://img.shields.io/static/v1?label=YAML&message=infrastructure&color=lightgrey&logo=github&logoColor=181717)](packages/infrastructure.yaml), [recorder](recorder.yaml), and [logbook](logbook.yaml) show how the Portainer and Glances audit kept proven history while removing stale registry noise. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/aceV7ObKJVA) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html) - **Automations (`automation/`)** – event-driven YAML broken out by area or device; the legacy `automations.yaml` remains for UI-created flows. - **Scripts & scenes (`script/`, `scene/`)** – curated lighting, notification, and AGENT engineer handoff helpers used by presence, holiday, seasonal, and infrastructure routines. - **Templates (`templates/`)** – Jinja helpers and speech templates reused by the notify/speech engines. @@ -51,7 +52,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), [topology diagram](../README.md#network-diagram), [media/](media) | | Seasonal Audio | Cuckoo clock with Halloween and Christmas sound packs. | [![YAML source: CucKoo_Clock](https://img.shields.io/static/v1?label=YAML&message=CucKoo_Clock&color=lightgrey&logo=github&logoColor=181717)](automation/System/CucKoo_Clock.yaml) | -The latest walkthrough shows a two-lane Docker update workflow: Tugtainer handles routine checks and recreates, Home Assistant keeps every report visible, and Codex handles exceptions through Compose with service-specific proof. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/4NNOkXzUyYw) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-tugtainer-docker-updates.html). YAML lives in [![YAML source: tugtainer_updates](https://img.shields.io/static/v1?label=YAML&message=tugtainer_updates&color=lightgrey&logo=github&logoColor=181717)](packages/tugtainer_updates.yaml), with the supporting [infrastructure dashboard](dashboards/infrastructure). The earlier water-softener, HVAC, Powerwall, Codex reset-credit, leak-detection, kiosk, and LLM Vision walkthroughs are still available with examples in [![YAML source: maintenance_log](https://img.shields.io/static/v1?label=YAML&message=maintenance_log&color=lightgrey&logo=github&logoColor=181717)](packages/maintenance_log.yaml), [![YAML source: climate](https://img.shields.io/static/v1?label=YAML&message=climate&color=lightgrey&logo=github&logoColor=181717)](packages/climate.yaml), [![YAML source: powerwall](https://img.shields.io/static/v1?label=YAML&message=powerwall&color=lightgrey&logo=github&logoColor=181717)](packages/powerwall.yaml), [![YAML source: bearclaw](https://img.shields.io/static/v1?label=YAML&message=bearclaw&color=lightgrey&logo=github&logoColor=181717)](packages/bearclaw.yaml), [![YAML source: phynplus](https://img.shields.io/static/v1?label=YAML&message=phynplus&color=lightgrey&logo=github&logoColor=181717)](packages/phynplus.yaml), [![YAML source: kiosk_tablet](https://img.shields.io/static/v1?label=YAML&message=kiosk_tablet&color=lightgrey&logo=github&logoColor=181717)](packages/kiosk_tablet.yaml), and [![YAML source: llmvision](https://img.shields.io/static/v1?label=YAML&message=llmvision&color=lightgrey&logo=github&logoColor=181717)](packages/llmvision.yaml). +The latest walkthrough shows how Codex audited Home Assistant entities against Proxmox, Docker, and repository references before removing stale Portainer records or migrating active Glances names. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/aceV7ObKJVA) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html). The implementation spans [![YAML source: docker_infrastructure](https://img.shields.io/static/v1?label=YAML&message=docker_infrastructure&color=lightgrey&logo=github&logoColor=181717)](packages/docker_infrastructure.yaml), [![YAML source: infrastructure](https://img.shields.io/static/v1?label=YAML&message=infrastructure&color=lightgrey&logo=github&logoColor=181717)](packages/infrastructure.yaml), [recorder](recorder.yaml), and [logbook](logbook.yaml). The earlier Tugtainer, water-softener, HVAC, Powerwall, Codex reset-credit, leak-detection, kiosk, and LLM Vision walkthroughs remain available in their featured package rows. ### Gear tied to these automations (affiliate links) Only including devices that have active references in the files above or an open implementation issue. diff --git a/config/logbook.yaml b/config/logbook.yaml index 2d17337c..e7bc0c8b 100644 --- a/config/logbook.yaml +++ b/config/logbook.yaml @@ -5,6 +5,8 @@ # ------------------------------------------------------------------- # Logbook Configuration - Activity/Logbook display controls # Defines what is hidden from the Activity/logbook view to keep noise down. +# Video: https://youtu.be/aceV7ObKJVA +# Blog: https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html # ------------------------------------------------------------------- # Notes: Filters vcloudinfo availability chatter plus location/weather noise and raw Glances host telemetry. # Notes: L10s status/room telemetry is hidden; curated VACUUM logbook entries remain visible. @@ -124,17 +126,6 @@ exclude: - binary_sensor.docker17_status - binary_sensor.docker2_status - binary_sensor.docker69_status - - binary_sensor.dozzle_agent_10_status - - binary_sensor.dozzle_agent_10_status_2 - - binary_sensor.dozzle_agent_13_status - - binary_sensor.dozzle_agent_14_status - - binary_sensor.dozzle_agent_14_status_2 - - binary_sensor.dozzle_agent_17_status - - binary_sensor.dozzle_agent_17_status_2 - - binary_sensor.dozzle_agent_69_status - - binary_sensor.dozzle_agent_69_status_2 - - binary_sensor.dozzle_status - - binary_sensor.dozzle_status_2 - binary_sensor.duplicati_status - binary_sensor.duplicati_status_2 - binary_sensor.esphome_status @@ -229,17 +220,6 @@ exclude: - sensor.docker_files_codex_appliance_run_f05ee34fde70_state - sensor.docker_socket_proxy_state - sensor.docker_socket_proxy_state_2 - - sensor.dozzle_agent_10_state - - sensor.dozzle_agent_10_state_2 - - sensor.dozzle_agent_13_state - - sensor.dozzle_agent_14_state - - sensor.dozzle_agent_14_state_2 - - sensor.dozzle_agent_17_state - - sensor.dozzle_agent_17_state_2 - - sensor.dozzle_agent_69_state - - sensor.dozzle_agent_69_state_2 - - sensor.dozzle_state - - sensor.dozzle_state_2 - sensor.duplicati_state - sensor.duplicati_state_2 - sensor.esphome_state diff --git a/config/packages/README.md b/config/packages/README.md index d802f0fd..5e90f68e 100755 --- a/config/packages/README.md +++ b/config/packages/README.md @@ -49,10 +49,10 @@ Live collection of plug-and-play Home Assistant packages. Each YAML file in this | [![YAML source: logbook_activity_feed](https://img.shields.io/static/v1?label=YAML&message=logbook_activity_feed&color=lightgrey&logo=github&logoColor=181717)](logbook_activity_feed.yaml) | Dummy `sensor.activity_feed` + helper to write clean Activity entries (Issue #1550). | `sensor.activity_feed`, `script.send_to_logbook` | | [![YAML source: mariadb_monitoring](https://img.shields.io/static/v1?label=YAML&message=mariadb_monitoring&color=lightgrey&logo=github&logoColor=181717)](mariadb_monitoring.yaml) | MariaDB health sensors and Lovelace dashboard snippet for recorder stats. | `sensor.mariadb_status`, `sensor.database_size` | | [![YAML source: llmvision](https://img.shields.io/static/v1?label=YAML&message=llmvision&color=lightgrey&logo=github&logoColor=181717)](llmvision.yaml) | Vision-backed garage-can and front-door package checks with rate-limited, downscaled OpenAI calls for package detection. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/nAhCezFetvI) | `input_button.llmvision_*`, `binary_sensor.front_door_packages_present`, `llmvision.stream_analyzer` | -| [![YAML source: docker_infrastructure](https://img.shields.io/static/v1?label=YAML&message=docker_infrastructure&color=lightgrey&logo=github&logoColor=181717)](docker_infrastructure.yaml) | Docker host patching telemetry, container/stack Repairs automation, retired Portainer repair cleanup, 20-minute Joanna escalation for persistent container outages including stuck `restarting`/`created` states, and weekly scheduled prune actions across docker_10/14/17/69; the dedicated codex_appliance VM is monitored through BearClaw status telemetry. | `sensor.docker_*_apt_status`, `binary_sensor.*_stack_status`, `sensor.docker_stacks_down_count`, `repairs.create`, `repairs.remove`, `script.joanna_dispatch` | +| [![YAML source: docker_infrastructure](https://img.shields.io/static/v1?label=YAML&message=docker_infrastructure&color=lightgrey&logo=github&logoColor=181717)](docker_infrastructure.yaml) | Docker host patching telemetry, container/stack Repairs automation, retired Portainer repair cleanup, 20-minute Joanna escalation for persistent container outages including stuck `restarting`/`created` states, and weekly scheduled prune actions across docker_10/14/17/69; the dedicated codex_appliance VM is monitored through BearClaw status telemetry. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/aceV7ObKJVA) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html) | `sensor.docker_*_apt_status`, `binary_sensor.*_stack_status`, `sensor.docker_stacks_down_count`, `repairs.create`, `repairs.remove`, `script.joanna_dispatch` | | [![YAML source: proxmox](https://img.shields.io/static/v1?label=YAML&message=proxmox&color=lightgrey&logo=github&logoColor=181717)](proxmox.yaml) | Proxmox update detection with Repairs, 02:15 Joanna patch orchestration, final per-host HA success notifications, kernel-refresh handoff hints, runtime and disk pressure monitoring, plus nightly Frigate reboot. | `binary_sensor.node_proxmox*_updates_packages`, `sensor.node_proxmox*_total_updates`, `persistent_notification.create`, `script.joanna_dispatch`, `binary_sensor.proxmox*_runtime_healthy`, `sensor.proxmox*_disk_used_percentage`, `button.qemu_docker2_101_reboot` | | [![YAML source: synology_dsm](https://img.shields.io/static/v1?label=YAML&message=synology_dsm&color=lightgrey&logo=github&logoColor=181717)](synology_dsm.yaml) | Synology DSM integration health normalization for Carlo-NAS01 and Carlo-NVR, with outage-aware Joanna-first handling for lone post-outage volume warnings and Repairs escalation for persistent or non-outage problems. | `binary_sensor.carlo_*_synology_problem`, `sensor.carlo_*_synology_problem_summary`, `binary_sensor.powerwall_grid_status`, `repairs.create`, `script.joanna_dispatch` | -| [![YAML source: infrastructure](https://img.shields.io/static/v1?label=YAML&message=infrastructure&color=lightgrey&logo=github&logoColor=181717)](infrastructure.yaml) | Normalized WAN/DNS/backup/domain/cert health, Nebula Sync and promoted IoT primary/backup Pi-hole consistency monitoring with Joanna dispatch, Glances-backed Docker host disk pressure with Joanna-only warning cleanup and critical Repairs, immediate website-down Repairs/Joanna dispatch plus uptime/latency SLO signals, nightly backup verification, and monthly Joanna HA log hygiene review with public-safe GitHub issue follow-up. | `sensor.infra_nebula_sync_dns_consistency`, `sensor.infra_pihole_iot_dns_consistency`, `binary_sensor.infra_nebula_sync_degraded`, `binary_sensor.infra_pihole_iot_dns_degraded`, `sensor.docker_*_disk_used_percentage`, `automation.infra_nebula_sync_health_dispatch`, `automation.infra_pihole_iot_dns_drift_dispatch`, `automation.docker_host_disk_pressure_monitor`, `automation.infra_website_down_repair_and_dispatch`, `binary_sensor.infra_website_uptime_slo_breach`, `binary_sensor.infra_website_latency_degraded`, `automation.infra_backup_nightly_verification`, `script.joanna_dispatch` | +| [![YAML source: infrastructure](https://img.shields.io/static/v1?label=YAML&message=infrastructure&color=lightgrey&logo=github&logoColor=181717)](infrastructure.yaml) | Normalized WAN/DNS/backup/domain/cert health, Nebula Sync and promoted IoT primary/backup Pi-hole consistency monitoring with Joanna dispatch, Glances-backed Docker host disk pressure with Joanna-only warning cleanup and critical Repairs, immediate website-down Repairs/Joanna dispatch plus uptime/latency SLO signals, nightly backup verification, and monthly Joanna HA log hygiene review with public-safe GitHub issue follow-up. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/aceV7ObKJVA) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html) | `sensor.infra_nebula_sync_dns_consistency`, `sensor.infra_pihole_iot_dns_consistency`, `binary_sensor.infra_nebula_sync_degraded`, `binary_sensor.infra_pihole_iot_dns_degraded`, `sensor.docker_*_disk_used_percentage`, `automation.infra_nebula_sync_health_dispatch`, `automation.infra_pihole_iot_dns_drift_dispatch`, `automation.docker_host_disk_pressure_monitor`, `automation.infra_website_down_repair_and_dispatch`, `binary_sensor.infra_website_uptime_slo_breach`, `binary_sensor.infra_website_latency_degraded`, `automation.infra_backup_nightly_verification`, `script.joanna_dispatch` | | [![YAML source: onenote_indexer](https://img.shields.io/static/v1?label=YAML&message=onenote_indexer&color=lightgrey&logo=github&logoColor=181717)](onenote_indexer.yaml) | Dedicated-appliance OneNote indexer health/status monitoring for Joanna, explicit index-health confirmation, failure-repair automation, and a daily duplicate-delete maintenance request. | `sensor.onenote_indexer_last_job_status`, `binary_sensor.onenote_indexer_last_job_successful`, `binary_sensor.onenote_indexer_index_healthy` | | [![YAML source: mqtt_status](https://img.shields.io/static/v1?label=YAML&message=mqtt_status&color=lightgrey&logo=github&logoColor=181717)](mqtt_status.yaml) | Command-line MQTT broker reachability probe with Spook Repairs escalation and Joanna troubleshooting dispatch on outage. | `binary_sensor.mqtt_status_raw`, `binary_sensor.mqtt_broker_problem`, `repairs.create`, `rest_command.bearclaw_command` | | [![YAML source: mariadb](https://img.shields.io/static/v1?label=YAML&message=mariadb&color=lightgrey&logo=github&logoColor=181717)](mariadb.yaml) | MariaDB recorder health and capacity snapshots with hourly live metrics, weekly admin/recorder polling, and stats-ready numeric sensors. | `sensor.mariadb_status`, `sensor.database_size` | @@ -62,7 +62,7 @@ Live collection of plug-and-play Home Assistant packages. Each YAML file in this | [![YAML source: bearclaw](https://img.shields.io/static/v1?label=YAML&message=bearclaw&color=lightgrey&logo=github&logoColor=181717)](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, QMD/memory-index, plus Codex reset-credit expiry sensors and Repairs for Infrastructure dashboards. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/7wKhtrvtyiI) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/06/track-codex-resets-home-assistant.html) | `rest_command.bearclaw_*`, `sensor.bearclaw_status_telemetry`, `sensor.joanna_*`, `sensor.codex_reset_*`, `binary_sensor.joanna_*`, `binary_sensor.codex_reset_credit_expiring_soon`, `automation.bearclaw_*`, `automation.codex_reset_credit_expiry_repair`, `repairs.create`, `repairs.remove`, `script.send_to_logbook` | | [![YAML source: telegram_bot](https://img.shields.io/static/v1?label=YAML&message=telegram_bot&color=lightgrey&logo=github&logoColor=181717)](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` | | [![YAML source: phynplus](https://img.shields.io/static/v1?label=YAML&message=phynplus&color=lightgrey&logo=github&logoColor=181717)](phynplus.yaml) | Phyn shutoff automations with leak-test guard, Activity Feed context, Repairs tracking, and critical push recovery when the valve closes. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/xbhgWnomFYI) | `valve.phyn_shutoff_valve`, `binary_sensor.phyn_leak_test_running`, `script.phyn_send_actionable_leak_notification`, `repairs.create` | -| [![YAML source: water_delivery](https://img.shields.io/static/v1?label=YAML&message=water_delivery&color=lightgrey&logo=github&logoColor=181717)](water_delivery.yaml) | ReadyRefresh delivery date helper with night-before plus day-before garage door Alexa reminders, helper-change audit logging, and Telegram confirmations. | `input_datetime.water_delivery_date`, `script.send_to_logbook`, `script.joanna_send_telegram`, `notify.alexa_media_garage` | +| [![YAML source: water_delivery](https://img.shields.io/static/v1?label=YAML&message=water_delivery&color=lightgrey&logo=github&logoColor=181717)](water_delivery.yaml) | ReadyRefresh delivery date helper with Joanna email-triage updates, night-before plus day-before garage door Alexa reminders, helper-change audit logging, and Telegram confirmations. | `input_datetime.water_delivery_date`, `script.send_to_logbook`, `script.joanna_send_telegram`, `notify.alexa_media_garage` | | [![YAML source: rachio](https://img.shields.io/static/v1?label=YAML&message=rachio&color=lightgrey&logo=github&logoColor=181717)](rachio.yaml) + [![YAML source: 10_sprinklers](https://img.shields.io/static/v1?label=YAML&message=10_sprinklers&color=lightgrey&logo=github&logoColor=181717)](../dashboards/overview/views/10_sprinklers.yaml) | Rachio sprinkler status with active-zone summaries, trigger-derived last-run duration sensors, dashboard controls, and Activity Feed audit logging without input_* helpers. | `sensor.rachio_controller_status`, `sensor.rachio_last_run_summary`, `sensor.rachio_*_last_run`, `script.rachio_*`, `automation.rachio_activity_feed` | | [![YAML source: vacation_mode](https://img.shields.io/static/v1?label=YAML&message=vacation_mode&color=lightgrey&logo=github&logoColor=181717)](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, deliver sitter-facing briefings, and send 10 AM/10 PM house digests with Powerwall/security/backup status plus Joanna review. | `input_boolean.vacation_mode`, `input_boolean.house_sitter_present`, `input_datetime.vacation_house_sitter_*`, `input_datetime.vacation_house_status_digest_last_sent`, `sensor.vacation_house_sitter_*`, `binary_sensor.powerwall_grid_status`, `sensor.powerwall_charge`, `group.garage_doors`, `lock.front_door`, `script.vacation_house_sitter_clear_presence`, `script.vacation_house_status_digest`, `script.notify_engine`, `rest_command.bearclaw_command`, `script.joanna_send_telegram` | | [![YAML source: maintenance_log](https://img.shields.io/static/v1?label=YAML&message=maintenance_log&color=lightgrey&logo=github&logoColor=181717)](maintenance_log.yaml) | Webhook-based water softener salt maintenance logging with idempotent event handling, Activity Feed logging, parser-safe refill cadence history, and dashboard-ready template sensors. [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/_OqTv9i-jAs) [![vCloudInfo Blog Post](https://img.shields.io/static/v1?label=vCloudInfo&message=Blog%20Post&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/07/home-assistant-water-softener-salt-automation.html) | `automation.maintenance_log_joanna_webhook_ingest`, `sensor.water_softener_salt_average_days_between_refills`, `sensor.water_softener_salt_refill_count`, `sensor.water_softener_salt_total_added` | diff --git a/config/packages/docker_infrastructure.yaml b/config/packages/docker_infrastructure.yaml index 745da165..ef9f8a2b 100644 --- a/config/packages/docker_infrastructure.yaml +++ b/config/packages/docker_infrastructure.yaml @@ -6,6 +6,8 @@ # Docker Infrastructure - Host patching and container alerts # Related Issue: 1632, 1584, 1739 # APT results and container down repairs. +# Video: https://youtu.be/aceV7ObKJVA +# Blog: https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html # ------------------------------------------------------------------- # Notes: Hosts run daily read-only APT pending checks plus Mon/Thu 12:00 APT jobs. # Notes: Reboots are handled directly on each host by apt_weekly.sh. @@ -23,7 +25,7 @@ # Notes: codex_appliance moved to a dedicated VM; keep the standard codex_appliance switches and retire the legacy hashed discovery entity when it disappears. # Notes: Paige's Bookshelf is a live monitored service and should remain in the group when its discovery switch is present. # Notes: Panel Notes currently exposes both `switch.panel_notes_container` and `switch.panel_notes_container_2`; keep the discovered live switches aligned until the duplicate is removed. -# Notes: Retired repair cleanup clears old codex_appliance and hashed dozzle Portainer repair IDs. +# Notes: Retired repair cleanup clears stale legacy codex_appliance and Dozzle repair IDs. ###################################################################### input_datetime: @@ -96,19 +98,8 @@ switch: - switch.dashy_container_2 - switch.docker_socket_proxy_container - switch.docker_socket_proxy_container_2 - - switch.dozzle_agent_10_container - - switch.dozzle_agent_10_container_2 - - switch.dozzle_agent_14_container - - switch.dozzle_agent_14_container_2 - - switch.dozzle_agent_17_container - - switch.dozzle_agent_17_container_2 - switch.codex_appliance_container - switch.codex_appliance_container_2 - - switch.dozzle_agent_69_container - - switch.dozzle_agent_69_container_2 - - switch.dozzle_agent_13_container - - switch.dozzle_container - - switch.dozzle_container_2 - switch.duplicati_container - switch.duplicati_container_2 - switch.esphome_container @@ -124,6 +115,9 @@ switch: - switch.home_assistant_container_2 - switch.imposter_container - switch.imposter_container_2 + - switch.jobs_backend_container + - switch.jobs_db_container + - switch.jobs_frontend_container - switch.kingcrafthomes_container - switch.kingcrafthomes_container_2 - switch.lmediaservices_container @@ -1134,10 +1128,26 @@ automation: for_each: - docker_container_codex_appliance_offline - user_docker_container_codex_appliance_offline + - docker_container_dozzle_offline + - user_docker_container_dozzle_offline + - docker_container_dozzle_agent_10_offline + - user_docker_container_dozzle_agent_10_offline + - docker_container_dozzle_agent_13_offline + - user_docker_container_dozzle_agent_13_offline + - docker_container_dozzle_agent_14_offline + - user_docker_container_dozzle_agent_14_offline + - docker_container_dozzle_agent_17_offline + - user_docker_container_dozzle_agent_17_offline + - docker_container_dozzle_agent_69_offline + - user_docker_container_dozzle_agent_69_offline - docker_container_39394ec38d4c_dozzle_offline - user_docker_container_39394ec38d4c_dozzle_offline + - docker_container_3a446393a8c5_dozzle_offline + - user_docker_container_3a446393a8c5_dozzle_offline - docker_container_7cf71db3325d_dozzle_agent_17_offline - user_docker_container_7cf71db3325d_dozzle_agent_17_offline + - docker_container_22461629865b_dozzle_agent_69_offline + - user_docker_container_22461629865b_dozzle_agent_69_offline sequence: - service: repairs.remove continue_on_error: true diff --git a/config/packages/infrastructure.yaml b/config/packages/infrastructure.yaml index 4fd4e32a..158c2b7c 100644 --- a/config/packages/infrastructure.yaml +++ b/config/packages/infrastructure.yaml @@ -5,6 +5,8 @@ # ------------------------------------------------------------------- # Infrastructure - Observability, disk pressure, and Joanna review workflows # WAN/DNS/website/domain/cert/Docker host state normalized for dashboards, plus scheduled infrastructure reviews. +# Video: https://youtu.be/aceV7ObKJVA +# Blog: https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html # ------------------------------------------------------------------- # Related Issue: 1584 # Notes: Home dashboard consumes `infra_*` entities for exceptions-only alerts. diff --git a/config/recorder.yaml b/config/recorder.yaml index c5b53410..4bc27a58 100755 --- a/config/recorder.yaml +++ b/config/recorder.yaml @@ -5,6 +5,8 @@ # ------------------------------------------------------------------- # Recorder Configuration - database retention and exclusions # Stores HA history while purging noise and controlling DB size. +# Video: https://youtu.be/aceV7ObKJVA +# Blog: https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html # ------------------------------------------------------------------- # Notes: Keeps 180 days (1/2 year); excludes vcloudinfo pings, noisy connectivity telemetry, countdown-style alarm helpers, low-value script/button/scene history, MariaDB snapshot helpers, raw Docker/Proxmox/Glances host telemetry including dynamic Docker veth sensors, PoE live power, and other high-churn entities; MariaDB via recorder_db_url. # Notes: L10s status/room telemetry is live-only; keep curated VACUUM logbook entries plus error/run context instead. @@ -205,17 +207,6 @@ exclude: - binary_sensor.docker17_status - binary_sensor.docker2_status - binary_sensor.docker69_status - - binary_sensor.dozzle_agent_10_status - - binary_sensor.dozzle_agent_10_status_2 - - binary_sensor.dozzle_agent_13_status - - binary_sensor.dozzle_agent_14_status - - binary_sensor.dozzle_agent_14_status_2 - - binary_sensor.dozzle_agent_17_status - - binary_sensor.dozzle_agent_17_status_2 - - binary_sensor.dozzle_agent_69_status - - binary_sensor.dozzle_agent_69_status_2 - - binary_sensor.dozzle_status - - binary_sensor.dozzle_status_2 - binary_sensor.duplicati_status - binary_sensor.duplicati_status_2 - binary_sensor.esphome_status @@ -310,17 +301,6 @@ exclude: - sensor.docker_files_codex_appliance_run_f05ee34fde70_state - sensor.docker_socket_proxy_state - sensor.docker_socket_proxy_state_2 - - sensor.dozzle_agent_10_state - - sensor.dozzle_agent_10_state_2 - - sensor.dozzle_agent_13_state - - sensor.dozzle_agent_14_state - - sensor.dozzle_agent_14_state_2 - - sensor.dozzle_agent_17_state - - sensor.dozzle_agent_17_state_2 - - sensor.dozzle_agent_69_state - - sensor.dozzle_agent_69_state_2 - - sensor.dozzle_state - - sensor.dozzle_state_2 - sensor.duplicati_state - sensor.duplicati_state_2 - sensor.esphome_state diff --git a/docs/diagrams/bear-stone-proxmox-docker-topology.mmd b/docs/diagrams/bear-stone-proxmox-docker-topology.mmd index 01fc2e09..485abdf3 100644 --- a/docs/diagrams/bear-stone-proxmox-docker-topology.mmd +++ b/docs/diagrams/bear-stone-proxmox-docker-topology.mmd @@ -24,7 +24,7 @@ flowchart TD end subgraph D17[docker17 - Internal apps and tools] - Tools[Dashy, Dozzle, Tugtainer, Duplicati] + Tools[Dashy, Tugtainer, Duplicati] InternalApps[Poker, Cruise, RVTools, TeslaMate] end