Harden MQTT IDs and audit Telegram webhook compatibility for 2026.4

This commit is contained in:
Carlo Costanzo
2026-04-02 12:34:46 -04:00
parent 35194c738c
commit 13fae5deca
5 changed files with 27 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ Live collection of plug-and-play Home Assistant packages. Each YAML file in this
| [mariadb.yaml](mariadb.yaml) | MariaDB recorder health and capacity SQL sensors. | `sensor.mariadb_status`, `sensor.database_size` |
| [tugtainer_updates.yaml](tugtainer_updates.yaml) | Tugtainer container update notifications via webhook + persistent alerts, plus event-based Joanna dispatch when reports include `### Available:` (24h cooldown via `mode: single` + delay, no new helpers). | `persistent_notification.create`, `event: tugtainer_available_detected`, `script.joanna_dispatch`, `input_datetime.tugtainer_last_update` |
| [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 KPI sensors for Infrastructure dashboards. | `rest_command.bearclaw_*`, `sensor.bearclaw_status_telemetry`, `sensor.joanna_*`, `automation.bearclaw_*`, `script.send_to_logbook` |
| [telegram_bot.yaml](telegram_bot.yaml) | Telegram script wrappers used by BearClaw and other ops flows (UI integration remains the source for bot config). | `script.joanna_send_telegram`, `telegram_bot.send_message` |
| [telegram_bot.yaml](telegram_bot.yaml) | Telegram script wrappers used by BearClaw and other ops flows (UI config remains source of truth; wrappers work with polling or webhook transport). | `script.joanna_send_telegram`, `telegram_bot.send_message` |
| [phynplus.yaml](phynplus.yaml) | Phyn shutoff automations with push + Activity feed + Repairs issues for leak events. | `valve.phyn_shutoff_valve`, `binary_sensor.phyn_leak_test_running`, `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` |
| [vacation_mode.yaml](vacation_mode.yaml) | Auto-enable vacation mode after 24 hours away or no bed use, track sitter analytics/secure-house checks, and deliver Chromecast-first vacation briefings with a garage Alexa welcome. | `input_boolean.vacation_mode`, `input_boolean.house_sitter_present`, `sensor.vacation_house_sitter_*`, `group.garage_doors`, `lock.front_door`, `script.notify_engine`, `script.joanna_send_telegram` |

View File

@@ -16,6 +16,7 @@
mqtt:
cover:
- name: "Large Garage Door"
unique_id: garadget_large_garage_door_cover
device_class: 'garage'
command_topic: "garadget/GLarge/command"
state_topic: "garadget/GLarge/status"
@@ -30,6 +31,7 @@ mqtt:
payload_stop: "stop"
- name: "Small Garage Door"
unique_id: garadget_small_garage_door_cover
device_class: 'garage'
command_topic: "garadget/GSmall/command"
state_topic: "garadget/GSmall/status"
@@ -45,19 +47,23 @@ mqtt:
sensor:
- name: "Large Garage Door Since"
unique_id: garadget_large_garage_door_since
state_topic: "garadget/GLarge/status"
value_template: '{{ value_json.time }}'
- name: "Large Garage Door Brightness"
unique_id: garadget_large_garage_door_brightness
state_topic: "garadget/GLarge/status"
unit_of_measurement: '%'
value_template: '{{ value_json.bright }}'
- name: "Small Garage Door Since"
unique_id: garadget_small_garage_door_since
state_topic: "garadget/GSmall/status"
value_template: '{{ value_json.time }}'
- name: "Small Garage Door Brightness"
unique_id: garadget_small_garage_door_brightness
state_topic: "garadget/GSmall/status"
unit_of_measurement: '%'
value_template: '{{ value_json.bright }}'

View File

@@ -1,12 +1,13 @@
#-------------------------------------------
# @CCOSTAN
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Office Motion - Motion/illuminance triggers for office lighting.
#-------------------------------------------
# -------------------------------------------------------------------
# Office Motion - MQTT motion sensor and office lighting automations
# Office occupancy trigger that drives office light on/off routines.
# -------------------------------------------------------------------
# Notes: Light sensor node hardware reference https://amzn.to/2oUgj5i
######################################################################
## Office motion sensors and automations.
######################################################################
# Light sensor node: https://amzn.to/2oUgj5i
homeassistant:
customize:
binary_sensor.office_motion:
@@ -18,6 +19,7 @@ mqtt:
binary_sensor:
- state_topic: "NodeMCU4/Motion/Motion"
name: "Office_Motion"
unique_id: office_motion_sensor
payload_on: 1
payload_off: 0
device_class: motion

View File

@@ -9,6 +9,7 @@
# Notes: Do not add `telegram_bot:` YAML here; integration is UI-only.
# Notes: Joanna transport defaults to plain_text, but can opt into HTML when the appliance provides a vetted rich message.
# Notes: Keep Skills logic in docker_17/codex_appliance; this package is delivery/transport only.
# Notes: HA Core 2026.4 webhook support is optional; service-call wrappers remain compatible with polling or webhook transport.
######################################################################
script:

View File

@@ -1,15 +1,16 @@
#-------------------------------------------
# MQTT Sensor Configuration
# Description: Various MQTT sensors for Home Assistant
#
# For more information and updates, visit:
# https://www.vcloudinfo.com/click-here
#
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
#-------------------------------------------
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# MQTT Sensors - Medication reminder timestamp feed
# MQTT-backed timestamp sensor used by medicine reminder workflows.
# -------------------------------------------------------------------
######################################################################
mqtt:
sensor:
- state_topic: "dash/medicine/medicine_time"
name: "Medicine time"
unique_id: medicine_time_timestamp
device_class: "timestamp"