Added mqtt slave, new lamps

This commit is contained in:
Florian Brinker 2019-02-03 00:16:33 +01:00
parent b203634c85
commit e81a4f0b9d
8 changed files with 83 additions and 37 deletions

View File

@ -7,6 +7,7 @@
include_entities:
- light.ambilight
- light.kuchen_theke
- light.esstisch
- switch.livingroom_stimmungslicht
- switch.livingroom_music
- switch.livingroom_netflix
@ -29,6 +30,9 @@
light.kuchen_theke:
name: Theke
description: Küche - Theken-Lichter
light.esstisch:
name: Esstisch
description: Küche - Esstisch-Lampen
light.stimmungslicht:
name: Stimmungslicht
description: Wohnzimmer - Stimmungslicht

View File

@ -9,6 +9,8 @@ homeassistant:
whitelist_external_dirs:
- /backuplogs
frontend:
http:
ip_ban_enabled: true
login_attempts_threshold: 5
@ -34,19 +36,26 @@ config:
updater:
map:
#discovery:
conversation:
tts:
- platform: google
history:
logbook:
map:
recorder:
influxdb:
host: !secret influxdb
database: home_assistant
username: !secret influxdb_user
password: !secret influxdb_password
max_retries: 3
include:
entities:
@ -54,12 +63,9 @@ influxdb:
- sensor.attic_heatIndex
- sensor.attic_humidity
- sensor.attic_temperature
# - sensor.bathroom_hygrometer_battery
# - sensor.bathroom_hygrometer_humidity
# - sensor.bathroom_hygrometer_temperature
# - sensor.livingroom_heatindex
# - sensor.livingroom_humidity
# - sensor.livingroom_temperature
- sensor.bathroom_hygrometer_battery
- sensor.bathroom_hygrometer_humidity
- sensor.bathroom_hygrometer_temperature
# Youtube
- sensor.youtube_beauty
- sensor.youtube_beauty_videos
@ -68,6 +74,9 @@ influxdb:
- sensor.youtube_mtb_videos
- sensor.youtube_mtb_views
# Bitly
- sensor.bitly_blog_bb
- sensor.bitly_instagram_bb
- sensor.bitly_impressum_bb
- sensor.bitly_youtube_bb
# Instagram
- sensor.instagram_beauty
@ -97,6 +106,13 @@ mqtt:
username: !secret mqtt_username
password: !secret mqtt_password
mqtt_eventstream:
publish_topic: homeassistant/master
subscribe_topic: homeassistant-slaves/#
ignore_event:
- call_service
- state_changed
telegram_bot:
- platform: broadcast
api_key: !secret telegram_bot

View File

@ -1,6 +1,14 @@
icon: mdi:water-percent
path: humidity
cards:
- type: history-graph
title: 'Badezimmer'
refresh_interval: 30
entities:
- entity: sensor.bathroom_hygrometer_temperature
name: Temperatur
- entity: sensor.bathroom_hygrometer_humidity
name: Luftfeuchtigkeit
- type: history-graph
title: 'Dachboden'
refresh_interval: 30

View File

@ -2,6 +2,9 @@ title: Küche
path: kitchen
cards:
# Lights
- type: light
entity: light.kuchen_theke
name: Küchen-Theke
- type: entities
entities:
- entity: light.kuchen_theke
name: Küchen-Theke
- entity: light.esstisch
name: Esstisch

View File

@ -8,6 +8,8 @@ cards:
entities:
- entity: light.kuchen_theke
name: Küchen-Theke
- entity: light.esstisch
name: Esstisch
- entity: light.stimmungslicht
name: Stimmungslicht
icon: mdi:lightbulb

View File

@ -1,8 +0,0 @@
#- platform: mitemp_bt
# name: Bathroom Hygrometer
# mac: "4C:65:A8:DC:4D:B2"
# monitored_conditions:
# - temperature
# - humidity
# - battery

View File

@ -1,18 +1,18 @@
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'time_date'
- 'time_utc'
- 'beat'
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'time_date'
- 'time_utc'
- 'beat'
- platform: dnsip
- platform: dnsip
- platform: deutsche_bahn
from: "Salzbergen"
to: "Münster HBF"
- platform: template
sensors:
salzbergen_to_munster_hbf_ontime:
value_template: '{{ states.sensor.salzbergen_to_munster_hbf.attributes.ontime }}'
- platform: deutsche_bahn
from: "Salzbergen"
to: "Münster HBF"
- platform: template
sensors:
salzbergen_to_munster_hbf_ontime:
value_template: '{{ states.sensor.salzbergen_to_munster_hbf.attributes.ontime }}'

View File

@ -42,11 +42,32 @@
force_update: true
# Bit.ly
# http://bit.ly/blog-jbb
- platform: rest
scan_interval: 300
name: bitly_blog_bb
resource: !secret bitly_blog_bb
value_template: '{{ value_json.data.link_clicks }}'
force_update: true
# http://bit.ly/insta-jbb
- platform: rest
scan_interval: 300
name: bitly_instagram_bb
resource: !secret bitly_instagram_bb
value_template: '{{ value_json.data.link_clicks }}'
force_update: true
#http://bit.ly/impressum-jbb
- platform: rest
scan_interval: 300
name: bitly_impressum_bb
resource: !secret bitly_impressum_bb
value_template: '{{ value_json.data.link_clicks }}'
force_update: true
# http://bit.ly/youtube-bb
- platform: rest
scan_interval: 300
name: bitly_youtube-bb
resource: !secret bitly_youtube-bb
name: bitly_youtube_bb
resource: !secret bitly_youtube_bb
value_template: '{{ value_json.data.link_clicks }}'
force_update: true