687 lines
16 KiB
YAML
687 lines
16 KiB
YAML
- id: '1575130335468'
|
|
alias: Fernbedienung Weihnachtslichter Oben
|
|
description: ''
|
|
trigger:
|
|
- event_data:
|
|
button_name: key_yellow
|
|
host: esszimmerradio
|
|
repeat_counter: 0
|
|
event_type: ir_command_received
|
|
platform: event
|
|
condition: []
|
|
action:
|
|
- data:
|
|
entity_id: switch.mobile_steckdose_schalter_2
|
|
service: switch.toggle
|
|
mode: single
|
|
- id: '1575202743482'
|
|
alias: Wecker Licht an
|
|
description: ''
|
|
trigger:
|
|
- platform: template
|
|
value_template: '{% set alarm_time = as_timestamp(states(''input_datetime.martin_wake_up_alarm''))
|
|
%}
|
|
|
|
{% set current_timestamp_minute = as_timestamp(strptime(states(''sensor.date_time''),
|
|
"%Y-%m-%d, %H:%M")) %}
|
|
|
|
{% set before_time_secs = 600 %}
|
|
|
|
{% set trigger = states(''input_datetime.martin_wake_up_alarm'') and (alarm_time
|
|
<= current_timestamp_minute + before_time_secs < alarm_time + 60) %}
|
|
|
|
{{ trigger }}'
|
|
condition: []
|
|
action:
|
|
- data:
|
|
brightness: 148
|
|
transition: 600
|
|
color_temp: 269
|
|
xy_color: {}
|
|
service: light.turn_on
|
|
target:
|
|
entity_id: light.arbeitszimmer_oben_fluter
|
|
- id: '1589377976830'
|
|
alias: Alarm Martin Handy
|
|
description: ''
|
|
trigger:
|
|
- entity_id: binary_sensor.gang_bewegungsmelder_schlafzimmer, binary_sensor.gang_bewegungsmelder_ost,
|
|
binary_sensor.gang_bewegungsmelder_mitte
|
|
from: 'off'
|
|
platform: state
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: notify.mobile_app_iphone_von_martin
|
|
data:
|
|
message: Bewegung im Gang
|
|
- data:
|
|
message: Bewegung im Gang
|
|
title: Alarm
|
|
service: notify.mobile_app_martins_ipad
|
|
- delay:
|
|
hours: 0
|
|
minutes: 2
|
|
seconds: 0
|
|
milliseconds: 0
|
|
mode: single
|
|
- id: '1598594894559'
|
|
alias: KlingelknopfGartensäuleAufMobileGeräte
|
|
description: Push Notification auf Martin Handy, Rebecca Handy und iPad
|
|
trigger:
|
|
- entity_id:
|
|
- binary_sensor.klingelknopfgartensaeule
|
|
from: 'off'
|
|
platform: state
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: notify.mobile_app_iphone_von_martin
|
|
metadata: {}
|
|
data:
|
|
message: Jemand hat an der Briefkastensäule geklingelt
|
|
title: "\U0001F514\U0001F4EA Klingel"
|
|
- service: notify.mobile_app_rebeccahandysamsung
|
|
metadata: {}
|
|
data:
|
|
message: Jemand hat an der Briefkastensäule geklingelt
|
|
title: "\U0001F514\U0001F4EA Klingel"
|
|
- service: notify.mobile_app_martins_ipad
|
|
metadata: {}
|
|
data:
|
|
title: "\U0001F514\U0001F4EA Klingel"
|
|
message: Jemand hat an der Briefkastensäule geklingelt
|
|
mode: single
|
|
- id: '1606655282153'
|
|
alias: Weihnachtslichter an morgens um 6
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 06:00
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
entity_id:
|
|
- switch.tasmota02
|
|
- switch.tasmota04
|
|
- switch.tasmota05
|
|
- switch.tasmota06
|
|
mode: single
|
|
- id: '1607412098745'
|
|
alias: Weihnachtslichter aus morgens
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunrise
|
|
offset: 00:15:00
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
entity_id:
|
|
- switch.tasmota02
|
|
- switch.tasmota04
|
|
- switch.tasmota05
|
|
- switch.tasmota06
|
|
mode: single
|
|
- id: '1607412144113'
|
|
alias: Weihnachtslichter An Abends
|
|
description: ''
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
entity_id:
|
|
- switch.tasmota02
|
|
- switch.tasmota04
|
|
- switch.tasmota05
|
|
- switch.tasmota06
|
|
mode: single
|
|
- id: '1607412210097'
|
|
alias: Weihnachtslichter Aus Abends
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: '22:30'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
entity_id:
|
|
- switch.tasmota02
|
|
- switch.tasmota04
|
|
- switch.tasmota05
|
|
- switch.tasmota06
|
|
mode: single
|
|
- id: '1612028092169'
|
|
alias: Bewegungsmelder Schlafzimmer Nacht
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.arbeitszimmer_bewegungsmelder_bewegung
|
|
from: 'off'
|
|
to: 'on'
|
|
condition:
|
|
- condition: state
|
|
entity_id: light.bett_rebecca
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.bett_martin
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.schlafzimmer_deckenlampe
|
|
state: 'off'
|
|
- condition: numeric_state
|
|
entity_id: cover.schlafzimmer_rollo_gross
|
|
attribute: current_position
|
|
below: '20'
|
|
action:
|
|
- service: light.turn_on
|
|
data:
|
|
xy_color:
|
|
- 0.502
|
|
- 0.414
|
|
brightness: 6
|
|
entity_id: light.bett_martin, light.bett_rebecca
|
|
- delay: '1'
|
|
- service: light.turn_off
|
|
data:
|
|
transition: 120
|
|
entity_id: light.bett_martin, light.bett_rebecca
|
|
mode: single
|
|
- id: '1632393568599'
|
|
alias: Herd vorgeheizt -> iPad
|
|
description: ''
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.backofen_verbrauch
|
|
below: '20'
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
milliseconds: 0
|
|
condition: []
|
|
action:
|
|
- service: notify.mobile_app_martins_ipad
|
|
data:
|
|
title: Herd vorgeheizt
|
|
message: herd ist heiss :)
|
|
mode: single
|
|
- id: '1633435293611'
|
|
alias: Gang Bogen Nachtlicht
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.gang_bewegungsmelder_schlafzimmer
|
|
- binary_sensor.gang_bewegungsmelder_wohnzimmer
|
|
from: 'off'
|
|
to: 'on'
|
|
condition:
|
|
- condition: template
|
|
value_template: '{{ state_attr(''sun.sun'', ''elevation'') < 5 }}'
|
|
action:
|
|
- service: light.turn_on
|
|
target:
|
|
entity_id: light.gang_bogen
|
|
data:
|
|
brightness_pct: 50
|
|
xy_color:
|
|
- 0.607
|
|
- 0.378
|
|
- delay:
|
|
hours: 0
|
|
minutes: 2
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- service: light.turn_off
|
|
target:
|
|
entity_id: light.gang_bogen
|
|
data:
|
|
transition: 5
|
|
mode: restart
|
|
- id: '1634461079797'
|
|
alias: 3D Drucker State Change
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.octoprint_printing
|
|
condition: []
|
|
action:
|
|
- service: notify.telegram_martin
|
|
data:
|
|
title: 3D Drucker
|
|
message: '3D Printer: {{ sensor.octoprint_current_state }}'
|
|
mode: single
|
|
- id: '1656971839915'
|
|
alias: Rollos zu nachts
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 02:00:00
|
|
condition: []
|
|
action:
|
|
- service: cover.close_cover
|
|
data: {}
|
|
target:
|
|
entity_id:
|
|
- cover.schlafzimmer_rollo_klein
|
|
- cover.schlafzimmer_rollo_gross
|
|
mode: single
|
|
- id: '1669014477577'
|
|
alias: Weihnachtslichter oben 01 morgens an um 7
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 07:00:00
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.tasmota06
|
|
mode: single
|
|
- id: '1669014568292'
|
|
alias: Weihnachtslichter oben 02 morgens aus um 9
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 09:00:00
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.tasmota06
|
|
mode: single
|
|
- id: '1669014612655'
|
|
alias: Weihnachtslichter oben 03 abends an 16:30
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: '16:30:00'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.tasmota06
|
|
mode: single
|
|
- id: '1669014682496'
|
|
alias: Weihnachtslichter oben 04 abends aus 22:00
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: '22:00:00'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.tasmota06
|
|
mode: single
|
|
- id: '1693231134539'
|
|
alias: Pool Pumpe ein um 9 und 17 Uhr
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 09:00:00
|
|
- platform: time
|
|
at: '17:00:00'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.poolpumpe_speed1
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.poolpumpe_speed1
|
|
mode: single
|
|
- id: '1693231202553'
|
|
alias: Pool Pumpe aus um 10:15 und 18:15
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: '10:15:00'
|
|
- platform: time
|
|
at: '18:15:00'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.poolpumpe_speed_off
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.poolpumpe_speed_off
|
|
mode: single
|
|
- id: '1693845791544'
|
|
alias: Sprinkler alle 2 stunden
|
|
description: Sprinkler an für 3 minuten um 10,12,14,16,18,20 Uhr
|
|
trigger:
|
|
- platform: time
|
|
at:
|
|
- '10:00:00'
|
|
- '11:00:00'
|
|
- '12:00:00'
|
|
- '13:00:00'
|
|
- '14:00:00'
|
|
- '15:00:00'
|
|
- '16:00:00'
|
|
- '18:00:00'
|
|
- '20:00:00'
|
|
condition: []
|
|
action:
|
|
- service: script.sprinkler_an_5_minuten
|
|
data:
|
|
minutes: 3
|
|
mode: single
|
|
- id: '1693849132880'
|
|
alias: Eingangslichter Beet an wenn Haustur licht an
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- light.haustur_licht
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: light.turn_on
|
|
data:
|
|
transition: 2
|
|
rgb_color:
|
|
- 238
|
|
- 226
|
|
- 140
|
|
brightness: 255
|
|
target:
|
|
entity_id: light.lichter_garten_eingang
|
|
mode: single
|
|
- id: '1693849216417'
|
|
alias: Eingangslichter Beet aus wenn Haustur licht aus
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- light.haustur_licht
|
|
to: 'off'
|
|
condition: []
|
|
action:
|
|
- service: light.turn_off
|
|
data:
|
|
transition: 2
|
|
target:
|
|
entity_id: light.lichter_garten_eingang
|
|
mode: single
|
|
- id: '1696860113114'
|
|
alias: BewegungsmelderGartenhausNachts
|
|
description: Gartenhaus Bewegungsmelder Nachts
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.gartenhaus_led_controller_motion_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
condition:
|
|
- condition: sun
|
|
after: sunset
|
|
before: sunrise
|
|
after_offset: -01:00:00
|
|
action:
|
|
- alias: Turn on the light
|
|
service: light.turn_on
|
|
data:
|
|
transition: 1
|
|
rgbw_color: 0,0,0,255
|
|
target:
|
|
entity_id:
|
|
- light.gartenhaus_deckenlicht_mitte
|
|
- light.gartenhaus_deckenlicht_hinten
|
|
- light.gartenhaus_deckenlicht_vorne
|
|
- alias: Wait until not motion from device
|
|
wait_for_trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.gartenhaus_led_controller_motion_sensor
|
|
from: 'on'
|
|
to: 'off'
|
|
- alias: Wait the number of seconds for no movement
|
|
delay: 00:00:30
|
|
- alias: Turn off light
|
|
service: light.turn_off
|
|
target:
|
|
entity_id:
|
|
- light.gartenhaus_deckenlicht_mitte
|
|
- light.gartenhaus_deckenlicht_hinten
|
|
- light.gartenhaus_deckenlicht_vorne
|
|
data: {}
|
|
max_exceeded: silent
|
|
mode: restart
|
|
- id: '1696863567904'
|
|
alias: AutoOff Sprinkler Süd nach 30min
|
|
description: ''
|
|
use_blueprint:
|
|
path: homeassistant/auto_off.yaml
|
|
input:
|
|
the_device: switch.ventil_sprinkler_sud
|
|
duration_until_off:
|
|
hours: 0
|
|
minutes: 30
|
|
seconds: 0
|
|
- id: '1696863598654'
|
|
alias: AutoOff Sprinkler West nach 30min
|
|
description: ''
|
|
use_blueprint:
|
|
path: homeassistant/auto_off.yaml
|
|
input:
|
|
the_device: switch.ventil_sprinkler_westen
|
|
duration_until_off:
|
|
hours: 0
|
|
minutes: 30
|
|
seconds: 0
|
|
- id: '1696863768386'
|
|
alias: AutoOff Gartenhaus Deckenlichter
|
|
description: ''
|
|
use_blueprint:
|
|
path: homeassistant/auto_off.yaml
|
|
input:
|
|
the_device: light.gartenhaus_deckenlichter
|
|
duration_until_off:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 0
|
|
- id: '1696863812155'
|
|
alias: AutoOff Ventil Brunnen in Zisterne nach 2h
|
|
description: ''
|
|
use_blueprint:
|
|
path: homeassistant/auto_off.yaml
|
|
input:
|
|
the_device: switch.ventil_brunnen_in_zisterne
|
|
duration_until_off:
|
|
hours: 2
|
|
minutes: 0
|
|
seconds: 0
|
|
- id: '1696864608504'
|
|
alias: Zisterne Ventil aus wenn voll
|
|
description: Ventil Brunnen->Zisterne aus wenn Zisterne über 90% voll
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.zisterne_fullstand
|
|
above: 90
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.ventil_brunnen_in_zisterne
|
|
mode: single
|
|
- id: '1705325828652'
|
|
alias: NFC Tag Schreibtisch Oben Rechts ist gescannt
|
|
description: Licht oben an aus
|
|
trigger:
|
|
- platform: event
|
|
event_type: martin_iphone_nfc_schreibtisch_oben_rechts
|
|
condition: []
|
|
action:
|
|
- service: light.toggle
|
|
metadata: {}
|
|
data:
|
|
color_temp: 360
|
|
brightness: 184
|
|
transition: 0
|
|
target:
|
|
entity_id:
|
|
- light.arbeitszimmer_oben_fluter_hinten
|
|
- light.arbeitszimmer_oben_fluter_vorne
|
|
mode: single
|
|
- id: '1706512617470'
|
|
alias: Büro Oben Steckdosen aus um 22:00
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: '22:00:00'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.buro_oben_steckdosen
|
|
mode: single
|
|
- id: '1706512682295'
|
|
alias: Büro Oben Steckosen ein um 7:45
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
at: 07:45:00
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.buro_oben_steckdosen
|
|
mode: single
|
|
- id: '1709736390783'
|
|
alias: KlingelnAussenBeiKlingelknopf
|
|
description: aktiviert klingel wenn klingelknopf gedrueckt
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.klingelknopfgartensaeule
|
|
- binary_sensor.klingelknopfhaustuerunten
|
|
from: 'off'
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.klingel_aussentur
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 1
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.klingel_aussentur
|
|
mode: single
|
|
- id: '1709736543280'
|
|
alias: KlingelInnenBeiKlingelknopf
|
|
description: klingelt wenn auf knopf bei innentuer gedrueckt wurde
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- binary_sensor.klingelknopfinnentuer
|
|
from: 'off'
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.klingel_innentur
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 1
|
|
milliseconds: 0
|
|
- service: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: switch.klingel_innentur
|
|
mode: single
|
|
- id: '1709737843307'
|
|
alias: KlingelknopfHaustuerUntenAufMobileGeräte
|
|
description: Push Notification auf Martin Handy, Rebecca Handy und iPad
|
|
trigger:
|
|
- entity_id:
|
|
- binary_sensor.klingelknopfhaustuerunten
|
|
from: 'off'
|
|
platform: state
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: notify.mobile_app_iphone_von_martin
|
|
metadata: {}
|
|
data:
|
|
message: Jemand hat an der Haustür unten geklingelt
|
|
title: "\U0001F514 \U0001F6AA Klingel"
|
|
- service: notify.mobile_app_rebeccahandysamsung
|
|
metadata: {}
|
|
data:
|
|
message: Jemand hat an der Haustür unten geklingelt
|
|
title: "\U0001F514 \U0001F6AA Klingel"
|
|
- service: notify.mobile_app_martins_ipad
|
|
metadata: {}
|
|
data:
|
|
title: "\U0001F514 \U0001F6AA Klingel"
|
|
message: Jemand hat an der Haustür unten geklingelt
|
|
mode: single
|
|
- id: '1709738037256'
|
|
alias: KlingelknopfInnentürAufMobileGeräte
|
|
description: Push Notification auf Martin Handy und iPad
|
|
trigger:
|
|
- entity_id:
|
|
- binary_sensor.klingelknopfinnentuer
|
|
from: 'off'
|
|
platform: state
|
|
to: 'on'
|
|
condition: []
|
|
action:
|
|
- service: notify.mobile_app_iphone_von_martin
|
|
metadata: {}
|
|
data:
|
|
message: Jemand hat an der Innentür geklingelt
|
|
title: "\U0001F56D Klingel Innen"
|
|
- service: notify.mobile_app_martins_ipad
|
|
metadata: {}
|
|
data:
|
|
title: "\U0001F56D Klingel Innen"
|
|
message: Jemand hat an der Innentür geklingelt
|
|
mode: single
|