2020-12-20 01:10:16 +00:00
|
|
|
#-------------------------------------------
|
2024-09-03 18:08:43 +00:00
|
|
|
# Conico Cameras Configuration
|
|
|
|
# Description: Integrates Conico Cameras with Alexa Media Player
|
|
|
|
# Last Updated: 2023-11-15
|
|
|
|
#
|
|
|
|
# Features:
|
|
|
|
# - Displays garage camera feed on Echo Show devices
|
2025-01-13 18:27:08 +00:00
|
|
|
# - Displays driveway camera feed when front door opens
|
2024-09-03 18:08:43 +00:00
|
|
|
# - Triggers based on garage door state and occupancy changes
|
|
|
|
#
|
|
|
|
# Hardware:
|
|
|
|
# - Conico Camera: https://amzn.to/2Kl1eHo
|
|
|
|
# - Amazon Echo Show devices
|
|
|
|
#
|
|
|
|
# Integration: Alexa Media Player
|
|
|
|
#
|
|
|
|
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
|
|
# Blog Post: https://www.vcloudinfo.com/2019/03/integrating-smart-cameras-with-alexa-echo-shows.html
|
|
|
|
# Follow me on https://www.vcloudinfo.com/click-here
|
2020-12-20 01:10:16 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
automation:
|
|
|
|
- alias: 'Garage Camera on Alexa Shows'
|
|
|
|
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
|
2020-12-20 02:57:47 +00:00
|
|
|
mode: single
|
2020-12-20 01:10:16 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id:
|
|
|
|
- cover.large_garage_door
|
|
|
|
- cover.small_garage_door
|
|
|
|
from: 'closed'
|
|
|
|
to: 'open'
|
|
|
|
|
2020-12-20 01:52:14 +00:00
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
|
|
|
|
from: 'off'
|
2024-06-11 12:54:22 +00:00
|
|
|
to: 'on'
|
2023-07-20 03:32:11 +00:00
|
|
|
|
|
|
|
- platform: state
|
|
|
|
entity_id:
|
|
|
|
- person.carlo
|
|
|
|
- person.stacey
|
2023-10-02 18:55:06 +00:00
|
|
|
- person.paige
|
|
|
|
- person.justin
|
2023-07-20 03:32:11 +00:00
|
|
|
to: 'not_home'
|
|
|
|
from: 'home'
|
2023-05-30 20:48:27 +00:00
|
|
|
|
2020-12-20 01:52:14 +00:00
|
|
|
action:
|
|
|
|
- choose:
|
2020-12-20 02:57:47 +00:00
|
|
|
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
|
2020-12-20 01:52:14 +00:00
|
|
|
sequence:
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2020-12-20 23:29:38 +00:00
|
|
|
entity_id: media_player.stacey_bedroom
|
2020-12-20 01:52:14 +00:00
|
|
|
media_content_id: 'show garage camera'
|
|
|
|
media_content_type: custom
|
2020-12-20 02:57:47 +00:00
|
|
|
- delay: '00:10:00'
|
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
2020-12-20 23:29:38 +00:00
|
|
|
entity_id: media_player.stacey_bedroom
|
2020-12-20 02:57:47 +00:00
|
|
|
media_content_id: 'hide garage camera'
|
|
|
|
media_content_type: custom
|
2020-12-20 01:52:14 +00:00
|
|
|
|
2020-12-20 02:57:47 +00:00
|
|
|
default:
|
|
|
|
- service: media_player.play_media
|
2023-07-20 03:32:11 +00:00
|
|
|
target:
|
|
|
|
entity_id: media_player.kitchen
|
2020-12-20 02:57:47 +00:00
|
|
|
data:
|
|
|
|
media_content_id: 'show garage camera'
|
|
|
|
media_content_type: custom
|
|
|
|
- delay: '00:20:00'
|
|
|
|
- service: media_player.play_media
|
2023-07-20 03:32:11 +00:00
|
|
|
target:
|
|
|
|
entity_id: media_player.kitchen
|
2020-12-20 02:57:47 +00:00
|
|
|
data:
|
|
|
|
media_content_id: 'hide garage camera'
|
|
|
|
media_content_type: custom
|
2021-04-23 01:23:00 +00:00
|
|
|
|
|
|
|
- service: script.garage_lights_off
|
2025-01-13 18:27:08 +00:00
|
|
|
|