展示 HN:Home Assistant 的辅助调试卡

1作者: Vibecoder_大约 1 个月前
大家好, 我正在玩转 Assist,测试不同的 LLM、工具等。 我一直觉得 Home Assistant 缺少一个卡片,可以显示过去的对话记录,包括处理时间和相关信息。 经过一番实验,我得到了一个可行的概念验证 (PoC),然后在此基础上进行了扩展。 当前功能: * 显示 Assist 管道的端到端调试运行(语音转文本 → 意图识别 → 文本转语音),包含时间戳和状态。 * 浏览最近的运行记录,选择一个运行,并检查每个阶段的输入/输出。 * 提供原始 JSON 事件查看器,显示完整的载荷。 * 实时“思考”流,在运行进行中时显示(有助于诊断缓慢或失败的运行)。 * 文本转语音播放的音频可视化模式(波形/频谱/仪表/辉光/“Ulysse31”)。 我非常希望得到其他 Home Assistant 用户的一些反馈 =) 代码库:https://github.com/brantje/ha-cards
查看原文
Hi all, I&#x27;m playing round with Assist, testing different LLM&#x27;s, tools, etc. What i was missing from HA is a card which shows the past conversations, including processing times and such.<p>After a bit of experimenting i got a working PoC and then expanded on it.<p>Current features:<p>Features:<p>- Shows Assist pipeline debug runs end-to-end (STT → intent → TTS) with timings and status. - Browse recent runs, select a run, and inspect each stage’s inputs&#x2F;outputs. - Raw JSON events viewer for the full payload. - Live “thinking” stream while a run is in progress (useful for diagnosing slow&#x2F;failing runs). - audio visualization modes for TTS playback (waveform&#x2F;spectrum&#x2F;meter&#x2F;glow&#x2F;“Ulysse31”).<p>I would love some feedback from other HA users =)<p>Repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;brantje&#x2F;ha-cards" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brantje&#x2F;ha-cards</a>