Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
twids committed Jan 15, 2018
1 parent b97f17c commit 79ead0e
Show file tree
Hide file tree
Showing 9 changed files with 260 additions and 252 deletions.
2 changes: 1 addition & 1 deletion .HA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.57.2
0.61.0
6 changes: 6 additions & 0 deletions .tradfri_psk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"192.168.1.251": {
"identity": "f40f299503c040b7986bcbe24d94726f",
"key": "Bvy7zpCRadg2Odby"
}
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"logViewer.watch": [
{
"title": "Home Assistant",
"pattern": "Z:\\home-assistant.log"
},
{
"title": "Z-Wave Log",
"pattern": "Z:\\OZW_Log.txt"
}
],
}
13 changes: 2 additions & 11 deletions automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,6 @@
- service: switch.turn_off
entity_id: switch.handdukstork_49

- id: Bevattning
alias: Bevattning
trigger:
- platform: time
at: '19:00:00'
action:
- service: switch.turn_on
entity_id: switch.vattenpump_94

- id: Bevattning Auto Off
alias: Bevattning Automatisk Avstängning
trigger:
Expand All @@ -118,8 +109,8 @@
alias: Handdukstork Auto På (Luftfuktighet)
trigger:
- platform: numeric_state
entity_id: sensor.bathroom_humidity_delta
above: 15
entity_id: sensor.temphumidity_bathroom_sensor_stats_mean
above: 11
action:
- service: switch.turn_on
entity_id: switch.handdukstork_49
Expand Down
44 changes: 29 additions & 15 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ frontend:
# Enables configuration UI
config:


recorder:
purge_interval: 1
purge_keep_days: 30
db_url: !secret mssqldb_url

logger:
default: warning

Expand All @@ -46,6 +52,8 @@ http:
ssl_certificate: /etc/letsencrypt/live/home.widsell.nu/fullchain.pem
ssl_key: /etc/letsencrypt/live/home.widsell.nu/privkey.pem
base_url: home.widsell.nu
ip_ban_enabled: True
login_attempts_threshold: 5

# Checks for available updates
# Note: This component will send some information about your system to
Expand Down Expand Up @@ -112,34 +120,40 @@ notify:
gcm_api_key: 'AAAAutnjaPk:APA91bEj3RCns7KJSytQvrcv4t5Uwjpr8U9whcvscIdrXiI_ziUkP8nEccD13JTK7B_3QM_fBVBHzStuY0qKSOWvMb1ekRbJx9BeXWKTbhSCDDSoFbzhhfDjy5NhK59Od2wf6h22v8-P'
gcm_sender_id: '802519476473'

influxdb:
username: "hass"
password: !secret influxdb_pw
database: "db_widsnet"
default_measurement: state
exclude:
domains:
- automation

#device_tracker:
# - platform: asuswrt
# host: 192.168.1.1
# protocol: telnet
# username: admin
# password: !secret default_password
device_tracker:
- platform: owntracks_http
- platform: asuswrt
host: 192.168.1.1
protocol: telnet
username: admin
password: !secret default_password

mqtt:
broker: localhost
port: 8883
username: homeassistant
password: !secret mosquitto

#light:
# platform: hue
# host: 192.168.1.171

panel_iframe:
grafana:
title: 'Grafana'
icon: 'mdi:chart-bar'
url: 'https://home.widsell.nu:3000/dashboard/db/home-assistant?orgId=1'

influxdb:
username: "hass"
host: 192.168.1.10
password: !secret influxdb_pw
max_retries: 3
database: "db_widsnet"
default_measurement: state
exclude:
domains:
- automation

group: !include groups.yaml
automation: !include automations.yaml
102 changes: 0 additions & 102 deletions configuration.yaml.save

This file was deleted.

116 changes: 0 additions & 116 deletions configuration.yaml.save.1

This file was deleted.

14 changes: 7 additions & 7 deletions sensors.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
- platform: yr

- platform: dht
sensor: DHT22
pin: 4
monitored_conditions:
- temperature
- humidity
#- platform: dht
# sensor: DHT22
# pin: 4
# monitored_conditions:
# - temperature
# - humidity

- platform: miflora
name: Fikus
Expand All @@ -27,6 +27,6 @@
sensors:
bathroom_humidity_delta:
friendly_name: "Bathroom Humidity Delta"
value_template: "{{ states.sensor.temphumidity_bathroom_sensor_stats_mean.attributes.max_value | float - states.sensor.temphumidity_bathroom_sensor_stats_mean.attributes.min_value | float }}"
value_template: "{{ states.sensor.temphumidity_bathroom_sensor_stats_mean.attributes.change | float }}"
entity_id: sensor.temphumidity_bathroom_sensor_stats_mean
unit_of_measurement: "Δ"
Loading

0 comments on commit 79ead0e

Please sign in to comment.