Initial Configuration

This commit is contained in:
2022-05-04 10:19:29 -07:00
parent 6a15c5b58f
commit af527f1e65
4 changed files with 113 additions and 1 deletions

View File

@@ -28,9 +28,18 @@ homeassistant:
- !secret tablet_net_ip4 - !secret tablet_net_ip4
# Customization and Packages # Customization and Packages
customize: !include customize.yaml customize: !include include/customize.yaml
packages: !include_dir_named packages packages: !include_dir_named packages
# HTTP Access
http:
ip_ban_enabled: true
login_attempts_threshold: 3
use_x_forwarded_for: true
trusted_proxies:
- !secret proxy_ip4
- !secret proxy_ip6
- !secret gateway_ip4
# Configure Lovelace/Dashboards for YAML Configuration # Configure Lovelace/Dashboards for YAML Configuration
lovelace: lovelace:
@@ -38,3 +47,84 @@ lovelace:
resources: !include lovelace/resources.yaml resources: !include lovelace/resources.yaml
dashboards: !include lovelace/dashboards.yaml dashboards: !include lovelace/dashboards.yaml
# MQTT Broker Connection
mqtt:
broker: mqtt.ha.kraussnet.com
port: 8883
username: !secret mqtt_username
password: !secret mqtt_password
certificate: /config/network-ca-chain.pem
discovery: true
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
# Configure Logging
logger:
default: info
###############################################################################
# Customize Default Integrations
#
# Not Enabled:
# - cloud
# - mobile_app
###############################################################################
# Automation File for Configuration UI
automation:
# Enable the Configuration UI
config:
# Enable the Front End
frontend:
# Add Themes
themes: !include_dir_merge_named themes
# Configure FontAwesome Icons
fontawesome:
regular:
solid:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Enable Person entities for device tracker grouping
# NOTE: See declaration in Presence package
#person:
# Record events to a database
recorder:
# Enable support for Simple Service Discovery Protocol
# Used by Philips Hue (disable if moving to Zigbee)
ssdp:
# Track the sun
sun:
# System Health monitor
system_health:
# Checks for Updates
updater:
# Enable UPnP/Zeroconf Service Discovery and Advertising
zeroconf:
# Discover some devices automatically
discovery:
# Setup Zones
zone: !include include/zones.yaml

0
include/customize.yaml Normal file
View File

21
include/zones.yaml Normal file
View File

@@ -0,0 +1,21 @@
###############################################################################
# Zone Definitions for Home Assistant
# Override Home Zone created during Onboarding
- name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
radius: 25
icon: mdi:home
- name: !secret jp_work_name
latitude: !secret jp_work_latitude
longitude: !secret jp_work_longitude
radius: 250
icon: mdi:briefcase
- name: !secret jen_work_name
latitude: !secret jen_work_latitude
longitude: !secret jen_work_longitude
radius: 250
icon: mdi:briefcase

1
packages/README.md Normal file
View File

@@ -0,0 +1 @@
# Home Assistant Packages