README.md

July 3, 2026 ยท View on GitHub

Bear Stone Smart Home
Bear Stone Smart Home Documentation

Be sure to :star: my configuration repo so you can keep up to date on any daily progress!

X Follow YouTube Subscribe GitHub Stars
HA Version Badge Last Commit Commit Activity

Reusable scripts that other automations call for notifications, lighting, safety responses, and Joanna/BearClaw AGENT engineer handoffs. Pass variables in; let the script do the heavy lifting.

Quick navigation

Home Assistant header

FileWhy it matters
YAML source: notify_engineSingle entrypoint for rich push notifications.
YAML source: notify_live_activityShared helper for tagged live activity/live update pushes and clear commands.
YAML source: send_to_logbookGeneric logbook.log helper for Activity feed entries (Issue #1550).
YAML source: joanna_dispatchShared AGENT engineer dispatch contract that routes HA-detected issues into Joanna/BearClaw remediation.
YAML source: speech_engineTTS/announcement orchestration with templated speech; speech processing can bypass LLM rewriting for exact messages and also routes garage/office Echo announcements.
YAML source: monthly_color_sceneSeasonal lighting dispatcher that follows sensor.holiday_lighting_scene.
YAML source: interior_offOne-call "all interior lights off" helper.

Joanna + BearClaw AGENT engineer handoff

script.joanna_dispatch is the shared handoff contract from Home Assistant automations into Joanna/BearClaw when Home Assistant detects something worth investigating or fixing.

Why we use it:

  • Keeps one message schema for remediation context (trigger_context, source, summary, entity_ids, diagnostics, request, plus optional routing hints).
  • Avoids repeating direct rest_command.bearclaw_command payload formatting in multiple packages.
  • Lets Home Assistant stay focused on detection, timing, and routing while Joanna acts as the AGENT engineer for infrastructure triage and recommended remediation.
  • Makes resolution-trigger automations easier to review, update, and audit.

What the helper normalizes before the BearClaw intake call:

  • trigger_context, source, and summary so every dispatch has traceable origin details.
  • entity_ids from either a YAML list or a comma-delimited string.
  • diagnostics from either free text or structured mappings/sequences.
  • request guardrails so Joanna defaults to investigation/recommendation, not blind resets or power-cycles.
  • domain_hint/lane_hint default to BearClaw ops routing so HA infrastructure text does not drift into another domain parser.

Current automations that kick off automated resolutions (via script.joanna_dispatch):

Automation IDAliasFile
mqtt_open_repair_on_failureMQTT - Open Repair On FailureYAML source: mqtt_status
onenote_indexer_daily_delete_maintenanceOneNote Indexer - Daily Delete Maintenance RequestYAML source: onenote_indexer
onenote_indexer_failure_open_repairOneNote Indexer - Open Repair On FailureYAML source: onenote_indexer
infra_backup_nightly_verificationInfrastructure - Backup Nightly VerificationYAML source: infrastructure
infra_monthly_log_hygiene_reviewInfrastructure - Monthly HA Log Hygiene ReviewYAML source: infrastructure
infra_nebula_sync_health_dispatchInfrastructure - Nebula Sync Health DispatchYAML source: infrastructure
infra_pihole_iot_dns_drift_dispatchInfrastructure - Pi-hole IoT DNS Drift DispatchYAML source: infrastructure
infra_website_down_repair_and_dispatchInfrastructure - Website Down Repair And DispatchYAML source: infrastructure
docker_state_sync_repairs_dynamicDocker State Sync - Repairs (Dynamic)YAML source: docker_infrastructure
docker_group_reconcile_weekly_joanna_reviewDocker Group Reconcile - Weekly Joanna ReviewYAML source: docker_infrastructure
docker_host_disk_pressure_monitorDocker Host Disk Pressure MonitorYAML source: infrastructure
proxmox_updates_joanna_dispatchProxmox Updates Joanna DispatchYAML source: proxmox
tugtainer_dispatch_joanna_for_available_updatesTugtainer - Dispatch Joanna For Available UpdatesYAML source: tugtainer_updates
tugtainer_dispatch_joanna_for_home_assistant_core_digestTugtainer - Dispatch Joanna For Home Assistant Core DigestYAML source: tugtainer_updates
unifi_ap_no_clients_repair_combinedUnifi AP Create Repair Issue after 5m of 0 ClientsYAML source: wireless
proxmox_runtime_repairsProxmox Runtime Repair IssuesYAML source: proxmox
proxmox_disk_pressure_repairsProxmox Disk Pressure Repair IssuesYAML source: proxmox
synology_dsm_open_repair_and_dispatchSynology DSM - Open Repair And DispatchYAML source: synology_dsm
processmonitor_disk_use_joanna_reviewSelf Heal Disk Use Joanna ReviewYAML source: processmonitor
1ce3cb43-0e27-4c53-acdd-d672396f3559Disk Use AlarmYAML source: processmonitor

Tips

  • Keep scripts generic, route data via data:/variables:, and reuse everywhere.
  • If you copy a script, rename any alias and id fields to avoid duplicates.

All of my configuration files are tested against the most stable version of home-assistant.

Still have questions on my Config?
Message me on X : Follow CCostan

Buy me a coffeeYou can buy me a coffeeBuy me a coffee

Affiliate Disclosure