I built a way for Claude Code to report progress through my home Alexa
说明与用途
Claude Code 现在通过 Echo Dot 报告进度,让用户无需查看 CLI 即可多任务处理。
问题
When running long‑running jobs with Claude Code, the user cannot monitor progress without watching the screen.
结果
Claude Code jobs now provide audible progress updates via Echo Dots, allowing the user to multitask without monitoring the CLI.
工作流
- Register SSH key in HA Advanced SSH add‑on configuration
- Create SSH alias in ~/.ssh/config
- Transfer ha_speak.py to /homeassistant/scripts/ via ssh + cat or legacy scp
- Mint a short‑lived JWT from .storage/auth using the refresh_token’s jwt_key
- POST a notify/send_message request to HA Core REST API with the JWT
- Echo Dot speaks the message via notify.
<device>_announce
证据
The HA SSH add‑on’s sshd has the SFTP subsystem disabled.
Use _announce, not _speak. The Alexa.Speak API is effectively deprecated on Amazon's side.
Mint a short‑lived JWT with the jwt_key in .storage/auth, without growing extra tokens in the UI.
- 记录日期: 2026-11-01T11:14:08.821Z