homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: xxxxxxx
longitude: -xxxxxxx
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/New_York
customize: !include customize.yaml
# Enables configuration UI
config:
xiaomi_aqara:
discovery_retry: 5
gateways:
- key: 00000000000
# Cloud
cloud:
# Enables the frontend
frontend:
# javascript_version: latest
# extra_html_url:
# - /local/lovelace.html
#wink:
http:
base_url: xx.xxx.xx.xx
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Discover some devices automatically
discovery:
ignore:
- deconz
- philips_hue
nest:
client_id: !secret nest_client_id
client_secret: !secret nest_client_secret
ios:
notify:
- platform: command_line
name: 'LivingRoom'
command: "/config/alexa_wrapper.sh -d 'LivingRoom'"
- platform: command_line
name: 'Bedroom'
command: "/config/alexa_wrapper.sh -d 'Bedroom'"
proximity:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
remote:
- platform: harmony
name: Living Room
host: 192.168.1.120 #Add the IP address of your harmony remote
# go to the secrets.yaml file and add your passwords there
username: !secret harmony_username
password: !secret harmony_password
# Track the sun
sun:
# Text to speech
tts:
- platform: google
# Checks for available updates
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
############################################################
# THESE SECTIONS ARE IN OTHER FILES #
# e.g. If you add a sensor, just put the platform in #
# the sensors.yaml file and not in this configuration #
############################################################
media_player: !include media_players.yaml
sensor: !include sensors.yaml
input_boolean: !include input_booleans.yaml
input_select: !include input_selects.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
input_number: !include input_number.yaml
camera: !include cameras.yaml
binary_sensor: !include binary_sensor.yaml
zone: !include zones.yaml
shell_command: !include shell_command.yaml
############################################################
I do use mopidy, it works fine when using mp3 files stored locally in my WWW folder.
i assume ill have to figure out how to get the TTS sent to my speaker.
I got errors placing that code the way its formatted. So i did space it a bit differently and got a good config check.
however still no sound.
i did try to use a media player that i do have set up. theres no media_player.living_room_home in my configuration. so I did try media_player.fire_speaker. but still nothing.
I’m not familiar with hassio and mpd. My suggestion is put only 1 mpd media player
- platform: mpd
name: 'Fire Speaker'
arguments: 'alsa-audio-device=hw:0,0'
host: 192.168.86.85
port: 6600 <== do we need to specific port? can left out this or not?
then tts google read from base_url under http section.
http:
base_url: xx.xxx.xx.xx:port <== need to specific port
also add under homeassistant:
homeassistant:
whitelist_external_dirs:
- directory/of/the/folder
- /homeassistant/share <== example where your homeassistant is and the folder name
- /homeassistant/local <== example where your homeassistant is and the folder name
After that check your config before restart homeassistant.
After restart homeassistant check if your google tts work by type the word in your media player.