This commit is contained in:
Bastian Schnorbus
2025-05-04 15:43:28 +02:00
parent f33f8160ad
commit dc9575ff33
7 changed files with 839 additions and 316 deletions

View File

@@ -1,5 +1,5 @@
- id: '1653242475391'
alias: 'Kinderzimmer Nacht Rollo Luft '
alias: 'Zeit: Kinderzimmer Nacht Rollo Luft '
description: ''
trigger:
- platform: time
@@ -62,7 +62,8 @@
initial_state: true
mode: single
- id: ZwaveTemperatureToHomematicTimed
alias: ZwaveTemperatureToHomematicTimed
alias: 'Timed: Provide Humidity Aussen to Homematic'
description: ''
trigger:
- platform: time_pattern
minutes: /5
@@ -71,10 +72,11 @@
data_template:
entity_id: homematic.ccu2
name: AussenTemp
value: '{{states.sensor.neomulti4in1_temperature.state}}'
value: '{{ states.sensor[''0x14b457fffe0bde4c_temperature''].state }}'
initial_state: true
- id: ZwaveHumidityToHomematicTimed
alias: ZwaveHumidityToHomematicTimed
alias: 'Timed: Provide Temp Aussen to Homematic'
description: ''
trigger:
- platform: time_pattern
minutes: /5
@@ -83,7 +85,7 @@
data_template:
entity_id: homematic.ccu2
name: ZWHumidity
value: '{{states.sensor.neomulti4in1_humidity.state}}'
value: '{{ states.sensor[''0x14b457fffe0bde4c_humidity''].state }}'
initial_state: true
- id: standlamp_on
alias: Stehlampe ein Abends
@@ -228,7 +230,7 @@
alias: 'Aus: Lichter aus bei Helligkeit Morgens'
trigger:
- above: '800'
entity_id: sensor.neomulti4in1_illuminance_lux
entity_id: sensor.0x14b457fffe0bde4c_illuminance_lux
platform: numeric_state
condition: []
action:
@@ -261,7 +263,7 @@
- id: '1566136553211'
alias: sonos_nachtmodus
trigger:
- at: '22:30:00'
- at: '19:30:00'
platform: time
condition: []
action:
@@ -315,28 +317,6 @@
- cover.bedroom_cover_r
- cover.00115a498e0439
mode: single
- id: '1579939003577'
alias: Rollos hoch Sonnenaufgang
description: ''
trigger:
- event: sunrise
platform: sun
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- condition: state
entity_id: input_boolean.vacation_mode
state: 'Off'
action:
- data:
entity_id: group.all_covers
service: cover.open_cover
mode: single
- id: '1582149264429'
alias: 'Aus: Lichter beim Verlassen morgens'
description: ''
@@ -473,9 +453,9 @@
tag_id: f8a8e7d1-4b41-4db2-b358-5028c7084d15
condition: []
action:
- service: notify.mobile_app_pixel4a
- service: notify.mobile_app_pixel_6a
data:
message: fsafsadf
message: Schlaf schön
- scene: scene.schlafenszeit
mode: single
- id: '1627567078221'
@@ -529,31 +509,6 @@
- switch.run_script_musikstreamingstarten
- switch.run_script_radiostarten
mode: single
- id: '1661800146764'
alias: 'Kinderzimmer: Rollo runter bei Kälte oder Helligkeit'
description: ''
trigger:
- platform: state
entity_id:
- sensor.neomulti4in1_temperature
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.neomulti4in1_temperature
below: '18'
- condition: numeric_state
entity_id: sensor.neomulti4in1_illuminance_lux
above: '50'
sequence:
- service: cover.set_cover_position
data:
position: 2
target:
entity_id: cover.00115a498e0439
default: []
mode: single
- id: '1662547547972'
alias: 'Aus: Aida Ei, Aura Lampe (Zeit/Sonne)'
description: ''
@@ -574,28 +529,6 @@
- light.aura_table_lamp
- light.aida_ei
mode: single
- id: '1663085252318'
alias: 'Abwesenheit: TVs aus bei verlassen'
description: ''
trigger:
- platform: state
entity_id:
- group.all_mobile_devices
from: home
to: not_home
condition:
- condition: state
entity_id: group.all_mobile_devices
state: not_home
action:
- data: {}
service: switch.turn_off
target:
entity_id:
- switch.neq1809644
- switch.tp_link_smart_plug_b251
- switch.0xc4988600000f75a3
mode: single
- id: '1658352177825'
alias: 'Webhook: Rollo Kinderzimmer schliessen'
description: Webhook für IFTTT um auf Alexa zu reagieren
@@ -636,33 +569,6 @@
target:
entity_id: light.peq1195568
mode: single
- id: '1665484519306'
alias: 'Abwesenheit: Lichter & Geräte aus.'
description: ''
trigger:
- platform: state
entity_id:
- group.all_mobile_devices
from: home
to: not_home
condition:
- condition: state
entity_id: group.all_mobile_devices
state: not_home
action:
- service: light.turn_off
data: {}
target:
entity_id:
- light.aura_table_lamp
- light.schlummerlicht
area_id: kinderzimmer
- service: switch.turn_off
data: {}
target:
entity_id: switch.smartplug1
area_id: 1d171e588f714f2f8bd7f2abdeb22a85
mode: single
- id: '1665853168244'
alias: 'Webhook: TV ein'
description: ''
@@ -697,18 +603,17 @@
attribute: current_position
above: 70
- condition: numeric_state
entity_id: sensor.neomulti4in1_illuminance_lux
attribute: illuminance_lux
below: 80
entity_id: sensor.0x14b457fffe0bde4c_illuminance_lux
below: 350
action:
- service: cover.set_cover_position
data:
- data:
position: 20
target:
entity_id:
- cover.00115a498e0439
- cover.bedroom_cover_l
- cover.bedroom_cover_r
action: cover.set_cover_position
mode: single
- id: '1666731752157'
alias: 'Morgens: Kinderzimmer Lampe an'
@@ -742,36 +647,38 @@
- id: '1669913615090'
alias: 'Deko: Weihnachtsstern WZ ein'
description: ''
trigger:
- platform: time_pattern
hours: '16'
triggers:
- hours: '16'
minutes: '30'
condition: []
action:
- type: turn_on
device_id: 943c6b2308bc1a2864bab0e091efed3a
entity_id: switch.0xc4988600000fb820
domain: switch
trigger: time_pattern
conditions: []
actions:
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.tasmota
mode: single
- id: '1669913660233'
alias: 'Deko: WZ Weihnachtsstern aus'
description: ''
trigger:
- platform: time_pattern
hours: '23'
triggers:
- hours: '23'
minutes: '21'
seconds: '10'
condition: []
action:
trigger: time_pattern
conditions: []
actions:
- delay:
minutes: '{{ range(10, 21) | random }}'
- type: turn_off
device_id: 943c6b2308bc1a2864bab0e091efed3a
entity_id: switch.0xc4988600000fb820
domain: switch
- action: switch.turn_off
metadata: {}
data: {}
target:
entity_id: switch.tasmota
mode: single
- id: '1669925435788'
alias: 'Deko: Weihnachtsstern Studio ein'
alias: 'Zeit: Weihnachtsstern Studio ein'
description: ''
trigger:
- platform: time_pattern
@@ -779,7 +686,7 @@
minutes: /6
condition:
- condition: numeric_state
entity_id: sensor.neomulti4in1_illuminance_lux
entity_id: sensor.0x14b457fffe0bde4c_illuminance_lux
attribute: illuminance_lux
below: 200
action:
@@ -789,7 +696,7 @@
domain: switch
mode: single
- id: '1669925528967'
alias: 'Deko: Weihnachtsstern Studio aus'
alias: 'Zeit: Weihnachtsstern Studio aus'
description: ''
trigger:
- platform: time
@@ -800,6 +707,10 @@
device_id: f4c163f600b540628bdf34fbdc6fac2e
entity_id: switch.smartplug2
domain: switch
- service: switch.turn_off
target:
entity_id: switch.0xf0d1b8be24094ecd
data: {}
mode: single
- id: '1673124529316'
alias: Low battery level detection & notification for all battery sensors
@@ -807,12 +718,22 @@
use_blueprint:
path: sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml
input:
day: 6
day: 0
actions:
- service: notify.persistent_notification
- action: notify.pushover
metadata: {}
data:
message: 'Battery low: {{sensors}}'
time: '11:00:00'
title: Batterie
message: 'Batterie wechseln: {{sensors}}'
time: '17:00:00'
threshold: 80
exclude:
entity_id:
- sensor.btv_w09_battery_level
- sensor.sm_a505fn_battery_level
- sensor.ipad_von_bastian_battery_level
- sensor.iphone_battery_level
- sensor.pixel_8_battery_level
- id: '1676665076953'
alias: 'Schlafzimmer: TV an bei Anwesenheit Abends'
description: ''
@@ -843,7 +764,7 @@
entity_id: switch.0xc4988600000f75a3
mode: single
- id: '1679422560183'
alias: 'Studio: Abends aus bei Abwesenheit'
alias: 'Zeit: Studio Abends aus bei Abwesenheit'
description: ''
trigger:
- platform: time_pattern
@@ -870,7 +791,7 @@
target:
entity_id:
- switch.smartplug1
- switch.tp_link_smart_plug_b251
- switch.tv_studio
- service: light.turn_off
data:
transition: 14
@@ -1037,12 +958,570 @@
- input_boolean.alertingrollos
- input_boolean.dnsreportsent
mode: single
- id: '1689434776158'
alias: Bewegungsaktiviertes Licht Keller
- id: '1700947981382'
alias: 'Zeit: Reset Heizung'
description: ''
trigger:
- platform: time
at: '22:34:00'
condition: []
action:
- service: climate.set_preset_mode
data:
preset_mode: auto
target:
entity_id: climate.peq1457703
mode: single
- id: '1702159176908'
alias: Helligkeit - Weihnachtsstern Terrasse ein
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux
for:
hours: 0
minutes: 0
seconds: 30
attribute: illuminance_lux
below: '400'
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.0xf0d1b8be24094ecd
data: {}
mode: single
- id: '1702568645110'
alias: Helligkeit - Bodenlampe Flur einschalten
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux
attribute: illuminance_lux
below: 50
condition: []
action:
- service: light.turn_on
target:
entity_id: light.bodenlampe
data:
brightness_pct: 4
mode: single
- id: '1704873252946'
alias: 'Timer: Lüften'
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.neq0627526_state
to: 'on'
- platform: state
entity_id:
- binary_sensor.neq0632846_state
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.neq0632846_state
state: 'on'
- condition: state
entity_id: binary_sensor.neq0627526_state
state: 'on'
action:
- service: timer.start
metadata: {}
data: {}
target:
entity_id: timer.fensterlueften
mode: single
- id: '1707239595814'
alias: 'Temperatur: Rollo ganz wenn kalt'
description: Rollos werden um 18:30 ganz runter gefahren, wenn Aussentemperatur
unter 10 Grad.
trigger:
- platform: time
at: '19:06:00'
condition:
- condition: numeric_state
entity_id: sensor.0x14b457fffe0bde4c_temperature
below: 10
- condition: numeric_state
entity_id: cover.00115a498e0439
below: 50
attribute: current_position
action:
- service: cover.close_cover
metadata: {}
data: {}
target:
entity_id:
- cover.00115a498e0439
- cover.bedroom_cover_r
- cover.bedroom_cover_l
mode: single
- id: '1708199197494'
alias: 'Assist: Fenster offen'
description: ''
trigger:
- platform: conversation
command: Sind noch Fenster auf
condition: []
action:
- set_conversation_response: 'Es sind folgende Fenster auf: {{ expand(''binary_sensor.allefenster'')
| selectattr(''state'' , ''eq'' , ''on'') | map(attribute=''name'') | list |
join('', '')}}'
mode: single
- id: '1709071431998'
alias: 'Anwesenheit: TV im Schlafzimmer wieder ein'
description: ''
trigger:
- platform: state
entity_id:
- group.all_mobile_devices
from: not_home
to: home
condition: []
action:
- service: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.innrpowerplugtv
mode: single
- id: '1712162921511'
alias: 'Zeit: Rollos runter kurz vor 19h für Joel'
description: ''
triggers:
- at: '18:28:00'
trigger: time
- trigger: numeric_state
entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux
attribute: illuminance_lux
below: 200
conditions:
- condition: state
entity_id: input_boolean.baby_bed
state: 'off'
- condition: and
conditions:
- condition: time
after: '16:00:00'
before: '18:29:00'
actions:
- data:
position: 0
target:
entity_id:
- cover.bedroom_cover_l
- cover.bedroom_cover_r
- cover.00115a498e0439
action: cover.set_cover_position
mode: single
- id: '1713246439689'
alias: 'Abwesenheit Basti: Gästezimmer aus'
description: ''
trigger:
- platform: state
entity_id:
- person.basti
from: home
to: not_home
for:
hours: 0
minutes: 5
seconds: 0
condition: []
action:
- service: switch.turn_off
metadata: {}
data: {}
target:
area_id:
- gastezimmer
mode: single
- id: '1719646524245'
alias: 'Notification Batterie: Waterleak 1'
description: ''
trigger:
- type: bat_low
platform: device
device_id: 1d51b269058565e0d398d6ba2cf72d92
entity_id: 09136a4298d4cf1a4cbd97860dd0c4e3
domain: binary_sensor
condition: []
action:
- service: notify.pushover
data:
message: Batterie Waterleak Sensor Dach sollte gewechselt werden!
title: Batterie
mode: single
- id: '1719646620338'
alias: 'Notification Waterleak: Dachgeschoss'
description: ''
trigger:
- type: moist
platform: device
device_id: 1d51b269058565e0d398d6ba2cf72d92
entity_id: 1db3af5c393b63b6f94527d9d780f3ee
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 10
condition: []
action:
- service: notify.pushover
metadata: {}
data:
title: Alarm!
message: Feuchtigkeit erkannt! Dachgeschoss!
mode: single
- id: '1720361018336'
alias: 'Zeit: Staubsauger aufladen starten'
description: ''
triggers:
- at: 06:00:00
trigger: time
conditions: []
actions:
- action: switch.turn_on
target:
entity_id: switch.steckdosestaubsauger
data: {}
mode: single
- id: '1720361062467'
alias: Staubsauger aufladen beenden
description: ''
triggers:
- type: power
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: 0787189732ed6dda5e4a284573275121
domain: sensor
trigger: device
below: 1
for:
hours: 0
minutes: 3
seconds: 0
conditions:
- condition: device
type: is_on
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: a47844873a186b57bb2e5392b4c7dbde
domain: switch
actions:
- data: {}
action: switch.turn_off
target:
entity_id: switch.steckdosestaubsauger
mode: single
- id: '1720388603797'
alias: 'Notification Waterleak: Keller'
description: ''
trigger:
- type: moist
platform: device
device_id: 746ac7711a82ac47508649cecc31c54e
entity_id: e524c640f26bc55c596e7ba9fcd2520e
domain: binary_sensor
condition: []
action:
- service: notify.pushover
metadata: {}
data:
title: Alarm!
message: Feuchtigkeit erkannt! Keller!
mode: single
- id: '1720388684792'
alias: 'Notification Batterie: Waterleak 2'
description: ''
trigger:
- type: bat_low
platform: device
device_id: 746ac7711a82ac47508649cecc31c54e
entity_id: 4b637e04a44c9afde24d1ce4b748241a
domain: binary_sensor
condition: []
action:
- service: notify.pushover
data:
message: Batterie Waterleak Sensor Keller sollte gewechselt werden!
title: Batterie
mode: single
- id: '1733045381848'
alias: 'Alert: Basti Zone Zuhause'
description: ''
use_blueprint:
path: homeassistant/motion_light.yaml
path: homeassistant/notify_leaving_zone.yaml
input:
motion_entity: binary_sensor.keller_aktivitat_occupancy
light_target:
entity_id: light.kellerlampe
person_entity: person.basti
zone_entity: zone.home
notify_device: 7b941af31d01cc04f5032cd6d9907c01
- id: '1733045716382'
alias: 'Alert: Auto auf und alle Zuhause'
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.audi_a4_avant_doors_trunk_state
from: 'off'
to: 'on'
for:
hours: 0
minutes: 0
seconds: 10
conditions:
- condition: state
entity_id: person.basti
state: home
- condition: state
entity_id: person.carmen
state: home
actions:
- action: notify.mobile_app_pixel_8
metadata: {}
data:
title: Auto
message: Auto nicht abgeschlossen
- action: notify.mobile_app_sm_a505fn
metadata: {}
data:
message: Auto nicht abgeschlossen
title: Auto
mode: single
- id: '1742926888779'
alias: Motion-activated Light with Conditions, Exceptions, Optional Settings, and
Sun Offset
description: ''
use_blueprint:
path: iainsmacleod/advanced_motion_automation.yaml
input:
motion_sensors:
- binary_sensor.studio_anwesenheit
light_targets:
entity_id:
- light.stehlampe_studio
- light.0x04cd15fffe78a60e
use_custom_settings: true
sun_condition: night
brightness: 71
- id: '1743851763184'
alias: Rollo Sonnenstand Westseite
description: Rollo abhängig vom Sonnenstand auf der Schlafzimmerseite
triggers:
- alias: Check alle 10 Minuten
minutes: /10
trigger: time_pattern
- alias: Sonne zu weit im Westen
entity_id:
- sun.sun
attribute: azimuth
above: 270
id: SonneWiederOkay
trigger: numeric_state
conditions:
- condition: or
conditions:
- alias: Bedingungen für Rollo muss runter
condition: and
conditions:
- condition: numeric_state
entity_id: sun.sun
attribute: azimuth
above: 195
below: 270
- condition: numeric_state
entity_id: sun.sun
attribute: elevation
above: 20
- condition: numeric_state
entity_id: sensor.daily_forecast
above: 20
- condition: state
entity_id: input_boolean.sonnenschutz
state: 'on'
- condition: template
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand'', ''last_triggered'').day==now().day
}}'
alias: Wenn diese Automation heute noch nicht lief
- condition: template
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
< 60 }}'
alias: Wenn cloud_coverage < 60%
- alias: Bedingung für Rollo soll wieder hoch
condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
- condition: template
value_template: '{{ state_attr(''automation.automation.rollo_sonnenstand'',
''last_triggered'').day==now().day }}'
- condition: time
before: '18:28:00'
actions:
- alias: Rollos runter
if: []
then:
- metadata: {}
action: scene.turn_on
data: {}
target:
entity_id: scene.rollos_sonnenschutz_westseite
- alias: Rollos wieder hoch
if:
- condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 84
target:
entity_id:
- cover.bedroom_cover_l
- cover.bedroom_cover_r
mode: single
- id: '1745431124239'
alias: 'Bewegung: Keller Licht'
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.0x00158d0007e40238_occupancy
from: 'off'
to: 'on'
conditions: []
actions:
- action: light.turn_on
metadata: {}
data:
brightness_pct: 75
transition: 4
target:
entity_id: light.kellerlampe
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- action: light.turn_on
metadata: {}
data:
transition: 3
brightness_pct: 10
target:
entity_id: light.kellerlampe
mode: single
- id: '1746202741633'
alias: Rollo Sonnenstand Ostseite
description: Rollo abhängig vom Sonnenstand auf der Kinderzimmerseite
triggers:
- alias: Check alle 10 Minuten
minutes: /10
trigger: time_pattern
- alias: Sonne zu weit im Westen
entity_id:
- sun.sun
attribute: azimuth
above: 180
id: SonneWiederOkay
trigger: numeric_state
conditions:
- condition: or
conditions:
- alias: Bedingungen für Rollo muss runter
condition: and
conditions:
- condition: numeric_state
entity_id: sun.sun
attribute: azimuth
above: 80
below: 180
- condition: numeric_state
entity_id: sun.sun
attribute: elevation
above: 12
- condition: numeric_state
entity_id: sensor.daily_forecast
above: 20
- condition: state
entity_id: input_boolean.sonnenschutz
state: 'on'
- alias: Wenn diese Automation heute noch nicht lief
condition: template
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand_ostseite'',
''last_triggered'').day==now().day }}'
- condition: template
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
< 60 }}'
alias: Wenn cloud_coverage < 60% ist
- alias: Bedingung für Rollo soll wieder hoch
condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
- alias: Wenn diese Automation heute schon lief
condition: template
value_template: '{{ state_attr(''automation.automation.rollo_sonnenstand_ostseite'',
''last_triggered'').day==now().day }}'
- condition: time
after: 07:00:00
- condition: numeric_state
entity_id: cover.00115a498e0439
above: 60
actions:
- alias: Rollos runter
if: []
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 25
- alias: Rollos wieder hoch
if:
- condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 84
target:
entity_id: cover.00115a498e0439
mode: single
- id: '1746267440046'
alias: 'Anwesenheit: Alles aus wenn niemand zuhaus'''
description: ''
triggers:
- trigger: state
entity_id:
- group.all_mobile_devices
to: not_home
from: home
for:
hours: 0
minutes: 5
seconds: 0
conditions: []
actions:
- action: scene.turn_on
metadata: {}
data: {}
target:
entity_id: scene.schlafenszeit
- action: switch.turn_off
data: {}
target:
entity_id: switch.tv_studio
- action: light.turn_off
target:
area_id: 1d171e588f714f2f8bd7f2abdeb22a85
data:
transition: 5
mode: single