Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Generic TTS Voices in Home Assistant: Should You Stop?

· 6 min read · Home Automation

In this article
  1. Why Generic TTS Voices Sound Bad
  2. What Home Assistant Offers Out of the Box
  3. How to Switch to Better Voices
  4. Comparing Piper, Edge TTS, and Cloud Services
  5. Common Problems and How to Fix Them
  6. Cost and Privacy Considerations
  7. Beyond Voice: Making Announcements More Useful
  8. Frequently Asked Questions

Yes, you should stop using generic TTS voices in Home Assistant if you want your automations to sound natural and be clearly understood, but you don't have to abandon them entirely—modern options like Piper, Microsoft Edge TTS, and cloud services offer far better quality at little or no cost. The built-in google_translate and amazon_polly voices often sound robotic, mispronounce common words, and lack emotional nuance, which can make your smart home feel less polished and harder to listen to. This article explains why generic voices fall short, what alternatives exist, how to choose one, and how to set them up without breaking your existing automations.

Why Generic TTS Voices Sound Bad

The default TTS engines in Home Assistant—especially the free google_translate option—use concatenative or older parametric synthesis. These methods stitch together pre-recorded phonemes or use simplified vocal tract models, producing the classic "robot voice" with flat intonation, unnatural pauses, and mispronounced proper nouns. For example, saying "Wi-Fi" or "Bose" often comes out garbled. Generic voices also lack prosody: they can't emphasize the right syllable or convey urgency, so a fire alert and a doorbell chime sound eerily similar. This matters because users report that they and their families tend to ignore announcements that sound artificial, reducing the effectiveness of home automations.

What Home Assistant Offers Out of the Box

Home Assistant's TTS integration supports several engines, but the default experience is limited. The google_translate engine is free but uses an unofficial endpoint that can break and produces low-quality audio. amazon_polly requires AWS credentials and costs money per character, though it offers better voices like "Joanna" and "Matthew." marytts is an older open-source option that sounds dated. The most significant improvement came with the Piper integration, which runs locally and uses a neural network to generate speech. Piper voices are dramatically more natural, support multiple languages, and work offline—a major privacy and reliability win. As of 2024, Piper is bundled with Home Assistant OS and is the recommended default for most users.

How to Switch to Better Voices

Switching from generic voices to Piper or another neural engine is straightforward:

  • Install Piper: Go to Settings → Devices & Services → Add Integration → Piper. Choose a voice model (e.g., en_US-lessac-medium for English).
  • Set Piper as default: In your automations, change the tts: google_translate action to tts: piper and specify the voice entity.
  • Test with a service call: Use Developer Tools → Services to call tts.speak with your chosen engine and a sample phrase.
  • Adjust speed and pitch: Piper supports options like speed and pitch in the service call, so you can tune the voice to your preference.
  • For higher quality, try Edge TTS: Install the edge-tts integration (via HACS) to access Microsoft's neural voices like "Aria" or "Guy." These sound almost human and are free, but they require an internet connection.

Comparing Piper, Edge TTS, and Cloud Services

Each option has trade-offs. Piper is fully local, private, and free, but its voices are less expressive than commercial neural TTS. Edge TTS offers near-human quality with multiple styles (e.g., "cheerful" or "empathetic") but sends text to Microsoft servers. Cloud services like Amazon Polly and Google Cloud TTS provide the best quality and customization but cost money and depend on internet availability. For most home users, Piper is the sweet spot: it's fast (runs on a Raspberry Pi 4), free, and good enough for announcements. If you want celebrity-like voices or emotional tones, Edge TTS is the best free option. If you need multilingual support with perfect pronunciation, consider a paid cloud service.

Common Problems and How to Fix Them

Switching engines can introduce issues. Here are the most frequent ones and their solutions:

  • Piper doesn't work after update: Clear the cache by deleting the piper folder in /config/tts and re-downloading the voice model.
  • Edge TTS fails with "No audio returned": This often happens due to network restrictions or an outdated integration. Update the integration and check your firewall.
  • Voice sounds too fast or slow: Adjust the speed parameter (e.g., speed: 1.1 for slightly faster).
  • Mispronounced words: Use the SSML feature in some engines to add phonetic spellings, or switch to a different voice model.
  • Audio cuts off: Ensure your media player supports the output format (MP3 vs WAV). Piper outputs WAV by default, which may not play on some Sonos or Chromecast devices—convert to MP3 using a script.

Cost and Privacy Considerations

Generic free voices have hidden costs: they rely on external servers that may log your spoken text. Piper eliminates that by running entirely on your hardware, so your announcements never leave your network. Cloud TTS services charge per character—Amazon Polly costs $4 per million characters, which for a typical household is less than $1 per year, but it adds up if you have many automations. Edge TTS is free but has no SLA and could be discontinued. Privacy-conscious users should prefer Piper. For those who want the best quality and don't mind the cloud, Edge TTS is a good middle ground. Always check the licensing of any TTS engine you use, especially for commercial applications.

Beyond Voice: Making Announcements More Useful

Better TTS is only half the battle. Context-aware announcements—like saying "The front door is open" instead of "Door sensor triggered"—make your automations more intuitive. Combine TTS with tts.speak and templates to insert dynamic data, such as the weather or who's at the door. Also consider using different voices for different types of alerts (e.g., a calm voice for routine reminders, a more urgent tone for alarms) to help your family prioritize. Some users create custom voice profiles using Piper's voice cloning features, but that requires more technical setup. The goal is to make your smart home feel like a helpful assistant, not a robot from the 1980s.

Frequently Asked Questions

Can I keep using google_translate for free?

Yes, but it's unreliable. The endpoint can break without warning, and the voice quality is poor. If you don't want to pay, Piper is a better free option that works offline.

Will Piper work on my Raspberry Pi 3?

Piper is optimized for low-power devices, but a Pi 3 may struggle with larger models. Use the medium or small models for acceptable performance. A Pi 4 or better is recommended.

How do I make Piper speak in Spanish or French?

Piper supports many languages. Download the appropriate voice model from the integration settings, then specify the language in your service call, e.g., voice: es_ES-davefx-medium.

Is there a way to use my own voice for TTS?

Piper allows you to train custom voices, but it's a complex process requiring a dataset of your recordings. For most users, the pre-built voices are sufficient.

Why does my Sonos speaker not play Piper audio?

Sonos may not support WAV files. Convert the TTS output to MP3 using a script or use the tts.speak service with a media player that handles WAV, or set Piper to output MP3 if available.