Remainders
This commit is contained in:
parent
4981cbfa2e
commit
5ac8ceacfe
@ -1 +1 @@
|
|||||||
2025.5.2
|
2025.7.3
|
118
automations.yaml
118
automations.yaml
@ -125,28 +125,32 @@
|
|||||||
- id: '1623868115464'
|
- id: '1623868115464'
|
||||||
alias: 420!
|
alias: 420!
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: time
|
- at: '16:20'
|
||||||
at: '16:20'
|
trigger: time
|
||||||
condition: []
|
conditions: []
|
||||||
action:
|
actions:
|
||||||
- service: notify.mobile_app_le2123
|
- action: notify.mobile_app_apollo
|
||||||
data:
|
data:
|
||||||
|
message: Lodere es, Lustknabe.
|
||||||
|
title: 420!
|
||||||
|
- data:
|
||||||
title: 420!
|
title: 420!
|
||||||
message: Lodere es, Lustknabe.
|
message: Lodere es, Lustknabe.
|
||||||
- service: tts.speak
|
action: notify.mobile_app_le2123
|
||||||
data:
|
- data:
|
||||||
cache: true
|
cache: true
|
||||||
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: 4 20 lodere es, Lustknabe
|
message: 4 20 lodere es, Lustknabe
|
||||||
target:
|
target:
|
||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
- service: mqtt.publish
|
action: tts.speak
|
||||||
data:
|
- data:
|
||||||
qos: 0
|
qos: 0
|
||||||
retain: false
|
retain: false
|
||||||
topic: awtrix_b8658c/notify
|
topic: awtrix_b8658c/notify
|
||||||
payload: '{"text": "420, lodere es, Lustknabe!"}'
|
payload: '{"text": "420, lodere es, Lustknabe!"}'
|
||||||
|
action: mqtt.publish
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1623911524804'
|
- id: '1623911524804'
|
||||||
alias: TV Anti-Reflexion (undo)
|
alias: TV Anti-Reflexion (undo)
|
||||||
@ -351,25 +355,25 @@
|
|||||||
- id: '1628972885682'
|
- id: '1628972885682'
|
||||||
alias: Raumduft zum Aufstehen einschalten
|
alias: Raumduft zum Aufstehen einschalten
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: state
|
- entity_id: input_text.sleep_as_android
|
||||||
entity_id: input_text.sleep_as_android
|
|
||||||
to: sleep_tracking_stopped
|
to: sleep_tracking_stopped
|
||||||
condition:
|
trigger: state
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.marcus_scholz
|
entity_id: person.marcus_scholz
|
||||||
state: home
|
state: home
|
||||||
action:
|
actions:
|
||||||
- type: turn_on
|
- type: turn_on
|
||||||
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
||||||
entity_id: switch.flur_raumduft
|
entity_id: switch.flur_raumduft
|
||||||
domain: switch
|
domain: switch
|
||||||
- service: light.turn_on
|
- data: {}
|
||||||
data: {}
|
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.awtrix_desk_matrix
|
- light.awtrix_528bd4_matrix
|
||||||
- light.awtrix_kitchen_matrix
|
- light.awtrix_b8658c_matrix
|
||||||
|
action: light.turn_on
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1630914505161'
|
- id: '1630914505161'
|
||||||
alias: Beim Verlassen der Wohnung alles abschalten
|
alias: Beim Verlassen der Wohnung alles abschalten
|
||||||
@ -458,12 +462,12 @@
|
|||||||
- id: '1675778284738'
|
- id: '1675778284738'
|
||||||
alias: Stündliche Zeitansage
|
alias: Stündliche Zeitansage
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: time_pattern
|
- minutes: '0'
|
||||||
minutes: '0'
|
|
||||||
seconds: '0'
|
seconds: '0'
|
||||||
hours: '*'
|
hours: '*'
|
||||||
condition:
|
trigger: time_pattern
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.marcus_scholz
|
entity_id: person.marcus_scholz
|
||||||
state: home
|
state: home
|
||||||
@ -475,9 +479,8 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_text.sleep_as_android
|
entity_id: input_text.sleep_as_android
|
||||||
state: alarm_alert_dismiss
|
state: alarm_alert_dismiss
|
||||||
action:
|
actions:
|
||||||
- service: tts.speak
|
- data:
|
||||||
data:
|
|
||||||
cache: true
|
cache: true
|
||||||
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: '{{message}}
|
message: '{{message}}
|
||||||
@ -486,14 +489,15 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
enabled: true
|
enabled: true
|
||||||
- service: mqtt.publish
|
action: tts.speak
|
||||||
data:
|
- data:
|
||||||
topic: awtrix_desk/notify
|
topic: awtrix_desk/notify
|
||||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||||
- service: mqtt.publish
|
action: mqtt.publish
|
||||||
data:
|
- data:
|
||||||
topic: awtrix_kitchen/notify
|
topic: awtrix_kitchen/notify
|
||||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||||
|
action: mqtt.publish
|
||||||
variables:
|
variables:
|
||||||
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
||||||
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states(''sensor.aussentemperatur'')}}
|
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states(''sensor.aussentemperatur'')}}
|
||||||
@ -517,16 +521,16 @@
|
|||||||
alias: Fenster schließen, wenn es warm wird
|
alias: Fenster schließen, wenn es warm wird
|
||||||
description: Tagsüber im Sommer, wenn die Außentemperatur sich der Innentemperatur
|
description: Tagsüber im Sommer, wenn die Außentemperatur sich der Innentemperatur
|
||||||
annähert.
|
annähert.
|
||||||
trigger:
|
triggers:
|
||||||
- platform: numeric_state
|
- entity_id:
|
||||||
entity_id:
|
|
||||||
- sensor.aussentemperatur
|
- sensor.aussentemperatur
|
||||||
above: sensor.wohnungstemperatur
|
above: sensor.wohnungstemperatur
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 5
|
minutes: 5
|
||||||
seconds: 0
|
seconds: 0
|
||||||
condition:
|
trigger: numeric_state
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.marcus_scholz
|
entity_id: person.marcus_scholz
|
||||||
state: home
|
state: home
|
||||||
@ -536,16 +540,15 @@
|
|||||||
- condition: sun
|
- condition: sun
|
||||||
after: sunrise
|
after: sunrise
|
||||||
before: sunset
|
before: sunset
|
||||||
action:
|
actions:
|
||||||
- service: notify.mobile_app_le2123
|
- data:
|
||||||
data:
|
|
||||||
title: Schlaues lüften
|
title: Schlaues lüften
|
||||||
message: '{{message}}
|
message: '{{message}}
|
||||||
|
|
||||||
'
|
'
|
||||||
enabled: true
|
enabled: true
|
||||||
- service: tts.speak
|
action: notify.mobile_app_le2123
|
||||||
data:
|
- data:
|
||||||
cache: true
|
cache: true
|
||||||
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: '{{message}}
|
message: '{{message}}
|
||||||
@ -553,6 +556,7 @@
|
|||||||
'
|
'
|
||||||
target:
|
target:
|
||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
|
action: tts.speak
|
||||||
variables:
|
variables:
|
||||||
message: 'Die Außentemperatur ist mit {{states(''sensor.aussentemperatur'')}}
|
message: 'Die Außentemperatur ist mit {{states(''sensor.aussentemperatur'')}}
|
||||||
° Celsius {{((states(''sensor.aussentemperatur'')|float)-(states(''sensor.wohnungstemperatur'')|float))
|
° Celsius {{((states(''sensor.aussentemperatur'')|float)-(states(''sensor.wohnungstemperatur'')|float))
|
||||||
@ -564,16 +568,16 @@
|
|||||||
- id: '1686327239749'
|
- id: '1686327239749'
|
||||||
alias: Fenster öffnen wenn es kühler wird
|
alias: Fenster öffnen wenn es kühler wird
|
||||||
description: Im Sommer, wenn die Außentemperatur sich der Innentemperatur annähert.
|
description: Im Sommer, wenn die Außentemperatur sich der Innentemperatur annähert.
|
||||||
trigger:
|
triggers:
|
||||||
- platform: numeric_state
|
- entity_id:
|
||||||
entity_id:
|
|
||||||
- sensor.aussentemperatur
|
- sensor.aussentemperatur
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 5
|
minutes: 5
|
||||||
seconds: 0
|
seconds: 0
|
||||||
below: sensor.wohnungstemperatur
|
below: sensor.wohnungstemperatur
|
||||||
condition:
|
trigger: numeric_state
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.marcus_scholz
|
entity_id: person.marcus_scholz
|
||||||
state: home
|
state: home
|
||||||
@ -588,16 +592,15 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.season
|
entity_id: sensor.season
|
||||||
state: summer
|
state: summer
|
||||||
action:
|
actions:
|
||||||
- service: notify.mobile_app_le2123
|
- data:
|
||||||
data:
|
|
||||||
title: Schlaues lüften
|
title: Schlaues lüften
|
||||||
message: '{{message}}
|
message: '{{message}}
|
||||||
|
|
||||||
'
|
'
|
||||||
enabled: true
|
enabled: true
|
||||||
- service: tts.speak
|
action: notify.mobile_app_le2123
|
||||||
data:
|
- data:
|
||||||
cache: true
|
cache: true
|
||||||
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
media_player_entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: '{{message}}
|
message: '{{message}}
|
||||||
@ -605,6 +608,7 @@
|
|||||||
'
|
'
|
||||||
target:
|
target:
|
||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
|
action: tts.speak
|
||||||
mode: single
|
mode: single
|
||||||
variables:
|
variables:
|
||||||
message: 'Die Außentemperatur ist mit {{states(''sensor.aussentemperatur'')}}
|
message: 'Die Außentemperatur ist mit {{states(''sensor.aussentemperatur'')}}
|
||||||
@ -731,19 +735,19 @@
|
|||||||
- id: '1699969052661'
|
- id: '1699969052661'
|
||||||
alias: 'Awtrix: Matrix einschalten'
|
alias: 'Awtrix: Matrix einschalten'
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: state
|
- entity_id: person.marcus_scholz
|
||||||
entity_id: person.marcus_scholz
|
|
||||||
to: home
|
to: home
|
||||||
from: not_home
|
from: not_home
|
||||||
condition: []
|
trigger: state
|
||||||
action:
|
conditions: []
|
||||||
- service: light.turn_on
|
actions:
|
||||||
data: {}
|
- data: {}
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.awtrix_desk_matrix
|
- light.awtrix_b8658c_matrix
|
||||||
- light.awtrix_kitchen_matrix
|
- light.awtrix_528bd4_matrix
|
||||||
|
action: light.turn_on
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1700482951854'
|
- id: '1700482951854'
|
||||||
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
||||||
|
@ -36,6 +36,7 @@ utility_meter: !include utility_meters.yaml
|
|||||||
|
|
||||||
# MQTT sensors
|
# MQTT sensors
|
||||||
mqtt: !include mqtt.yaml
|
mqtt: !include mqtt.yaml
|
||||||
|
mqtt_statestream: !include mqtt_statestream.yaml
|
||||||
|
|
||||||
# Template sensors
|
# Template sensors
|
||||||
template: !include template.yaml
|
template: !include template.yaml
|
||||||
|
@ -9,6 +9,6 @@
|
|||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"issue_tracker": "https://github.com/stephan192/hochwasserportal/issues",
|
"issue_tracker": "https://github.com/stephan192/hochwasserportal/issues",
|
||||||
"loggers": ["hochwasserportal"],
|
"loggers": ["hochwasserportal"],
|
||||||
"requirements": ["lhpapi==1.0.4"],
|
"requirements": ["lhpapi==1.0.5"],
|
||||||
"version": "1.0.2"
|
"version": "1.0.3"
|
||||||
}
|
}
|
154
mqtt.yaml
154
mqtt.yaml
@ -81,3 +81,157 @@
|
|||||||
model: Vauno-EN8822C
|
model: Vauno-EN8822C
|
||||||
manufacturer: rtl_433
|
manufacturer: rtl_433
|
||||||
|
|
||||||
|
- device_class: humidity
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Nexus-TH/1/238/humidity
|
||||||
|
unique_id: Nexus-TH-1-238-H
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Nexus-TH-1-238
|
||||||
|
model: Nexus-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Nexus-TH-1-238
|
||||||
|
name: Humidity
|
||||||
|
|
||||||
|
- device_class: humidity
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Nexus-TH/1/238/humidity
|
||||||
|
unique_id: Nexus-TH-1-238-H
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Nexus-TH-1-238
|
||||||
|
model: Nexus-TH
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Nexus-TH-1-238
|
||||||
|
name: Humidity
|
||||||
|
|
||||||
|
# Cotech-367959
|
||||||
|
|
||||||
|
- device_class: battery
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ ((float(value) * 99)|round(0)) + 1 }}'
|
||||||
|
state_class: measurement
|
||||||
|
entity_category: diagnostic
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/battery_ok
|
||||||
|
unique_id: Cotech-367959-130-B
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Battery
|
||||||
|
|
||||||
|
- device_class: temperature
|
||||||
|
unit_of_measurement: °F
|
||||||
|
value_template: '{{ value|float|round(1) }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/temperature_F
|
||||||
|
unique_id: Cotech-367959-130-F
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Temperature
|
||||||
|
|
||||||
|
- device_class: humidity
|
||||||
|
unit_of_measurement: '%'
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/humidity
|
||||||
|
unique_id: Cotech-367959-130-H
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Humidity
|
||||||
|
|
||||||
|
- device_class: precipitation
|
||||||
|
unit_of_measurement: mm
|
||||||
|
value_template: '{{ value|float|round(2) }}'
|
||||||
|
state_class: total_increasing
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/rain_mm
|
||||||
|
unique_id: Cotech-367959-130-RT
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Rain Total
|
||||||
|
|
||||||
|
- unit_of_measurement: °
|
||||||
|
value_template: '{{ value|float }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/wind_dir_deg
|
||||||
|
unique_id: Cotech-367959-130-WD
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Wind Direction
|
||||||
|
|
||||||
|
- device_class: wind_speed
|
||||||
|
unit_of_measurement: km/h
|
||||||
|
value_template: '{{ (float(value|float) * 3.6) | round(2) }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/wind_avg_m_s
|
||||||
|
unique_id: Cotech-367959-130-WS
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Wind Average
|
||||||
|
|
||||||
|
- device_class: wind_speed
|
||||||
|
unit_of_measurement: km/h
|
||||||
|
value_template: '{{ (float(value|float) * 3.6) | round(2) }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/wind_max_m_s
|
||||||
|
unique_id: Cotech-367959-130-GS
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Wind max
|
||||||
|
|
||||||
|
- device_class: illuminance
|
||||||
|
unit_of_measurement: lx
|
||||||
|
value_template: '{{ value|int }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/light_lux
|
||||||
|
unique_id: Cotech-367959-130-lux
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: Outside Luminance
|
||||||
|
|
||||||
|
- unit_of_measurement: UV Index
|
||||||
|
value_template: '{{ value|float|round(1) }}'
|
||||||
|
state_class: measurement
|
||||||
|
state_topic: rtl_433/sdr/devices/Cotech-367959/130/uv
|
||||||
|
unique_id: Cotech-367959-130-uv
|
||||||
|
device:
|
||||||
|
identifiers:
|
||||||
|
- Cotech-367959-130
|
||||||
|
model: Cotech-367959
|
||||||
|
manufacturer: rtl_433
|
||||||
|
name: Cotech-367959-130
|
||||||
|
name: UV Index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user