Gonna give it another shot. #241

This commit is contained in:
ccostan 2018-09-27 10:16:52 -04:00
parent 5cc50017c1
commit 78a044267d
4 changed files with 22 additions and 6 deletions

View File

@ -30,13 +30,18 @@
"Life is like a song, youre back where you belong. Welcome home " ~ person,
"Hey there " ~ person + " Welcome Home!",
"Knock Knock. Who is There? " ~ person +" is!",
"The garage door opener just told me that " ~ person +" is home.",
person + " can not hide from the system. Welcome home.",
person ~ "! You are home!",
"I know a secret! " ~ person +" is home!",
"Hey " ~ person +". Your arrival has been recorded by the Smartest house on the block.",
"Take note Molly! " ~ person +" is home.",
"I am sensing a disturbance in the force. " ~ person +" must be home!",
"And the house becomes a home. Welcome back " ~ person,
person + " is now here. Hash tag Welcome Home.",
person + " is now here. Hash tag Home.",
"Just a quick announcement. " ~ person +" hass arrived!",
person + " is now here. Hash tag Smart Home.",
"Just a quick announcement. " ~ person +" has arrived!",
"Pardon the interruption but " ~ person +" is home!",
"My systems are picking up the presence of additional humans. " ~ person +" has been identified as home."
] | random }}

View File

@ -71,7 +71,7 @@ cloud:
display_categories: LIGHT
http:
base_url: !secret http_base_url
server_port: !secret server_port
# server_port: !secret http_port
api_password: !secret http_api_password
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
@ -223,9 +223,9 @@ climate:
platform: nest
# media_player:
# - platform: cast
# host: 192.168.10.209 #CCA1
# - platform: roku
# - platform: cast
# host: 192.168.10.209 #CCA1
# - platform: roku
# - platform: samsungtv
# host: 192.168.10.207

View File

@ -12,7 +12,7 @@ speech_processing:
- service: mqtt.publish
data_template:
topic: 'polly/lastmsg'
payload: "This message is from {{ now().strftime('%-I') }}:{{ now().strftime('%M') }} {{ now().strftime('%p') }}. {{ speech_message | truncate(254)}}"
payload: "This message is from {{ now().strftime('%-I') }}:{{ now().strftime('%M') }} {{ now().strftime('%p') }}. {{ speech_message | truncate(220)}}"
retain: true
- condition: and
@ -58,6 +58,17 @@ speech_processing:
0.3
{% endif %}
- service: media_player.alexa_tts
data_template:
entity_id: >
{% if states.group.bed.state == 'off' %}
media_player.office
{% else %}
media_player.office
{% endif %}
message: >-
{{ speech_message }}
- service: tts.amazon_polly_say
data_template:
entity_id: >

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 147 KiB