diff --git a/.gitignore b/.gitignore index 912bb509..73512000 100755 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ home-assistant_v2.db *.db-journal lib deps +tts secrets.yaml known_devices.yaml phue.conf diff --git a/configuration.yaml b/configuration.yaml index 88330e28..f8dd70f7 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -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 @@ -103,7 +104,14 @@ climate: 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: diff --git a/script/voice_notify.yaml b/script/voice_notify.yaml new file mode 100755 index 00000000..5d8722e9 --- /dev/null +++ b/script/voice_notify.yaml @@ -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 }}"} +