moved compoletely to node-red for automations. Cleaned up a bit. Upgraded to latest version of HA

This commit is contained in:
root
2020-09-21 12:17:37 -04:00
parent dfa1cd40b8
commit 4cf44009a2
36 changed files with 2731 additions and 718 deletions

View File

@@ -1,69 +1,30 @@
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:
recorder:
db_url: postgresql://ha:password@docker.dandev.us/homeassistant
purge_interval: 0
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
db_url: mysql://house:x3147qwfsbb9ctWy@192.168.86.198/house?charset=utf8
#purge_interval: 0
auto_purge: false
history:
# log:
system_health:
mobile_app:
# hassio:
# View all events in a logbook
logbook:
# Configure a default setup of Home Assistant (frontend, api, etc)
config:
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Track the sun
sun:
#weather
weather:
@@ -72,46 +33,21 @@ weather:
latitude: 41.469249
longitude: -81.713146
name: Amherst
sun:
hue:
bridges:
- host: 192.168.86.44
allow_unreachable: true
# 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
# - diskspace
# days: 7
#- platform: yr
- platform: sonarr
api_key: 0db45f76dbfc432ab5c86d8346d5165e
host: 192.168.86.198:8989
days: 7
# climate template sensors
- platform: template
sensors:
thermostat_current_status:
@@ -128,83 +64,19 @@ sensor:
sensors:
thermostat_outside_temperature:
unit_of_measurement: "°F"
value_template: "{{ float(states.weather.home.attributes.temperature) }}"
value_template: "{{ float(states.weather.home_2.attributes.temperature) }}"
#name: "Outside Temperature"
#MQTT sensors
- platform: mqtt
state_topic: "upstairstemp/sensor/temp"
state_topic: "house/sensor/bedroom_temperature/state"
name: "Upstairs Temperature"
unit_of_measurement: "°F"
- platform: mqtt
state_topic: "house/sensor/bedroom_humidity/state"
name: "Upstairs Humidity"
unit_of_measurement: "%"
- platform: mqtt
state_topic: "DansPhone/sleepinfo"
name: "sleep Info"
# 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
- sensor.upstairs_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