mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
BIG UPdate: Adding TTS to my setup!
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@ home-assistant_v2.db
|
||||
*.db-journal
|
||||
lib
|
||||
deps
|
||||
tts
|
||||
secrets.yaml
|
||||
known_devices.yaml
|
||||
phue.conf
|
||||
|
@@ -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
17
script/voice_notify.yaml
Executable 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 }}"}
|
||||
|
Reference in New Issue
Block a user