feat(notifier): route TTS to tablet when TABLET_TTS_ENABLED
When TABLET_URL and VOICE_API_KEY are set, the tablet handles TTS via its ElevenLabs proxy — local speak() is skipped. Controlled by TABLET_TTS_ENABLED (default true when tablet is configured). - notifier.speak_locally() — gate used by all local speech paths - llm._maybe_speak — no-op when tablet plays the voice - modes._handle_reset — emits response event and skips local speak when tablet TTS is on; keeps spoken fallback otherwise Tablet side in smart-home-tablet repo: /api/voice/tts endpoint + VoiceOverlay audio playback (commit ba2e… pending). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -54,3 +54,8 @@ LUSYA_SESSION_KEY=agent:wife:voice:home
|
||||
# Если не настроено, просто пропускается, ассистент работает как раньше.
|
||||
TABLET_URL=https://tablet.digital-home.site
|
||||
VOICE_API_KEY=your_voice_api_key_here
|
||||
|
||||
# TABLET_TTS_ENABLED=true (по умолчанию true когда TABLET_URL/KEY заданы) —
|
||||
# голос ассистента проигрывается на планшете через ElevenLabs proxy,
|
||||
# локальный mpv/speak пропускается. false = говорим локально как раньше.
|
||||
TABLET_TTS_ENABLED=true
|
||||
|
||||
Reference in New Issue
Block a user