Initial Commit

This commit is contained in:
Dan
2019-06-22 23:10:30 -04:00
commit 1c32ac4850
15 changed files with 721 additions and 0 deletions

198
configuration.yaml Normal file
View File

@@ -0,0 +1,198 @@
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 41.3568
longitude: -82.262
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 244
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/New_York
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
lovelace:
mode: yaml
# Enables configuration UI
config:
map:
#namecheapdns:
# domain: danshouse.space
# password: c6dc6147fab242a2a4c50688790995c5
http:
# Secrets are defined in the file secrets.yaml
api_password: ICYN30blah
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
base_url: icyn30.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Track the sun
sun:
#weather
weather:
- platform: darksky
api_key: 19b4b95365ea88c65b085805ef046ba0
latitude: 41.469249
longitude: -81.713146
name: Amherst
# sensors
sensor:
- platform: yr
# - platform: darksky
# api_key: 19b4b95365ea88c65b085805ef046ba0
# latitude: 41.469249
# longitude: -81.713146
# monitored_conditions:
# - icon
# - precip_type
# - precip_intensity
# - precip_probability
# - apparent_temperature
# - apparent_temperature_max
# - apparent_temperature_min
# - precip_intensity_max
# - hourly_summary
# - platform: mqtt
# state_topic: "owntracks/HA/DansPhone"
# name: "Phone Battery"
# unit_of_measurement: "%"
# value_template: '{{ value_json.batt }}'
# - platform: mqtt_room
# device_id: e2c56db5dffb48d2b060d0f5a71096e0_0000_0000
# name: 'Dan'
# state_topic: 'happy-bubbles/presence/ha'
# away_timeout: 60
# - platform: mqtt_room
# device_id: 74278bdab64445208f0c720eaf059935_0000_0000
# name: 'Guest'
# state_topic: 'happy-bubbles/presence/ha'
# away_timeout: 60
# - platform: sonarr
# api_key: c544cae167164f11947c84ad4e04f61c
# host: 192.168.86.20
# monitored_conditions:
# - upcoming
# days: 7
# - diskspace
- platform: template
sensors:
thermostat_current_status:
value_template: "{{ states.climate.home.attributes.operation }}"
- platform: template
sensors:
thermostat_away_mode:
value_template: "{{ states.climate.home.attributes.away_mode }}"
- platform: template
sensors:
thermostat_climate_mode:
value_template: "{{ states.climate.home.attributes.climate_mode }}"
- platform: template
sensors:
thermostat_outside_temperature:
unit_of_measurement: "°F"
value_template: "{{ float(states.weather.home.attributes.temperature) }}"
# Text to speech
#tts:
# - platform: google
#mqtt:
# broker: core-mosquitto
# username: HA
# password: login
#device_tracker:
# - platform: owntracks
ifttt:
key: bO6GhKW9xCaQoIigKnq1qF
telegram_bot:
- platform: broadcast
api_key: 374239722:AAGd4y_LsEoOe5IUUblKXehCQFJV1s2JdQo
allowed_chat_ids:
438758485
notify:
name: notify_dan
platform: telegram
chat_id: 438758485
hue:
bridges:
- host: 192.168.86.44
allow_unreachable: true
alexa:
zwave:
usb_path: /dev/ttyUSB0
zha:
usb_path: /dev/ttyUSB1
database_path: /config/zigbee.db
ecobee:
api_key: 8DSRpsILZJNUIJXvSzY6C4ufrMQNQsHa
input_boolean:
thermostat_mode:
name: Thermostat Away Mode
influxdb:
host: docker.dandev.us
include:
entities:
- sensor.home_temperature
- sensor.home_humidity
- sensor.thermostat_outside_temperature
- device_tracker.dan_dansphone
- sensor.thermostate_current_status
- sensor.thermostate_climate_mode
- light.sengled_e11g13_030b22ba_1
- light.sengled_e11g13_030b3e1d_1
- light.sengled_e11g13_030b3efd_1
- light.sengled_e11g13_030b40af_1
- light.sengled_e11g13_031468d6_1
- light.table
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
zone: !include zones.yaml
intent_script: !include intents.yaml