96 lines
4.2 KiB
Markdown
96 lines
4.2 KiB
Markdown
---
|
|
name: tts-routing
|
|
description: Route TTS notes/reminders through Hermes-Agent.
|
|
version: 1.0.0
|
|
author: Robert Rapp
|
|
license: MIT
|
|
platforms: [macos, linux]
|
|
metadata:
|
|
hermes:
|
|
tags: [tts, routing, notes, reminders]
|
|
related_skills: [hermes-agent]
|
|
---
|
|
|
|
# TTS Routing and Note Management
|
|
|
|
## Triggers
|
|
|
|
**Use when** processing TTS output, note creation (`notiz` form), or reminder commands that need Hermes-Agent routing with profile context.
|
|
|
|
## Overview
|
|
|
|
This skill governs how TTS-generated content, notes, and reminders are routed through the Hermes-Agent system. Key patterns:
|
|
|
|
### 1. Note/Reminder Routing via forms.yaml
|
|
|
|
The `notiz` form in `voice/forms.yaml` controls how notes/reminders are processed:
|
|
|
|
- **`backend: direct`** — bypasses Hermes-Agent entirely; server saves note locally via `voice/notes.py` only; response goes directly to Thinking Proxy
|
|
- **`backend: hermes`** — routes through Hermes-Agent using the configured `hermes_profile`; note still saved server-side, but confirmation flows through Hermes with profile SOUL.md, memory, and skills available
|
|
|
|
**Fix**: Change `notiz.backend` from `direct` to `hermes` to enable Hermes routing.
|
|
|
|
### 2. Cron Job for Time-Based Reminders with Telegram Push
|
|
|
|
Create a daily cron job that checks if today is the target day (e.g., Friday) and sends a Telegram push notification with the reminder content using Waltraut-Lichter formatting.
|
|
|
|
**Setup** (job created in this session):
|
|
- Job ID: `a760cba172ea`
|
|
- Schedule: every 1d at 09:32
|
|
- Delivers to origin chat
|
|
- Next run: Friday 16.10.2026 at 09:32
|
|
|
|
### 3. User Preferences
|
|
|
|
- **Telegram push preferred** over simple notes for reminders
|
|
- **Waltraut-Lichter*** formatting for correct Telegram message style
|
|
- **Battery constraint**: Batties are small battery-based LED lights (WLED controlled via playbot)
|
|
- **Lamp control**: ONLY via `bash td/lampe.sh farbe R G B` when TouchDesigner is running sACN; otherwise use Lichtzentrale
|
|
|
|
### 4. Note Storage
|
|
|
|
Notes are stored in `~/.hermes/notes/` as Markdown files with timestamp filenames (`YYYY-MM-DD_HHMMSS.md`). Each file contains:
|
|
- Header: `# Sprachnotiz DD.MM.YYYY HH:MM`
|
|
- Body: the user's note text
|
|
|
|
### 5. Routing Workflow
|
|
|
|
```mermaid
|
|
flowchart TD
|
|
A[User says: "Erinner mich..." or "Mach eine Notiz..."]
|
|
B[run_turn classifies form]
|
|
C{form.backend}
|
|
D[backend: hermes → route to {HERMES}/p/{profile}/v1/chat/completions]
|
|
E[backend: direct → save via voice/notes.py only]
|
|
F[Hermes uses voice-notiz profile SOUL.md]
|
|
G[Save note to ~/.hermes/notes/]
|
|
H[Telegram push via cron job if scheduled]
|
|
C --> D & E
|
|
D --> F & G
|
|
E --> G
|
|
G --> H
|
|
```
|
|
|
|
## Pitfalls & Gotchas
|
|
|
|
- ⚠️ **Do not set `backend: direct`** for `notiz` form — this bypasses Hermes-Agent and means no profile context, memory, or skills are available in the response
|
|
- ⚠️ **TouchDesigner sACN overlay**: If TouchDesigner sends sACN to a lamp (`/json/info` shows `"live": true`), HTTP commands to WLED are invisible; use `touchdesigner-lampe` skill instead
|
|
- ⚠️ **WLED via Lichtzentrale**: Always switch lights via `curl -s http://playbot.local:8090/llms.txt` first to check status and scenes; never switch directly by IP
|
|
- ⚠️ **Cron job delivery**: Jobs run in fresh session with no chat context; prompts must be self-contained
|
|
- ⚠️ **Credential redaction**: All API keys, tokens, passwords must be [REDACTED] — never retain real values
|
|
- ⚠️ **Note file format**: `~/.hermes/notes/*.md`; read newest first; filename = `YYYY-MM-DD_HHMMSS.md`
|
|
|
|
## Related Skills
|
|
|
|
- `hermes-agent` — Hermes Agent configuration and orchestration
|
|
- `lichtzentrale` — WLED light control via playbot Lichtzentrale
|
|
|
|
## References
|
|
|
|
- `~/.hermes/notes/` — stored notes (Markdown, timestamped); 18 files found as of 15.10.2026
|
|
- `voice/forms.yaml` — form definitions including `notiz` backend; **updated 15.10.2026: backend changed from `direct` to `hermes`** to route through Hermes-Agent
|
|
- `hermes-profiles/voice-notiz/` — profile with SOUL.md, config.yaml for Hermes routing
|
|
- Cron job `a760cba172ea` — daily Friday reminder with Telegram push; created 15.10.2026, runs at 09:32, next run Friday 16.10.2026
|
|
- `voice/notes.py` — handles note saving to `~/.hermes/notes/`
|
|
- `voice/profiles.py` — profile management for voice forms
|
|
", |