Compare commits
6 Commits
cae28341fe
...
main
Author | SHA1 | Date | |
---|---|---|---|
a947806618 | |||
439ead1047 | |||
20c86831f1 | |||
61b018270b | |||
911477d381 | |||
1ee475ee4a |
@@ -1 +1 @@
|
||||
2025.8.3
|
||||
2025.9.0
|
272
automations.yaml
272
automations.yaml
@@ -69,9 +69,11 @@
|
||||
alias: Gute Nacht!
|
||||
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
to: sleep_tracking_started
|
||||
trigger: state
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_schlaf_tracking
|
||||
attribute: event_type
|
||||
to: started
|
||||
conditions: []
|
||||
actions:
|
||||
- target:
|
||||
@@ -89,22 +91,61 @@
|
||||
- data:
|
||||
message: Gute Nacht!
|
||||
action: notify.mobile_app_le2123
|
||||
- data:
|
||||
media:
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
media_content_type: provider
|
||||
metadata:
|
||||
title: Gute Nacht, schlaf gut.
|
||||
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
|
||||
media_class: app
|
||||
children_media_class:
|
||||
navigateIds:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
action: media_player.play_media
|
||||
enabled: true
|
||||
target:
|
||||
entity_id: media_player.home_assistant_voice_09c0e7_media_player
|
||||
- data:
|
||||
media:
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
media_content_type: provider
|
||||
metadata:
|
||||
title: Gute Nacht, schlaf gut.
|
||||
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
|
||||
media_class: app
|
||||
children_media_class:
|
||||
navigateIds:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
action: media_player.play_media
|
||||
enabled: true
|
||||
target:
|
||||
entity_id: media_player.m5stack_atom_echo
|
||||
- target:
|
||||
entity_id: media_player.raspiaudio_muse_luxe
|
||||
data:
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
media_content_type: provider
|
||||
metadata:
|
||||
title: Gute Nacht, schlaf gut.
|
||||
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
|
||||
media_class: app
|
||||
children_media_class:
|
||||
navigateIds:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media:
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
media_content_type: provider
|
||||
metadata:
|
||||
title: Gute Nacht, schlaf gut.
|
||||
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
|
||||
media_class: app
|
||||
children_media_class:
|
||||
navigateIds:
|
||||
- {}
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
action: media_player.play_media
|
||||
enabled: true
|
||||
- target:
|
||||
@@ -145,10 +186,23 @@
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
action: tts.speak
|
||||
- data:
|
||||
cache: true
|
||||
media_player_entity_id: media_player.home_assistant_voice_09c0e7_media_player
|
||||
message: 4 20 lodere es, Lustknabe
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
action: tts.speak
|
||||
- data:
|
||||
qos: 0
|
||||
retain: false
|
||||
topic: awtrix_b8658c/notify
|
||||
topic: awtrix_kitchen/notify
|
||||
payload: '{"text": "420, lodere es, Lustknabe!"}'
|
||||
action: mqtt.publish
|
||||
- data:
|
||||
qos: 0
|
||||
retain: false
|
||||
topic: awtrix_desk/notify
|
||||
payload: '{"text": "420, lodere es, Lustknabe!"}'
|
||||
action: mqtt.publish
|
||||
mode: single
|
||||
@@ -178,10 +232,11 @@
|
||||
alias: Licht im Schlafzimmer zur Schlafenszeit einschalten
|
||||
description: Bei Beginn der empfohlenen Schlafenszeit.
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_benutzerbenachrichtigung
|
||||
attribute: event_type
|
||||
to: time_to_bed_alarm_alert
|
||||
for: 00:05:00
|
||||
trigger: state
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
@@ -198,29 +253,47 @@
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
action: tts.speak
|
||||
enabled: false
|
||||
enabled: true
|
||||
- data:
|
||||
cache: true
|
||||
media_player_entity_id: media_player.home_assistant_voice_09c0e7_media_player_2
|
||||
message: Ab ins Bett, Schlafenszeit.
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
action: tts.speak
|
||||
enabled: true
|
||||
- data:
|
||||
cache: true
|
||||
media_player_entity_id: media_player.m5stack_atom_echo
|
||||
message: Ab ins Bett, Schlafenszeit.
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
action: tts.speak
|
||||
enabled: true
|
||||
mode: single
|
||||
- id: '1623954512941'
|
||||
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
||||
description: Nach der Alarmquittierung
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
to: alarm_alert_start
|
||||
condition:
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_schlaf_tracking
|
||||
attribute: event_type
|
||||
to: stopped
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
state: home
|
||||
action:
|
||||
actions:
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 30
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- service: light.turn_on
|
||||
target:
|
||||
- target:
|
||||
device_id: 68868390eda35e969ec60a13020f2407
|
||||
data: {}
|
||||
action: light.turn_on
|
||||
mode: single
|
||||
- id: '1624820688449'
|
||||
alias: 'Anruf: Beim Klingeln grün blinken'
|
||||
@@ -362,9 +435,11 @@
|
||||
alias: Raumduft zum Aufstehen einschalten
|
||||
description: ''
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
to: sleep_tracking_stopped
|
||||
trigger: state
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_schlaf_tracking
|
||||
attribute: event_type
|
||||
to: stopped
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
@@ -480,11 +555,9 @@
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: sleep_tracking_stopped
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: alarm_alert_dismiss
|
||||
entity_id: event.sleep_as_android_schlaf_tracking
|
||||
attribute: event_type
|
||||
state: stopped
|
||||
actions:
|
||||
- data:
|
||||
cache: true
|
||||
@@ -496,6 +569,26 @@
|
||||
entity_id: tts.piper
|
||||
enabled: true
|
||||
action: tts.speak
|
||||
- data:
|
||||
cache: true
|
||||
media_player_entity_id: media_player.home_assistant_voice_09c0e7_media_player
|
||||
message: '{{message}}
|
||||
|
||||
'
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
enabled: true
|
||||
action: tts.speak
|
||||
- data:
|
||||
cache: true
|
||||
media_player_entity_id: media_player.m5stack_atom_echo
|
||||
message: '{{message}}
|
||||
|
||||
'
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
enabled: true
|
||||
action: tts.speak
|
||||
- data:
|
||||
topic: awtrix_desk/notify
|
||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||
@@ -590,11 +683,9 @@
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
entity_id: event.sleep_as_android_schlaf_tracking
|
||||
state: sleep_tracking_stopped
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: alarm_alert_dismiss
|
||||
attribute: event_type
|
||||
- condition: state
|
||||
entity_id: sensor.season
|
||||
state: summer
|
||||
@@ -682,14 +773,13 @@
|
||||
- id: '1698954553138'
|
||||
alias: 'Awtrix: Jahresfortschirtt'
|
||||
description: Jahresfortschritt in %
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
hours: '*'
|
||||
triggers:
|
||||
- hours: '*'
|
||||
minutes: 0
|
||||
condition: []
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
trigger: time_pattern
|
||||
conditions: []
|
||||
actions:
|
||||
- data:
|
||||
payload: '{# Get current timestamp #} {%- set now = now() -%} {# Start of current
|
||||
year #} {%- set startOfYear = now.replace(year=now.year, month=1, day=1, hour=0,
|
||||
minute=0, second=0, microsecond=0) -%} {# Determine end of current year #}
|
||||
@@ -699,9 +789,24 @@
|
||||
= as_timestamp(now) - as_timestamp(startOfYear) -%} {%- set progress = ( current
|
||||
/ total * 100 ) | round(0, "floor", 0) -%} {# Output #} { "text": "{{ progress
|
||||
}} %", "icon": "y2023"}'
|
||||
topic: awtrix_b8658c/custom/yearprogress
|
||||
topic: awtrix_desk/custom/yearprogress
|
||||
qos: 0
|
||||
retain: false
|
||||
action: mqtt.publish
|
||||
- data:
|
||||
payload: '{# Get current timestamp #} {%- set now = now() -%} {# Start of current
|
||||
year #} {%- set startOfYear = now.replace(year=now.year, month=1, day=1, hour=0,
|
||||
minute=0, second=0, microsecond=0) -%} {# Determine end of current year #}
|
||||
{%- set endOfYear = startOfYear.replace(month=12, day=31, hour=23, minute=59,
|
||||
second=59, microsecond=999999) -%} {# Calculate progress #} {%- set total
|
||||
= as_timestamp(endOfYear) - as_timestamp(startOfYear) -%} {%- set current
|
||||
= as_timestamp(now) - as_timestamp(startOfYear) -%} {%- set progress = ( current
|
||||
/ total * 100 ) | round(0, "floor", 0) -%} {# Output #} { "text": "{{ progress
|
||||
}} %", "icon": "y2023"}'
|
||||
topic: awtrix_kitchen/custom/yearprogress
|
||||
qos: 0
|
||||
retain: false
|
||||
action: mqtt.publish
|
||||
mode: single
|
||||
- id: '1699955800413'
|
||||
alias: 'Awtrix: Laufender Spotify Song'
|
||||
@@ -820,44 +925,42 @@
|
||||
controller_device: f3b032ad1f3ccc658a7d4588cc0e5c0c
|
||||
helper_last_controller_event: input_text.styrbar_wohnzimmer_moodlight_letztes_event
|
||||
action_button_up_short:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
- data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
action: light.turn_on
|
||||
action_button_down_short:
|
||||
- service: light.turn_off
|
||||
data: {}
|
||||
- data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
action: light.turn_off
|
||||
action_button_left_short:
|
||||
- service: script.wled_random_effect
|
||||
data: {}
|
||||
- data: {}
|
||||
action: script.wled_random_effect
|
||||
action_button_right_short:
|
||||
- service: script.wled_random_palette
|
||||
data: {}
|
||||
- data: {}
|
||||
action: script.wled_random_palette
|
||||
action_button_up_long:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 10
|
||||
target:
|
||||
entity_id: light.wohnzimmer_moodlight
|
||||
action_button_down_long: []
|
||||
- action: script.moodlight_orange_plasma
|
||||
data: {}
|
||||
action_button_down_long:
|
||||
- action: script.moodlight_neutral
|
||||
data: {}
|
||||
action_button_down_double:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
- target:
|
||||
device_id: 9f42805af5b7e423023595390342b9ac
|
||||
data: {}
|
||||
action: light.turn_off
|
||||
action_button_up_double:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
- metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id: 9f42805af5b7e423023595390342b9ac
|
||||
action: light.turn_on
|
||||
button_up_double_press: true
|
||||
button_down_double_press: true
|
||||
- id: '1702588441751'
|
||||
@@ -1144,3 +1247,34 @@
|
||||
target:
|
||||
entity_id: input_boolean.waschetrockner_aktiv
|
||||
mode: single
|
||||
- id: '1756756139646'
|
||||
alias: Türklingel
|
||||
description: Benachrichtigung über Wohnungs- oder Haustürklingeln
|
||||
triggers:
|
||||
- trigger: mqtt
|
||||
topic: gdoor/bus_rx
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.payload_json.action == ''BUTTON_RING'' and trigger.payload_json.parameters
|
||||
== ''0560'' }}'
|
||||
sequence:
|
||||
- data:
|
||||
data:
|
||||
push:
|
||||
interruption-level: time-sensitive
|
||||
message: Türklingel (außen)
|
||||
action: notify.alle_mobilen_gerate
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.payload_json.action == ''BUTTON_FLOOR'' and trigger.payload_json.parameters
|
||||
== ''FF6F'' and trigger.payload_json.busdata == ''0110139A59A6FF6FA1CC''}}'
|
||||
sequence:
|
||||
- data:
|
||||
data:
|
||||
push:
|
||||
interruption-level: time-sensitive
|
||||
message: Türklingel (innen)
|
||||
action: notify.alle_mobilen_gerate
|
||||
mode: single
|
||||
|
@@ -1,7 +0,0 @@
|
||||
- sensor:
|
||||
# Raspberry Pi CPU temp
|
||||
name: "CPU Temp"
|
||||
unique_id: '4144237916258'
|
||||
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
||||
unit_of_measurement: "°C"
|
||||
value_template: "{{ value | multiply(0.001) | round(1) }}"
|
@@ -11,15 +11,13 @@ http:
|
||||
tts:
|
||||
- platform: picotts_remote
|
||||
language: "de-DE"
|
||||
- platform: google_translate
|
||||
language: "de"
|
||||
|
||||
# Include modules
|
||||
group: !include groups.yaml
|
||||
automation: !include automations.yaml
|
||||
automation webhooks: !include automations_webhooks.yaml
|
||||
script: !include scripts.yaml
|
||||
scene: !include scenes.yaml
|
||||
notify: !include notify.yaml
|
||||
|
||||
# Enable additional integrations
|
||||
# Enable 'wake_on_lan' intrgration
|
||||
@@ -31,11 +29,10 @@ homeassistant:
|
||||
|
||||
# Additional sensors
|
||||
sensor: !include sensors.yaml
|
||||
command_line: !include commandline.yaml
|
||||
utility_meter: !include utility_meters.yaml
|
||||
|
||||
# MQTT sensors
|
||||
mqtt: !include mqtt.yaml
|
||||
mqtt: !include mqtt.yaml
|
||||
mqtt_statestream: !include mqtt_statestream.yaml
|
||||
|
||||
# Template sensors
|
||||
@@ -74,4 +71,3 @@ generic_hygrostat:
|
||||
away_humidity: 60
|
||||
away_fixed: true
|
||||
sensor_stale_duration: 00:15:00
|
||||
|
||||
|
@@ -197,12 +197,14 @@ sensor:
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
name: "Sun Rising ESP"
|
||||
#entity_id: sensor.sun_next_rising
|
||||
entity_id: sensor.sun_rising_template
|
||||
id: sun_rising
|
||||
internal: true
|
||||
|
||||
- platform: homeassistant
|
||||
name: "Sun Setting ESP"
|
||||
#entity_id: sensor.sun_next_setting
|
||||
entity_id: sensor.sun_setting_template
|
||||
id: sun_setting
|
||||
internal: true
|
||||
|
31
esphome/home-assistant-voice-09c0e7.yaml
Normal file
31
esphome/home-assistant-voice-09c0e7.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
substitutions:
|
||||
name: home-assistant-voice-09c0e7
|
||||
friendly_name: Home Assistant Voice 09c0e7
|
||||
packages:
|
||||
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
|
||||
esphome:
|
||||
name: ${name}
|
||||
name_add_mac_suffix: false
|
||||
friendly_name: ${friendly_name}
|
||||
|
||||
wifi:
|
||||
ssid: "Voltage-legacy"
|
||||
password: !secret voltage_legacy_psk
|
||||
#use_address: ${name}.home
|
||||
#power_save_mode: high
|
||||
#fast_connect: on
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "HA Voice Fallback Hotspot"
|
||||
password: !secret fallback_psk
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: !secret apikey
|
||||
|
||||
ota:
|
||||
platform: esphome
|
||||
password: !secret ota
|
||||
|
@@ -70,7 +70,7 @@ esp32_camera:
|
||||
idle_framerate: 0.2 fps
|
||||
jpeg_quality: 30
|
||||
agc_mode: auto
|
||||
agc_gain_ceiling: 2x
|
||||
agc_gain_ceiling: 4x
|
||||
wb_mode: auto
|
||||
vertical_flip: true
|
||||
horizontal_mirror: true
|
||||
|
@@ -61,7 +61,7 @@ esp32_camera:
|
||||
idle_framerate: 0.2 fps
|
||||
jpeg_quality: 30
|
||||
agc_mode: auto
|
||||
agc_gain_ceiling: 2x
|
||||
agc_gain_ceiling: 4x
|
||||
wb_mode: auto
|
||||
vertical_flip: true
|
||||
horizontal_mirror: true
|
||||
|
8
notify.yaml
Normal file
8
notify.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
#All Mobile Phones
|
||||
- platform: group
|
||||
name: "Alle mobilen Geräte"
|
||||
services:
|
||||
- service: mobile_app_le2123
|
||||
- service: mobile_app_apollo
|
||||
- service: mobile_app_xt2125_4
|
||||
|
@@ -29,6 +29,7 @@
|
||||
- sensor.*_wi_fi_signal
|
||||
- sensor.*_wifi_strenght
|
||||
- sensor.*_uptime
|
||||
- sensor.sun*
|
||||
entities:
|
||||
- sun.sun # Don't record sun data
|
||||
- sensor.fritzbox_device_uptime
|
||||
|
Reference in New Issue
Block a user