Config changes
This commit is contained in:
parent
5b444de1ab
commit
c75c787186
|
@ -43,3 +43,22 @@
|
|||
- 0.502
|
||||
- 0.414
|
||||
service: light.turn_on
|
||||
- id: '1589377976830'
|
||||
alias: AlarmMartinHandy
|
||||
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:
|
||||
- data:
|
||||
message: Bewegung im Gang
|
||||
title: Alarm
|
||||
service: notify.telegram_martin
|
||||
- data:
|
||||
message: Bewegung im Gang
|
||||
title: Alarm
|
||||
service: notify.ios_martins_ipad
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# ------ Einschalten ---------------
|
||||
|
||||
- alias: EsszimmerRadio Oben an
|
||||
trigger:
|
||||
# Switch on when pushing play or power
|
||||
|
@ -94,24 +93,44 @@
|
|||
repeat_counter: 0
|
||||
host: esszimmerradio.fritz.box
|
||||
action:
|
||||
service: switch.turn_off
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.esszimmer_oben_radio_steckdose1
|
||||
- service: media_player.media_stop
|
||||
data:
|
||||
entity_id: media_player.esszimmer
|
||||
|
||||
- alias: Radio Stop
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_stop
|
||||
repeat_counter: 0
|
||||
host: esszimmerradio.fritz.box
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_pause
|
||||
repeat_counter: 0
|
||||
host: esszimmerradio.fritz.box
|
||||
action:
|
||||
service: media_player.media_pause
|
||||
data:
|
||||
entity_id: media_player.esszimmer
|
||||
|
||||
# ------ Squeezelite neustart ---------------
|
||||
|
||||
#- alias: EsszimmerRadio oben squeezelite neustart
|
||||
# trigger:
|
||||
# # Switch off when pushing goto or pause
|
||||
# - platform: event
|
||||
# event_type: ir_command_received
|
||||
# event_data:
|
||||
# button_name: key_record
|
||||
# repeat_counter: 0
|
||||
# host: esszimmerradio.fritz.box
|
||||
# action:
|
||||
# service: sysdweb.restart
|
||||
# data:
|
||||
# hostname: esszimmerradio.fritz.box
|
||||
# service_name: squeezelite
|
||||
- alias: EsszimmerRadio oben squeezelite neustart
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_record
|
||||
repeat_counter: 0
|
||||
host: esszimmerradio.fritz.box
|
||||
action:
|
||||
service: sysdweb.restart
|
||||
data:
|
||||
hostname: esszimmerradio.fritz.box
|
||||
service_name: squeezelite
|
||||
|
|
|
@ -1,272 +1,272 @@
|
|||
# Dont' edit manually! this is generated!
|
||||
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_1
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_1
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_1
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Bayern 1
|
||||
media_content_type: channel
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_2
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_2
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_2
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Bayern 2
|
||||
media_content_type: channel
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_3
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_3
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_3
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: BR Heimat
|
||||
media_content_type: channel
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_4
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_4
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_4
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Bayern+
|
||||
media_content_type: channel
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_5
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_5
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_5
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: B 5 Aktuell
|
||||
media_content_type: channel
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_6
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_6
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_6
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: BR-Klassik
|
||||
media_content_type: channel
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_7
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_7
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_7
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Gesammelte Weihnachtslieder
|
||||
media_content_type: music
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_8
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_8
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_8
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Harmonic Brass Christmas
|
||||
media_content_type: music
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_9
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_9
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_9
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: German Brass Christmas
|
||||
media_content_type: music
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box key_numeric_star
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box key_numeric_star
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_numeric_star
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Weihnachten mit den Wiener Sängerknaben
|
||||
media_content_type: music
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box btn_0
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box btn_0
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: btn_0
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: Weihnachten mit den Wiener Sängerknaben
|
||||
media_content_type: music
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box key_numeric_pound
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box key_numeric_pound
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_numeric_pound
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.play_media
|
||||
data:
|
||||
media_content_id: SammlungGeorg
|
||||
media_content_type: music
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Musik Play/Pause
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Play/Pause
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_play
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_pause
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.media_play_pause
|
||||
data:
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Musik Next
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Next
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_forward
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_fastforward
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.media_next_track
|
||||
data:
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Musik Prev
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Prev
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_previous
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_rewind
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.media_next_track
|
||||
data:
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Vol Up
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Vol Up
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_volumeup
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.volume_up
|
||||
data:
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Vol Down
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Vol Down
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_volumedown
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.volume_down
|
||||
data:
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Shuffle On
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Shuffle On
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_menu
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.shuffle_set
|
||||
data:
|
||||
shuffle: true
|
||||
entity_id: media_player.wohnzimmer
|
||||
- alias: IR musikserverwohnzimmeroben.fritz.box Shuffle Off
|
||||
- alias: IR musikserverWohnzimmerOben.fritz.box Shuffle Off
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_exit
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
host: musikserverWohnzimmerOben.fritz.box
|
||||
action:
|
||||
service: media_player.shuffle_set
|
||||
data:
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# ------ Squeezelite neustart ---------------
|
||||
|
||||
- alias: Wohnzimmer oben squeezelite neustart
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ir_command_received
|
||||
event_data:
|
||||
button_name: key_record
|
||||
repeat_counter: 0
|
||||
host: musikserverwohnzimmeroben.fritz.box
|
||||
action:
|
||||
service: sysdweb.restart
|
||||
data:
|
||||
hostname: musikserverwohnzimmeroben.fritz.box
|
||||
service_name: squeezelite
|
|
@ -115,7 +115,7 @@ def get_config():
|
|||
}
|
||||
},
|
||||
'first_floor_living_room': {
|
||||
'ir_host': 'musikserverwohnzimmeroben.fritz.box',
|
||||
'ir_host': 'musikserverWohnzimmerOben.fritz.box',
|
||||
'media_player': 'media_player.wohnzimmer',
|
||||
'mapping': {
|
||||
'btn_1': '[radio] Bayern 1',
|
||||
|
|
|
@ -75,13 +75,20 @@ history:
|
|||
- updater
|
||||
- scene
|
||||
|
||||
influxdb:
|
||||
host: a0d7b954-influxdb
|
||||
port: 8086
|
||||
database: home_assistant
|
||||
username: home_assistant
|
||||
password: home_assistant
|
||||
max_retries: 3
|
||||
default_measurement: state
|
||||
|
||||
|
||||
ios:
|
||||
shopping_list:
|
||||
|
||||
|
||||
#http:
|
||||
# - base_url: ha.bauer.tech
|
||||
|
||||
telegram_bot:
|
||||
- platform: webhooks
|
||||
parse_mode: html
|
||||
|
@ -187,6 +194,34 @@ sysdweb:
|
|||
- squeezelite
|
||||
- shairport-sync
|
||||
- dht22_sensing
|
||||
- host: bedroompi.fritz.box
|
||||
port: 10080
|
||||
username: sysdweb
|
||||
password: !secret sysdweb_pw
|
||||
services:
|
||||
- lircd
|
||||
- squeezelite
|
||||
- shairport-sync
|
||||
- dht22_sensing
|
||||
- host: esszimmerradio.fritz.box
|
||||
port: 10080
|
||||
username: sysdweb
|
||||
password: !secret sysdweb_pw
|
||||
services:
|
||||
- lircd
|
||||
- squeezelite
|
||||
- shairport-sync
|
||||
- sispmctl
|
||||
- host: musikserverwohnzimmeroben.fritz.box
|
||||
port: 10080
|
||||
username: sysdweb
|
||||
password: !secret sysdweb_pw
|
||||
services:
|
||||
- irserver
|
||||
- squeezelite
|
||||
- shairport-sync
|
||||
- dht22_sensing
|
||||
- logitechmediaserver
|
||||
|
||||
lirc_network:
|
||||
- host: kitchenpi.fritz.box
|
||||
|
@ -194,7 +229,7 @@ lirc_network:
|
|||
- host: bedroompi.fritz.box
|
||||
port: 2222
|
||||
- host: esszimmerradio.fritz.box
|
||||
port: 8765
|
||||
port: 2222
|
||||
- host: musikserverWohnzimmerOben.fritz.box
|
||||
port: 8765
|
||||
|
||||
|
@ -223,8 +258,7 @@ sensor:
|
|||
motion_combined:
|
||||
friendly_name: Bewegung
|
||||
value_template: >
|
||||
{%- set pirs = {'Arbeitszimmer': states.binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung,
|
||||
'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte,
|
||||
{%- set pirs = {'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte,
|
||||
'Eingang': states.binary_sensor.gang_bewegungsmelder_ost,
|
||||
'Gang Hinten': states.binary_sensor.gang_bewegungsmelder_schlafzimmer,
|
||||
'Gang Wohnzimmer': states.binary_sensor.gang_bewegungsmelder_wohnzimmer} %}
|
||||
|
|
Loading…
Reference in New Issue