Update HA version to 2025.7.2, remove deprecated Conico camera configuration, and add new automation for auto-opening the large garage door upon arrival. Enhance garage camera integration with Alexa Media Player for better home monitoring.

pull/1524/head
Carlo Costanzo 5 months ago
parent 4d0268c009
commit b5138cc340

@ -1 +1 @@
2025.7.1
2025.7.2

@ -12,4 +12,3 @@ sensor:
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
#-------------------------------------------

@ -1,81 +0,0 @@
#-------------------------------------------
# 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
# - Displays driveway camera feed when front door opens
# - 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
#-------------------------------------------
automation:
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
mode: single
trigger:
- platform: state
entity_id:
- cover.large_garage_door
- cover.small_garage_door
from: 'closed'
to: 'open'
- platform: state
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
from: 'off'
to: 'on'
- platform: state
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
to: 'not_home'
from: 'home'
action:
- choose:
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
sequence:
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:10:00'
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'hide garage camera'
media_content_type: custom
default:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off

@ -84,6 +84,44 @@ group:
######################################################################
automation:
######################################################################
## Automation: Auto-open Large Garage Door when someone comes home
######################################################################
- alias: 'Auto Open Large Garage Door On Arrival'
id: 7e2b1c3a-4b1e-4b2a-9c1a-automated_garage_door
mode: single
trigger:
- platform: state
entity_id:
- person.carlo
- person.stacey
from: 'not_home'
to: 'home'
condition:
# Only if the person has been away for at least 60 minutes
- condition: template
value_template: >
{{ (as_timestamp(now()) - as_timestamp(trigger.from_state.last_changed)) > 3600 }}
# Garage door must be closed
- condition: state
entity_id: cover.large_garage_door
state: 'closed'
- condition: state
entity_id: group.bed
state: 'off'
action:
- service: cover.open_cover
target:
entity_id: cover.large_garage_door
- service: script.notify_engine
data:
who: 'parents'
value1: "Large Garage has been auto-opened for {{ states('input_text.last_person_home') }}."
title: 'Garage Auto-Opened'
group: 'Welcome_Home'
camera_entity: camera.frontdoorbell
- alias: 'Garage Helper'
id: 365adc21-5e96-4e78-9e94-089901a29430
mode: parallel
@ -339,3 +377,61 @@ automation:
data:
value1: "Check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}} [Only mention the garage door that is open and remind us to close it for the night]"
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
mode: single
trigger:
- platform: state
entity_id:
- cover.large_garage_door
- cover.small_garage_door
from: 'closed'
to: 'open'
- platform: state
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
from: 'off'
to: 'on'
- platform: state
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
to: 'not_home'
from: 'home'
action:
- choose:
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
sequence:
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:10:00'
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'hide garage camera'
media_content_type: custom
default:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off

Loading…
Cancel
Save

Powered by TurnKey Linux.