BIG UPdate: Adding TTS to my setup!

This commit is contained in:
CCOSTAN
2017-02-03 18:51:50 +00:00
parent 24d7d1600a
commit 5639552272
3 changed files with 27 additions and 1 deletions

1
.gitignore vendored
View File

@@ -11,6 +11,7 @@ home-assistant_v2.db
*.db-journal
lib
deps
tts
secrets.yaml
known_devices.yaml
phue.conf

View File

@@ -8,6 +8,7 @@ homeassistant:
customize: !include_dir_merge_named customize
http:
base_url: !secret http_base_url
api_password: !secret http_api_password
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
@@ -104,6 +105,13 @@ media_player:
platform: cast
host: 192.168.10.105
tts:
- platform: google
language: 'en-us'
cache: true
cache_dir: /tmp/tts
time_memory: 300
cover:
platform: garadget
covers:

17
script/voice_notify.yaml Executable file
View File

@@ -0,0 +1,17 @@
######################################################################################################
###Script to send notifications to IFTTT to notify me on the mobile Phone! Call like this:
# action:
# service: script.ifttt_notify
# data_template:
# value1: 'Startup: Home Assistant is Up and Running!'
# value2: ''
# value3: "{{ trigger.to_state.state }}"
# IFTTT Maker channel should look like this: https://files.gitter.im/home-assistant/home-assistant/phkx/blob
######################################################################################################
ifttt_notify:
sequence:
- service: ifttt.trigger
data_template: {"event":"ifttt_notify", "value1":"{{ value1 }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}