Maylo Voice Assistant (macOS)
What this skill ships
- - A self-contained app under
assets/app/:
- Wake word listener (openWakeWord)
- VAD recording (webrtcvad)
- Local ASR (faster-whisper)
- Responder bridge via OpenClaw (
openclaw agent --local)
- Offline TTS via
say -v Yelda
- Web UI (HTTPS + WebSocket audio streaming)
Install / Setup (fresh machine)
1) Copy the app to a working directory (recommended):
-
cp -R <skill>/assets/app ~/maylo-voice-assistant
2) Create venv + install deps:
- Run:
scripts/install.sh ~/maylo-voice-assistant
3) Start the assistant (wake word + responder):
- Run:
scripts/run_assistant.sh ~/maylo-voice-assistant
4) Start the HTTPS web UI for phone mic streaming:
- Run:
scripts/run_web_https.sh ~/maylo-voice-assistant --host 0.0.0.0 --port 8443
- On iPhone/Android (same Wi‑Fi):
https://<mac-ip>:8443
- Accept the self-signed certificate warning.
Normal use
- - Wake word: say "Hey Jarvis" near the Mac mini, then speak your query.
- Web UI: hold the mic button to talk; release to send.
Troubleshooting (fast)
-
recordings/assistant.log
-
recordings/responder.log
-
recordings/web.log
- - If wake word never triggers, run the minimal tester:
-
python jarvis_minimal_test.py
- - If the assistant responds to itself (feedback loop):
- Set HDMI output back to Mac speakers / use headphones.
- Increase
MAYLO_POST_SAY_INHIBIT_SEC.
Security / Privacy
- - Do NOT package or commit:
- OAuth client secrets, tokens, refresh tokens
- Private certs/keys
- - This skill ships no secrets. Any tokens/keys must be created on the target machine.
Maylo 语音助手 (macOS)
该技能包含的内容
- 唤醒词监听器 (openWakeWord)
- VAD 录音 (webrtcvad)
- 本地 ASR (faster-whisper)
- 通过 OpenClaw 的响应桥接 (openclaw agent --local)
- 通过 say -v Yelda 实现的离线 TTS
- Web 界面 (HTTPS + WebSocket 音频流)
安装/设置 (新机器)
1) 将应用程序复制到工作目录(推荐):
- cp -R
/assets/app ~/maylo-voice-assistant
2) 创建虚拟环境并安装依赖:
- 运行:scripts/install.sh ~/maylo-voice-assistant
3) 启动助手(唤醒词 + 响应器):
- 运行:scripts/run_assistant.sh ~/maylo-voice-assistant
4) 启动用于手机麦克风流的 HTTPS Web 界面:
- 运行:scripts/runwebhttps.sh ~/maylo-voice-assistant --host 0.0.0.0 --port 8443
- 在 iPhone/Android 上(同一 Wi‑Fi 网络):https://:8443
- 接受自签名证书警告。
正常使用
- - 唤醒词:在 Mac mini 附近说 Hey Jarvis,然后说出你的查询。
- Web 界面:按住麦克风按钮说话;松开即可发送。
快速故障排除
- recordings/assistant.log
- recordings/responder.log
- recordings/web.log
- python jarvisminimaltest.py
- 将 HDMI 输出设置回 Mac 扬声器/使用耳机。
- 增加 MAYLOPOSTSAYINHIBITSEC 的值。
安全/隐私
- OAuth 客户端密钥、令牌、刷新令牌
- 私有证书/密钥
- - 该技能不包含任何密钥。任何令牌/密钥必须在目标机器上创建。