mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +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
|
*.db-journal
|
||||||
lib
|
lib
|
||||||
deps
|
deps
|
||||||
|
tts
|
||||||
secrets.yaml
|
secrets.yaml
|
||||||
known_devices.yaml
|
known_devices.yaml
|
||||||
phue.conf
|
phue.conf
|
||||||
|
@@ -8,6 +8,7 @@ homeassistant:
|
|||||||
customize: !include_dir_merge_named customize
|
customize: !include_dir_merge_named customize
|
||||||
|
|
||||||
http:
|
http:
|
||||||
|
base_url: !secret http_base_url
|
||||||
api_password: !secret http_api_password
|
api_password: !secret http_api_password
|
||||||
ssl_certificate: !secret ssl_certificate
|
ssl_certificate: !secret ssl_certificate
|
||||||
ssl_key: !secret ssl_key
|
ssl_key: !secret ssl_key
|
||||||
@@ -104,6 +105,13 @@ media_player:
|
|||||||
platform: cast
|
platform: cast
|
||||||
host: 192.168.10.105
|
host: 192.168.10.105
|
||||||
|
|
||||||
|
tts:
|
||||||
|
- platform: google
|
||||||
|
language: 'en-us'
|
||||||
|
cache: true
|
||||||
|
cache_dir: /tmp/tts
|
||||||
|
time_memory: 300
|
||||||
|
|
||||||
cover:
|
cover:
|
||||||
platform: garadget
|
platform: garadget
|
||||||
covers:
|
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