Text to speech
此内容尚不支持你的语言。
Any Home Assistant text-to-speech voice, such as Piper or Home Assistant Cloud, can speak through the panel’s media player. You do not need a microphone or the voice assistant enabled to use the speaker.
Play an announcement with the voice assistant on
Section titled “Play an announcement with the voice assistant on”If the panel has a microphone and its voice assistant is turned on, assist_satellite.announce speaks a message directly on the panel, optionally preceded by a short chime.
Use a text-to-speech voice
Section titled “Use a text-to-speech voice”Choose a configured text-to-speech engine and the panel’s media_player entity. For example:
action: tts.speaktarget: entity_id: tts.piperdata: media_player_entity_id: media_player.living_room_panel message: 'The washing machine has finished'Replace both entity IDs with the ones in your Home Assistant. The engine renders the phrase and Panel Assistant sends playback to the panel over its existing native connection. Home Assistant and the panel still need a working route for the audio.
Set the panel’s media player volume beforehand if needed. To speak in several rooms, supply a list of panel media player entities in media_player_entity_id.
In Hardened mode, a media command over the native connection requires someone to approve it on the panel’s screen. An automation cannot approve that request remotely.
评论
评论保存在此页面对应的 GitHub 讨论中,因此加载评论会让你的浏览器连接到 GitHub。此浏览器会记住这一选择,并在你滚动到其他页面的评论区时加载评论。
无需 GitHub 账号即可评论