展示HN:Home Assistant的辅助调试卡片
大家好,
我正在尝试使用Assist,测试不同的语言模型、工具等。我发现HA缺少一个可以显示过去对话的卡片,包括处理时间等信息。
经过一番实验,我得到了一个可行的概念验证(PoC),并在此基础上进行了扩展。
当前功能:
- 显示Assist管道的调试运行全过程(语音识别→意图识别→文本转语音),并附带时间和状态。
- 浏览最近的运行记录,选择某次运行,并检查每个阶段的输入/输出。
- 原始JSON事件查看器,用于查看完整的负载。
- 在运行进行时提供实时“思考”流(对于诊断缓慢或失败的运行非常有用)。
- TTS播放的音频可视化模式(波形/频谱/电平/发光/“Ulysse31”)。
我非常希望能收到其他HA用户的反馈 =)
代码库链接:[https://github.com/brantje/ha-cards](https://github.com/brantje/ha-cards)
查看原文
Hi all,
I'm playing round with Assist, testing different LLM'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/outputs.
- Raw JSON events viewer for the full payload.
- Live “thinking” stream while a run is in progress (useful for diagnosing slow/failing runs).
- audio visualization modes for TTS playback (waveform/spectrum/meter/glow/“Ulysse31”).<p>I would love some feedback from other HA users =)<p>Repo: <a href="https://github.com/brantje/ha-cards" rel="nofollow">https://github.com/brantje/ha-cards</a>