Commit 07ff4d62 authored by Erick Hitter's avatar Erick Hitter

Sync with upstream be3190fa1cb47845c2ea9fae8bc55904bec051b2

parent 6b733ce9
0.65.3
\ No newline at end of file
0.88.1
\ No newline at end of file
deps
*.db
.storage/
host: 192.168.1.1
username: !secret asus_user
ssh_key: !secret asus_key
......@@ -4,10 +4,6 @@ trigger:
entity_id: sensor.ups_status
from: "ONLINE"
action:
- service: notify.jabber
data:
message: "Office APC has status \"{{ states( 'sensor.ups_status' ) }}\""
target: !secret jabber_recipient
- service: notify.mattermost
data:
message: ":exclamation: :battery: Office APC has status \"{{ states( 'sensor.ups_status' ) }}\""
......
......@@ -4,10 +4,6 @@ trigger:
entity_id: sensor.ups_status
to: "ONLINE"
action:
- service: notify.jabber
data:
message: 'Office APC is "ONLINE"'
target: !secret jabber_recipient
- service: notify.mattermost
data:
message: ':exclamation: :electric_plug: Office APC is "ONLINE"'
......
......@@ -31,10 +31,6 @@ action:
- scene.master_bedroom_bright
- scene.master_bath_bright
- scene.balcony_bright
- service: notify.jabber
data:
message: 'MAYBE AN EARTHQUAKE?!? ALL ACCELEROMETERS ARE ACTIVE.'
target: !secret jabber_recipient
- service: notify.mattermost
data:
message: 'MAYBE AN EARTHQUAKE?!? ALL ACCELEROMETERS ARE ACTIVE.'
......
platform: digital_ocean
droplets:
- ''
- ''
platform: linode
nodes:
- ''
platform: vultr
subscription:
platform: vultr
subscription:
......@@ -8,10 +8,14 @@ homeassistant:
elevation: 250
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles
#
unit_system: imperial
#
customize: !include_dir_merge_named customizations
auth_providers:
- type: homeassistant
- type: legacy_api_password
- type: trusted_networks
auth:
http:
api_password: !secret api_password
......@@ -43,7 +47,7 @@ frontend:
# Set recorder options
recorder:
purge_interval: 1
purge_keep_days: 90
purge_keep_days: 30
db_url: !secret mysql_recorder
# Enables support for tracking state changes over time.
......@@ -58,10 +62,6 @@ discovery:
# Logging settings
logger:
default: warn # default logging level
logs:
homeassistant.components.device_tracker.asuswrt: error # suppress IPv6-related warnings; see https://github.com/home-assistant/home-assistant/issues/2814
homeassistant.components.sensor.rest: debug # to aid debugging locks
homeassistant.helpers.entity: fatal # Hue bridge throws lots of errors
# View all events in a logbook
logbook:
......@@ -77,10 +77,12 @@ mqtt:
broker: localhost
# Components
asuswrt: !include asuswrt.yaml
hue:
bridges: !include hue.yaml
media_player: !include media-player.yaml
cast:
switch: !include switches.yaml
......@@ -94,8 +96,6 @@ alarm_control_panel: !include alarm-control-panel.yaml
wemo: !include wemo.yaml
weblink: !include weblinks.yaml
panel_iframe: !include panels-iframe.yaml
apcupsd:
......@@ -110,21 +110,9 @@ scene: !include_dir_list scenes
script: !include scripts.yaml
shell_command: !include shell_commands.yaml
automation: !include_dir_list automations
# Controls
input_select: !include input-selects.yaml
input_number: !include input-numbers.yaml
# VPS hosts
linode:
access_token: !secret linode1
digital_ocean:
access_token: !secret digital_ocean
vultr:
api_key: !secret vultr
script.restart_august_daemon:
friendly_name: Restart August daemon
icon: mdi:autorenew
script.force_lock_interior:
friendly_name: Lock Interior
icon: mdi:autorenew
script.force_unlock_interior:
friendly_name: Unlock Interior
icon: mdi:autorenew
script.force_disconnect_interior:
friendly_name: Disconnect Interior
icon: mdi:close-octagon
script.force_lock_keyed:
friendly_name: Lock Keyed
icon: mdi:autorenew
script.force_unlock_keyed:
friendly_name: Unlock Keyed
icon: mdi:autorenew
script.force_disconnect_keyed:
friendly_name: Disconnect Keyed
icon: mdi:close-octagon
sensor.speedtest_ping:
icon: mdi:radar
sensor.speedtest_download:
icon: mdi:download
sensor.speedtest_upload:
icon: mdi:upload
sensor.kitchen_fluorescent_consumption:
friendly_name: Kitchen Fluorescent
icon: mdi:lightbulb-outline
......@@ -52,72 +46,6 @@ sensor.office_cabinet_battery_level:
sensor.green_keys_battery_level:
friendly_name: Green keys
icon: mdi:battery-outline
sensor.pws_weather:
friendly_name: Weather
sensor.pws_temp_f:
friendly_name: Temperature
sensor.pws_feelslike_string:
friendly_name: Feels Like
icon: mdi:thermometer
sensor.pws_heat_index_string:
friendly_name: Heat Index
icon: mdi:thermometer
sensor.pws_relative_humidity:
friendly_name: Humidity
icon: mdi:weather-rainy
sensor.pws_dewpoint_string:
friendly_name: Dewpoint
icon: mdi:weather-rainy
sensor.pws_wind_string:
friendly_name: Wind
icon: mdi:weather-windy
sensor.pws_precip_today_string:
friendly_name: Precipitation
icon: mdi:weather-rainy
sensor.pws_pressure_in:
friendly_name: Pressure
icon: mdi:thermometer-lines
sensor.pws_visibility_mi:
friendly_name: Visibility
sensor.pws_uv:
friendly_name: UV
icon: mdi:weather-sunny
sensor.pws_solarradiation:
friendly_name: Solar Radiation
icon: mdi:weather-sunny
sensor.pws_dewpoint_c:
friendly_name: Dew Point (C)
sensor.pws_dewpoint_f:
friendly_name: Dew Point (F)
sensor.pws_feelslike_c:
friendly_name: Feels Like (C)
sensor.pws_feelslike_f:
friendly_name: Feels Like (F)
sensor.pws_heat_index_c:
friendly_name: Heat Index (C)
sensor.pws_heat_index_f:
friendly_name: Heat Index (F)
sensor.pws_precip_today_in:
friendly_name: Precipitation (in)
sensor.pws_precip_today_metric:
friendly_name: Precipitation (mm)
sensor.pws_pressure_mb:
friendly_name: Pressure (mb)
sensor.pws_station_id:
friendly_name: Weather Station ID
sensor.pws_temp_c:
friendly_name: Temperature (C)
sensor.pws_visibility_km:
friendly_name: Visibility
sensor.pws_wind_dir:
friendly_name: Wind Direction
sensor.pws_wind_kph:
friendly_name: Wind Speed (kph)
sensor.pws_wind_mph:
friendly_name: Wind Speed (mph)
sensor.pws_alerts:
friendly_name: Severe Weather
icon: mdi:alert-outline
sensor.time:
friendly_name: Time (PT)
sensor.ups_status:
......
......@@ -2,10 +2,3 @@
qos: 1
devices:
green_keys: smartthings/Green Keys/presence
- platform: asuswrt
host: 192.168.1.1
username: !secret asus_user
ssh_key: !secret asus_key
consider_home: 90
new_device_defaults:
track_new_devices: false
light.ericks_desk_lamp:
platform: hue
unique_id: 00:17:88:01:10:28:1d:5c-0b
light.master_bath_1:
platform: hue
unique_id: 00:17:88:01:10:26:ea:c1-0b
light.master_bath_2:
platform: hue
unique_id: 00:17:88:01:10:26:e0:cf-0b
light.nightstand:
platform: hue
unique_id: 00:17:88:01:10:26:c4:ec-0b
light.ceiling_fan_1:
platform: hue
unique_id: 00:17:88:01:10:28:05:62-0b
light.office:
platform: hue
unique_id: 00:17:88:01:10:26:c8:f8-0b
light.corner_table:
platform: hue
unique_id: 00:17:88:01:10:26:f1:99-0b
light.ceiling_fan_2:
platform: hue
unique_id: 00:17:88:01:10:28:1e:05-0b
light.master_bath_3:
platform: hue
unique_id: 00:17:88:01:10:28:5d:db-0b
light.balcony_2:
platform: hue
unique_id: 00:17:88:01:10:28:58:54-0b
light.endtable:
platform: hue
unique_id: 00:17:88:01:10:26:be:26-0b
switch.kitchen_nightlight:
platform: wemo
unique_id: 231624K12008CB
media_player.nexus_player:
platform: cast
unique_id: 3ab2baa0-f44b-431c-2101-9ea71c44c871
media_player.living_room:
platform: cast
unique_id: 85609ba9-d576-0aef-b97b-2f00c7a28979
media_player.apartment:
platform: cast
unique_id: 70741ea6-7b39-44e9-ae21-14d85ebf8686
media_player.common_area:
platform: cast
unique_id: 95937ccb-b60f-429e-8773-6513038c6535
media_player.kitchen:
platform: cast
unique_id: eac89627-50fe-bcfa-1498-ec83c7a4ed62
media_player.office:
platform: cast
unique_id: 541ec58c-063e-2dfb-59c2-1b9a867616c2
project_id: !secret google_home_project_id
client_id: !secret google_home_client_id
access_token: !secret google_home_access_token
api_key: !secret google_home_api_key
exposed_domains:
- switch
......
......@@ -3,7 +3,6 @@ default_view:
view: yes
icon: mdi:home
entities:
- group.locks
- group.master_bedroom
- group.master_bathroom
- group.living_room
......@@ -23,10 +22,6 @@ sensor_view:
- group.smoke_gas
- group.power_consumption
- group.presence
- sensor.speedtest_ping
- sensor.speedtest_download
- sensor.speedtest_upload
- sensor.fastcom_download
- sun.sun
status_view:
name: Status
......@@ -36,29 +31,20 @@ status_view:
- group.time_date
- group.sensor_pi
- group.sensor_apc
- group.vps
weather_view:
name: Weather
media_view:
name: Media
view: yes
icon: mdi:white-balance-sunny
icon: mdi:play-network
entities:
- group.wunderground
- media_player.living_room
misc_view:
name: Misc
view: yes
icon: mdi:power
entities:
- group.scripts_misc
- group.misc_misc
- group.haveibeenpwned
- group.sensor_battery_levels
locks:
name: Locks
entities:
- switch.august_interior
- switch.august_keyed
- script.force_unlock_interior
- script.force_unlock_keyed
master_bedroom:
name: Master Bedroom
entities:
......@@ -177,7 +163,7 @@ sensor_pi:
name: Raspberry Pi
entities:
- sensor.cpu_use
- sensor.disk_use_
- sensor.disk_use
- sensor.disk_use_varlog
- sensor.ram_use
- sensor.ram_free
......@@ -203,21 +189,6 @@ sensor_apc:
- sensor.ups_nominal_input_voltage
- sensor.ups_nominal_output_power
- sensor.ups_load_mean
vps:
name: VPS
entities:
- binary_sensor.example
scripts_misc:
name: Lock Actions
control: hidden
entities:
- script.restart_august_daemon
- script.force_lock_interior
- script.force_unlock_interior
- script.force_disconnect_interior
- script.force_lock_keyed
- script.force_unlock_keyed
- script.force_disconnect_keyed
misc_misc:
name: Other
control: hidden
......@@ -245,20 +216,3 @@ sensor_battery_levels:
- sensor.office_motion_sensor_far_wall_battery_level
- sensor.office_cabinet_battery_level
- sensor.green_keys_battery_level
wunderground:
name: Wunderground
entities:
- sensor.pws_weather
- sensor.pws_temp_f
- sensor.pws_feelslike_string
- sensor.pws_heat_index_string
- sensor.pws_relative_humidity
- sensor.pws_dewpoint_string
- sensor.pws_wind_string
- sensor.pws_precip_today_string
- sensor.pws_pressure_in
- sensor.pws_visibility_mi
- sensor.pws_uv
- sensor.pws_solarradiation
- sensor.pws_alerts
- weblink.forecast
- name: jabber
platform: xmpp
sender: !secret jabber_sender
password: !secret jabber_password
recipient: !secret jabber_recipient
tls: true
- name: mattermost
platform: rest
resource: !secret mattermost_webhook
......
......@@ -2,17 +2,11 @@ host_ip:
api_password:
latitude:
longitude:
jabber_sender:
jabber_recipient:
jabber_password:
asus_user:
asus_key:
gravatar_erick:
gravatar_chris:
gravatar_chris_2:
wunderground_key:
wunderground_pws_id:
wunderground_forecast_url:
logentries_token:
mysql_recorder:
wemo_kitchen_ip:
......@@ -21,11 +15,5 @@ pi_hole_backup_host:
pi_hole_admin:
monit_admin:
mattermost_webhook:
linode1:
linode2:
digital_ocean:
vultr:
google_home_project_id:
google_home_client_id:
google_home_access_token:
google_home_api_key:
......@@ -13,7 +13,6 @@ resources:
- tonbatt
- lastxfer
- cumonbatt
- xonbatt
- xoffbatt
- model
- serialno
......
platform: fastdotcom
minute:
- 4
- 19
- 34
- 49
platform: speedtest
minute:
- 2
- 17
- 32
- 47
monitored_conditions:
- ping
- download
- upload
......@@ -12,7 +12,6 @@ resources:
- type: swap_use
- type: swap_free
- type: last_boot
- type: since_last_boot
- type: network_in
arg: eth0
- type: network_out
......
platform: wunderground
api_key: !secret wunderground_key
pws_id: !secret wunderground_pws_id
monitored_conditions:
- weather
- temp_f
- temp_c
- station_id
- feelslike_c
- feelslike_f
- feelslike_string
- heat_index_c
- heat_index_f
- heat_index_string
- dewpoint_c
- dewpoint_f
- dewpoint_string
- wind_kph
- wind_mph
- UV
- pressure_in
- pressure_mb
- wind_dir
- wind_string
- relative_humidity
- visibility_mi
- visibility_km
- precip_today_in
- precip_today_metric
- precip_today_string
- solarradiation
- alerts
restart_august_daemon: /usr/bin/pm2 restart augustctl
force_lock_keyed: curl http://localhost:3000/api/lock/keyed
force_lock_interior: curl http://localhost:3000/api/lock/interior
force_unlock_keyed: curl http://localhost:3000/api/unlock/keyed
force_unlock_interior: curl http://localhost:3000/api/unlock/interior
force_disconnect_keyed: curl http://localhost:3000/api/disconnect/keyed
force_disconnect_interior: curl http://localhost:3000/api/disconnect/interior
......@@ -40,17 +40,3 @@
payload_on: "on"
payload_off: "off"
retain: true
- platform: command_line
switches:
august_interior:
command_on: 'curl "http://localhost:3000/api/lock/interior"'
command_off: 'curl "http://localhost:3000/api/unlock/interior"'
command_state: 'curl --silent "http://localhost:3000/api/status/interior" | jq ".status"'
value_template: '{{ value == "0" }}'
- platform: command_line
switches:
august_keyed:
command_on: 'curl "http://localhost:3000/api/lock/keyed"'
command_off: 'curl "http://localhost:3000/api/unlock/keyed"'
command_state: 'curl --silent "http://localhost:3000/api/status/keyed" | jq ".status"'
value_template: '{{ value == "0" }}'
entities:
- name: Forecast
url: !secret wunderground_forecast_url
icon: mdi:web
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment