home-assistant.io/source/_components/tts.google.markdown
Vikram Gorla fb2fdbb539 Update link to Supported Languages (#6277)
Looking at the implementation, it uses Google Translate as backend and not Google Cloud Speech engine, updating the link where supported languages can be seen.
2018-09-14 12:00:07 +02:00

1.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page Google Text-to-Speech Instructions on how to setup Google Text-to-Speech with Home Assistant. 2016-12-13 07:00 true false true true google.png Text-to-speech 0.35

The google text-to-speech platform uses Google Text-to-Speech engine Text-to-Speech engine to read a text with natural sounding voices.

To enable text-to-speech with Google, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
tts:
  - platform: google

Configuration variables:

A full configuration sample:

# Example configuration.yaml entry
tts:
  - platform: google
    language: 'de'

If you are using SSL certificate or Docker, you may need to add the base_url configuration variable to your http component as follows:

#Example configuration.yaml entry
http:
  base_url: example.duckdns.org

The base_url configuration variable was added in 0.35.1, so make sure your Home Assistant version is 0.35.1 or above.