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

1作者: Vibecoder_28 天前原帖
大家好, 我正在尝试使用Assist,测试不同的语言模型、工具等。我发现HA缺少一个可以显示过去对话的卡片,包括处理时间等信息。 经过一番实验,我得到了一个可行的概念验证(PoC),并在此基础上进行了扩展。 当前功能: - 显示Assist管道的调试运行全过程(语音识别→意图识别→文本转语音),并附带时间和状态。 - 浏览最近的运行记录,选择某次运行,并检查每个阶段的输入/输出。 - 原始JSON事件查看器,用于查看完整的负载。 - 在运行进行时提供实时“思考”流(对于诊断缓慢或失败的运行非常有用)。 - TTS播放的音频可视化模式(波形/频谱/电平/发光/“Ulysse31”)。 我非常希望能收到其他HA用户的反馈 =) 代码库链接:[https://github.com/brantje/ha-cards](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>