Загрузка страницы

Voice Announcements with Home Assistant using your Medial Player and Text to Speech

Proscenic 811gb -
https://amzn.to/2lLqaI1

www.DrZzs.com

IMPORTANT LINKS:
Amazon Link: https://amzn.to/2rCQPcw
Patreon: https://www.patreon.com/DrZzs
Twitter: https://twitter.com/Dr_Zzs
Instagram: https://www.instagram.com/drzzs/

Automations:
Example 1:
- alias: Leaf not charging
initial_state: true
trigger:
- platform: time
at: '22:00:00'
condition:
- condition: state
entity_id: device_tracker.justin_iphone7
state: not_home
- condition: state
entity_id: binary_sensor.adensville
state: unplugged
action:
- service: tts.google_say
data:
entity_id: media_player.adenaudiocast
message: "It's 10pm and daddy's car isn't plugged in"

You could also use it to ask someone to shut the door if it’s been left open.
Example 2:
- alias: 'Back Door Open'
trigger:
- platform: state
entity_id: binary_sensor.kitchen_door
from: 'off'
to: 'on'
for: '00:05:00'
action:
- service: tts.google_say
data:
entity_id: media_player.adenaudiocast
message: "Can someone please close the backdoor?"

Or as a warning when motion is detected.
Example 3:
- alias: Garage Robber Warning
hide_entity: true
initial_state: 'on'
trigger:
- platform: state
entity_id: binary_sensor.garage_motion
to: 'on'
condition:
condition: or
conditions:
- condition: sun
after: sunset
- condition: sun
before: sunrise
action:
- service: tts.google_say
data:
entity_id: media_player.adenaudiocast
message: "Hello. You are Trespassing. Smile for the camera!"

Видео Voice Announcements with Home Assistant using your Medial Player and Text to Speech канала DrZzs & GrZzs
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
2 июля 2018 г. 19:30:01
00:08:05
Яндекс.Метрика