mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-06-26 04:04:22 +00:00
Compare commits
No commits in common. "51346c1c4ce49dbddd8f2a6df9d677b95ebbbf91" and "92c4553a389218ddd70bc5e3d37b1a20a0ddb836" have entirely different histories.
51346c1c4c
...
92c4553a38
@ -1 +1 @@
|
|||||||
2024.10.0.dev202409030223
|
2024.9.0.dev202408050222
|
@ -1,17 +1,10 @@
|
|||||||
#-------------------------------------------
|
########## ############################################################
|
||||||
# People Greeting Announcement
|
# @CCOSTAN
|
||||||
# Description: Announces when family members arrive home
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
#
|
## Announce when people come or go.
|
||||||
# Features:
|
## Announce over all Chromecast Audios
|
||||||
# - Triggers when a person's state changes from 'not_home' to 'home'
|
# Read more at https://vCloudInfo.com
|
||||||
# - Waits for specific sensors to confirm entry
|
######################################################################
|
||||||
# - Uses speech_engine script for personalized welcome messages
|
|
||||||
# - Includes responsibility reminders and home status checks
|
|
||||||
#
|
|
||||||
# Integration: Uses ChromeCast for audio output
|
|
||||||
# Follow me https://www.vcloudinfo.com/click-here
|
|
||||||
# More Blog Posts: https://www.vcloudinfo.com
|
|
||||||
#-------------------------------------------
|
|
||||||
- alias: 'People Greeting'
|
- alias: 'People Greeting'
|
||||||
id: 29c5c9dd-550a-4761-a224-78cdc3dd9f43
|
id: 29c5c9dd-550a-4761-a224-78cdc3dd9f43
|
||||||
mode: restart
|
mode: restart
|
||||||
|
@ -1,16 +1,7 @@
|
|||||||
#-------------------------------------------
|
########## ############################################################
|
||||||
# Guest Mode Announcements
|
## Announce when people come or go.
|
||||||
# Description: Manages audio announcements for guest mode activation and deactivation
|
## Announce over all Chromecast Audios
|
||||||
#
|
######################################################################
|
||||||
# Features:
|
|
||||||
# - Announces when guest mode is enabled
|
|
||||||
# - Provides weather summary for guests
|
|
||||||
# - Resets guest mode when family returns home
|
|
||||||
#
|
|
||||||
# Integration: Uses speech_engine script for announcements
|
|
||||||
# uses ChromeCast for audio output
|
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
#-------------------------------------------
|
|
||||||
- alias: 'Guest Mode Audio Feedback'
|
- alias: 'Guest Mode Audio Feedback'
|
||||||
id: 3622ba04-9a28-4c02-807c-be4abc663fe0
|
id: 3622ba04-9a28-4c02-807c-be4abc663fe0
|
||||||
|
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
#-------------------------------------------
|
######################################################################
|
||||||
# Responsibilities Announcement
|
## Who's day is it anyway? Pretty sure my parent's didn't code to figure this out.
|
||||||
# Description: Triggers a speech announcement for daily responsibilities
|
######################################################################
|
||||||
#
|
|
||||||
# Features:
|
|
||||||
# - Announces garbage day and recycling reminders
|
|
||||||
# - Triggered by an input_boolean entity
|
|
||||||
#
|
|
||||||
# Integration: Uses speech_engine script for announcements
|
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
#-------------------------------------------
|
|
||||||
- alias: 'responsibilities'
|
- alias: 'responsibilities'
|
||||||
id: f39bd8db-a348-4024-a6a6-a3e3c836646c
|
id: f39bd8db-a348-4024-a6a6-a3e3c836646c
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Home Assistant Configuration
|
# @CCOSTAN
|
||||||
# Author: Carlo Costanzo (@CCOSTAN)
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# GitHub: https://github.com/CCOSTAN/Home-AssistantConfig
|
# Read all about this and more at https://vCloudInfo.com
|
||||||
# Blog: https://vCloudInfo.com
|
######################################################################################################
|
||||||
# Description: Main configuration file for Home Assistant setup
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
# customize: !include_dir_merge_named customize
|
# customize: !include_dir_merge_named customize
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
#-------------------------------------------
|
|
||||||
# Switches Configuration
|
|
||||||
# Description: Groups and organizes various switches in the home
|
|
||||||
#
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
Interior Switches:
|
Interior Switches:
|
||||||
entities:
|
entities:
|
||||||
- switch.kitchen_accent_1
|
- switch.kitchen_accent_1
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# HomeKit Configuration for Home Assistant
|
# @CCOSTAN
|
||||||
#
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# Description: This file controls the HomeKit integration settings,
|
# Read all about this and more at https://vCloudInfo.com
|
||||||
# defining which entities are exposed to Apple HomeKit.
|
# HomeKit control file.
|
||||||
#
|
######################################################################################################
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
##-------------------------------------------
|
|
||||||
|
|
||||||
filter:
|
filter:
|
||||||
include_domains:
|
include_domains:
|
||||||
|
@ -1,15 +1,10 @@
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Light Groups Configuration for Home Assistant
|
# @CCOSTAN
|
||||||
#
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# Description: This file defines light groups for improved control and integration
|
# Read all about this and more at https://vCloudInfo.com
|
||||||
# with voice assistants like Alexa and smart home platforms like HomeKit.
|
# Additional Light groups control file for better Alexa / HomeKit support
|
||||||
#
|
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/764
|
||||||
# For more information and updates, visit:
|
######################################################################################################
|
||||||
# https://www.vcloudinfo.com/click-here
|
|
||||||
#
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
# Related Issue: https://github.com/CCOSTAN/Home-AssistantConfig/issues/764
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
- platform: group
|
- platform: group
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
#-------------------------------------------
|
############################################################
|
||||||
# Logger Configuration for Home Assistant
|
|
||||||
#
|
#
|
||||||
# Description: This file controls the logging levels for various
|
# Logger You can filter anything betwen the []'s in the logger.
|
||||||
# components of Home Assistant. You can filter log entries by
|
|
||||||
# adjusting the severity levels for each component.
|
|
||||||
#
|
#
|
||||||
# Log Severities (in order of increasing severity):
|
############################################################
|
||||||
# notset, debug, info, warn, warning, error, fatal, critical
|
|
||||||
#
|
# Log Severities: notset, debug, info, warn, warning, error, fatal, critical
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
default: info
|
default: info
|
||||||
logs:
|
logs:
|
||||||
|
@ -1,24 +1,18 @@
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Conico Cameras Configuration
|
# @CCOSTAN
|
||||||
# Description: Integrates Conico Cameras with Alexa Media Player
|
|
||||||
# Last Updated: 2023-11-15
|
|
||||||
#
|
|
||||||
# Features:
|
|
||||||
# - Displays garage camera feed on Echo Show devices
|
|
||||||
# - 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
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# Blog Post: https://www.vcloudinfo.com/2019/03/integrating-smart-cameras-with-alexa-echo-shows.html
|
# Conico Cameras via Alexa Media Player
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
######################################################################
|
||||||
|
## Conico Camera - https://amzn.to/2Kl1eHo
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
## Show Camera on Echo Shows for 20 minutes after garage door opens.
|
||||||
|
## Show Image based on where Home Assistant thinks we are.
|
||||||
|
######################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: 'Garage Camera on Alexa Shows'
|
- alias: 'Garage Camera on Alexa Shows'
|
||||||
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
|
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
|
||||||
|
@ -1,22 +1,8 @@
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Finance Package Configuration
|
# @CCOSTAN
|
||||||
# Description: Tracks stock prices using Yahoo Finance integration
|
|
||||||
# Last Updated: 2023-11-15
|
|
||||||
#
|
|
||||||
# Integration: Yahoo Finance
|
|
||||||
# Documentation: https://www.home-assistant.io/integrations/yahoofinance/
|
|
||||||
#
|
|
||||||
# Stocks Tracked:
|
|
||||||
# - Tesla (TSLA)
|
|
||||||
# - Apple (AAPL)
|
|
||||||
# - Amazon (AMZN)
|
|
||||||
# - Microsoft (MSFT)
|
|
||||||
#
|
|
||||||
# Update Interval: Every 4 hours
|
|
||||||
#
|
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# Blog Post: https://www.vcloudinfo.com/2020/10/how-to-track-stocks-in-home-assistant-using-a-custom-component.html
|
# Tracking stocks with Yahoo Finance Custom Component
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
# https://www.vcloudinfo.com/2020/10/how-to-track-stocks-in-home-assistant-using-a-custom-component.html
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
yahoofinance:
|
yahoofinance:
|
||||||
|
@ -1,21 +1,9 @@
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Garadget Configuration
|
# # @CCOSTAN
|
||||||
# Description: Setup for Garadget garage door opener/sensor
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
#
|
## Garadget_Stuff - [Garadget](https://amzn.to/2jQLpVQ) - Garage Door opener/sensor
|
||||||
# Integration: MQTT
|
# Video and Write Up - https://www.vcloudinfo.com/2019/03/how-to-add-garadget-to-home-assistant.html
|
||||||
# Hardware: Garadget (https://amzn.to/2jQLpVQ)
|
# Switch to Access_Tokens - https://www.vcloudinfo.com/2020/05/fixing-garadget-in-home-assistant.html
|
||||||
#
|
|
||||||
# Features:
|
|
||||||
# - Garage door status monitoring
|
|
||||||
# - Remote open/close control
|
|
||||||
# - Door brightness sensing
|
|
||||||
#
|
|
||||||
# Documentation:
|
|
||||||
# - Integration Guide: https://www.vcloudinfo.com/2019/03/how-to-add-garadget-to-home-assistant.html
|
|
||||||
# - Access Token Update: https://www.vcloudinfo.com/2020/05/fixing-garadget-in-home-assistant.html
|
|
||||||
#
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
|
@ -22,15 +22,11 @@ automation:
|
|||||||
above: 34
|
above: 34
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
|
- condition: or
|
||||||
|
conditions:
|
||||||
- condition: time
|
- condition: time
|
||||||
after: '08:00:00'
|
after: '08:00:00'
|
||||||
before: '20:30:00'
|
before: '20:30:00'
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
@ -1,14 +1,6 @@
|
|||||||
#-------------------------------------------
|
############################################################
|
||||||
# Recorder Configuration
|
# recorder
|
||||||
# Description: Settings for the Home Assistant recorder component
|
############################################################
|
||||||
#
|
|
||||||
# This component is responsible for storing events and states in a database
|
|
||||||
# and purging old data to maintain database size.
|
|
||||||
#
|
|
||||||
# Documentation: https://www.home-assistant.io/integrations/recorder/
|
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
#-------------------------------------------
|
|
||||||
#db_url: sqlite:///data/home-assistant_v2.db
|
#db_url: sqlite:///data/home-assistant_v2.db
|
||||||
purge_keep_days: 14
|
purge_keep_days: 14
|
||||||
include:
|
include:
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
#-------------------------------------------
|
######################################################################################################
|
||||||
# AMP Settings Standardization Script
|
###Standardize AMP settings.
|
||||||
# Description: This script standardizes the settings for audio amplifiers
|
## @CCOSTAN
|
||||||
# across various media players in the home.
|
## Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
#
|
######################################################################################################
|
||||||
# For more information and updates, visit:
|
|
||||||
# https://www.vcloudinfo.com/click-here
|
|
||||||
#
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
# Set the AMP settings
|
# Set the AMP settings
|
||||||
amp_settings:
|
amp_settings:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# call_light_check
|
# call_light_check
|
||||||
# call_inside_weather
|
# call_inside_weather
|
||||||
# call_outside_weather
|
# call_outside_weather
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
# # @CCOSTAN
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
######################################################################################################
|
######################################################################################################
|
||||||
|
|
||||||
|
@ -1,22 +1,12 @@
|
|||||||
#-------------------------------------------
|
#####################################################################################################
|
||||||
# Speech Processing Script
|
###Script to actually send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this:
|
||||||
# Description: Sends notifications to ChromeCast Audio devices
|
|
||||||
#
|
|
||||||
# Features:
|
|
||||||
# - Operates during specified hours
|
|
||||||
# - Only activates when family is home or guest mode is on
|
|
||||||
# - Adjustable volume based on time of day
|
|
||||||
#
|
|
||||||
# Usage:
|
|
||||||
# action:
|
# action:
|
||||||
# service: script.speech_engine
|
# service: script.speech_engine
|
||||||
# data:
|
# media_player:
|
||||||
# media_player: [target_media_player]
|
# speech_message:
|
||||||
# speech_message: [message_to_speak]
|
# # @CCOSTAN
|
||||||
#
|
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# follow me on X for updates: https://x.com/CCOSTAN
|
######################################################################################################
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
speech_processing:
|
speech_processing:
|
||||||
mode: queued
|
mode: queued
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
#-------------------------------------------
|
###################################################
|
||||||
# MQTT Sensor Configuration
|
## Various MQTT sensors
|
||||||
# Description: Various MQTT sensors for Home Assistant
|
###################################################
|
||||||
#
|
|
||||||
# For more information and updates, visit:
|
|
||||||
# https://www.vcloudinfo.com/click-here
|
|
||||||
#
|
|
||||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
sensor:
|
sensor:
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
#-------------------------------------------
|
|
||||||
# Speech Briefing Macros
|
|
||||||
# Description: Contains various macros for generating speech briefings
|
|
||||||
#
|
|
||||||
# Features:
|
|
||||||
# - Weather reports (inside and outside)
|
|
||||||
# - Responsibility reminders
|
|
||||||
# - Dark outside notification
|
|
||||||
# - Holiday and countdown announcements
|
|
||||||
# - Air quality reports
|
|
||||||
# - Inspirational quotes and facts
|
|
||||||
#
|
|
||||||
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
# Blog Post: https://www.vcloudinfo.com/category/home-assistant
|
|
||||||
# Follow me on https://www.vcloudinfo.com/click-here
|
|
||||||
#-------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
>-
|
>-
|
||||||
{%- macro dark_outside() -%}
|
{%- macro dark_outside() -%}
|
||||||
The sun has set. I will turn on the outside lights.
|
The sun has set. I will turn on the outside lights.
|
||||||
@ -221,6 +203,10 @@
|
|||||||
[Include a fact about something that happened in the past on this day at the end of the message]
|
[Include a fact about something that happened in the past on this day at the end of the message]
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
{%- macro traffic_time() -%}
|
||||||
|
Travel Time to Spectrum: {{ states.sensor.waze_travel_time.state }} minutes.
|
||||||
|
{%- endmacro -%}
|
||||||
|
|
||||||
{# a macro that removes all newline characters, empty spaces, and returns formatted text and replaces underscores with spaces #}
|
{# a macro that removes all newline characters, empty spaces, and returns formatted text and replaces underscores with spaces #}
|
||||||
{%- macro cleanup(data) -%}
|
{%- macro cleanup(data) -%}
|
||||||
{%- for item in data.split("\n") if item | trim != "" -%}
|
{%- for item in data.split("\n") if item | trim != "" -%}
|
||||||
@ -244,11 +230,11 @@
|
|||||||
{% set year = current_date.strftime('%Y') %}
|
{% set year = current_date.strftime('%Y') %}
|
||||||
{% set time = current_date.strftime('%I:%M %p') %}
|
{% set time = current_date.strftime('%I:%M %p') %}
|
||||||
Current date time: {{ month }} {{ day }}, {{ year }} {{ time }}
|
Current date time: {{ month }} {{ day }}, {{ year }} {{ time }}
|
||||||
Residents: Location
|
Residents:
|
||||||
- Carlo (Dad): {{ states('device_tracker.life360_carlo_costanzo') }} at {{ state_attr('device_tracker.life360_carlo_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_carlo_costanzo', 'place') != None else 'Away' }}
|
- Carlo (Dad): {{ states('person.carlo') }}
|
||||||
- Stacey (Mom): {{ states('device_tracker.life360_stacey_costanzo')}} at {{ state_attr('device_tracker.life360_stacey_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_stacey_costanzo', 'place') != None else 'Away' }}
|
- Stacey (Mom): {{ states('person.stacey') }}
|
||||||
- Justin (Son): {{ states('device_tracker.life360_justin_costanzo') }} at {{ state_attr('device_tracker.life360_justin_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_justin_costanzo', 'place') != None else 'Away' }}
|
- Justin (Son): {{ states('person.justin') }}
|
||||||
- Paige (Daughter): {{ states('device_tracker.life360_paige_costanzo') }} at {{ state_attr('device_tracker.life360_paige_costanzo', 'place') | replace(' (Costanzo Family)', '') | replace(' (Desantis Family)', '') if state_attr('device_tracker.life360_paige_costanzo', 'place') != None else 'Away' }}
|
- Paige (Daughter): {{ states('person.paige') }}
|
||||||
and our cat Molly: Always home.
|
and our cat Molly: Always home.
|
||||||
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
|
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
|
||||||
[Avoid repeating information from the previous broadcast if it was within the hour]
|
[Avoid repeating information from the previous broadcast if it was within the hour]
|
||||||
@ -324,6 +310,10 @@
|
|||||||
{{ medicine() }}
|
{{ medicine() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if day_of_week in ['Mon', 'Wed', 'Sun'] and (hour in [7, 8, 13, 14] or 17 <= hour <= 21) %}
|
||||||
|
{{ traffic_time() }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if value1 is not none %}
|
{% if value1 is not none %}
|
||||||
{{ value1 | default }}
|
{{ value1 | default }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user