|
|
1 month ago | |
|---|---|---|
| .. | ||
| README.md | 1 month ago | |
| amp_settings.yaml | 6 months ago | |
| dog_bark.yaml | 6 months ago | |
| emergency.yaml | 6 months ago | |
| flash_notify.yaml | 6 months ago | |
| hvac_control.yaml | 3 months ago | |
| interior_off.yaml | 6 months ago | |
| joanna_dispatch.yaml | 1 month ago | |
| joanna_send_telegram.yaml | 5 months ago | |
| kiosk_driveway_camera_takeover.yaml | 2 months ago | |
| monthly_color_scene.yaml | 5 months ago | |
| notify_engine.yaml | 1 month ago | |
| notify_live_activity.yaml | 8 months ago | |
| roku_remote_finder_reset.yaml | 3 months ago | |
| send_to_logbook.yaml | 9 months ago | |
| speech_engine.yaml | 8 months ago | |
| speech_processing.yaml | 6 months ago | |
README.md
Bear Stone Smart Home Documentation
Be sure to ⭐ my configuration repo so you can keep up to date on any daily progress!
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
- You are here:
config/script/(scripts library) - Repo overview | Config index | Automations | Scenes |
Featured files to browse
| File | Why it matters |
|---|---|
| Single entrypoint for rich push notifications, with optional tags for clearing and shared colored notification icons for household alerts. | |
| Single reconciler for grid, entry-point, occupancy, and target-temperature HVAC policy. | |
| Shared helper for tagged live activity/live update pushes and clear commands. | |
| Coordinates the bounded Driveway camera takeover and wake behavior across both household kiosks. | |
Generic logbook.log helper for Activity feed entries (Issue #1550). |
|
| Shared AGENT engineer dispatch contract that routes HA-detected issues into Joanna/BearClaw remediation. | |
| TTS/announcement orchestration with templated speech; speech processing can bypass LLM rewriting for exact messages and also routes garage/office Echo announcements. | |
Seasonal lighting dispatcher that follows sensor.holiday_lighting_scene. |
|
| One-call "all interior lights off" helper. |
Household notification icons
Both script.notify_engine and script.notify_engine_two_button accept notification_icon (an mdi: name), icon_url (a public or /local/ image), notification_icon_color (glyph hex color), and color (background hex color). On supported iOS apps, these appear as rounded sender icons and require a nonempty notification title. icon_url takes precedence over the MDI icon; colors apply only to MDI icons. See the Companion App documentation and issue #1773.
The shared helper gives existing notification groups a consistent palette without changing their grouping, recipients, action buttons, tags, or interruption levels:
| Notification group | Icon | Background |
|---|---|---|
Medicine |
mdi:pill |
Purple |
Garbage_Reminders |
mdi:trash-can-outline |
Green |
Welcome_Home |
mdi:home-heart |
Teal |
maintenance |
mdi:tools |
Slate |
Phyn |
mdi:water-alert |
Red |
Tesla_Model_Y |
mdi:car-electric |
Blue |
Tesla_Tire_Pressure |
mdi:car-tire-alert |
Orange |
Printer |
mdi:printer |
Slate |
vacation |
mdi:palm-tree |
Teal |
royal_caribbean_price_drop |
mdi:ferry |
Blue |
Group lookup ignores case. An explicit icon overrides the preset; notification_icon: '' disables it. Other groups keep their existing payload unless a caller supplies an icon. Driveway, fridge-door, front-door package, and vacuum-help alerts supply their own icons while retaining their existing camera attachments where applicable. Untitled notifications and clear_notification commands receive no icon fields. Older apps or push paths that do not support custom icons retain the normal app icon.
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_commandpayload 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, andsummaryso every dispatch has traceable origin details.entity_idsfrom either a YAML list or a comma-delimited string.diagnosticsfrom either free text or structured mappings/sequences.requestguardrails so Joanna defaults to investigation/recommendation, not blind resets or power-cycles.domain_hint/lane_hintdefault 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):
Tips
- Keep scripts generic, route data via
data:/variables:, and reuse everywhere. - If you copy a script, rename any
aliasandidfields to avoid duplicates.
All of my configuration files are tested against the most stable version of home-assistant.

