mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-08 20:18:59 +00:00
1.2 KiB
1.2 KiB
title
title |
---|
Using Piper TTS in automations |
This procedure shows you how to create a text-to-speech {% term action %}. For this, we use our local text-to-speech engine, Piper, and the media player {% term service %}. Home Assistant can then speak to you over your media player as part of an {% term automation %}.
- Go to {% my automations title="Settings > Automations & Scenes" %}, and select Create automation.
- Select Create new automation, then Add action.
- From the drop-down menu, select Play media and select the media player you want to use for this automation.
- Select Pick media, then, select Text-to-speech.
- To use fully local text-to-speech processing, select Piper.
- Enter the text you want to hear for this automation.
- Your text-to-speech action is now ready to be used in your script or automation.
- Save your action.