2019-10-13 00:09:48 +00:00
|
|
|
dummy:
|
|
|
|
sequence:
|
|
|
|
|
2019-02-18 18:11:53 +00:00
|
|
|
ambilight_off:
|
|
|
|
alias: Ambilight schwarz schalten
|
|
|
|
sequence:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
entity_id: light.ambilight
|
|
|
|
rgb_color: [0,0,0]
|
|
|
|
brightness: 0
|
|
|
|
|
2019-01-16 12:47:15 +00:00
|
|
|
livingroom_music_on:
|
|
|
|
alias: Wohnzimmer Musik - An
|
|
|
|
sequence:
|
2019-02-18 18:11:53 +00:00
|
|
|
- service: switch.turn_on
|
|
|
|
data:
|
|
|
|
entity_id: switch.harmony_music_bt
|
|
|
|
- service: script.livingroom_music_scenario_on
|
|
|
|
|
|
|
|
livingroom_music_scenario_on:
|
|
|
|
alias: Wohnzimmer Musik Szenario - An
|
|
|
|
sequence:
|
|
|
|
- service: switch.turn_on # todo: nur triggern wenn noch off
|
|
|
|
data:
|
|
|
|
entity_id: switch.harmony_music_bt
|
2019-01-16 12:47:15 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
entity_id: light.ambilight
|
|
|
|
rgb_color: [0,255,62] # Spotify Green
|
|
|
|
brightness: 130
|
|
|
|
- service: media_player.select_source
|
|
|
|
data:
|
|
|
|
entity_id: media_player.spotify
|
|
|
|
source: Wohnzimmer
|
|
|
|
# We have to wait for the AVR establishing a BT connection to the Dot
|
|
|
|
- delay:
|
|
|
|
seconds: 15
|
|
|
|
- service: media_player.media_play
|
|
|
|
data:
|
|
|
|
entity_id: media_player.spotify
|
|
|
|
|
|
|
|
livingroom_music_off:
|
|
|
|
alias: Wohnzimmer Musik - Aus
|
2019-02-18 18:11:53 +00:00
|
|
|
sequence:
|
|
|
|
- service: script.livingroom_music_scenario_off
|
|
|
|
- service: switch.turn_off
|
|
|
|
data:
|
|
|
|
entity_id: switch.harmony_music_bt
|
|
|
|
|
|
|
|
|
|
|
|
livingroom_music_scenario_off:
|
|
|
|
alias: Wohnzimmer Musik Szenario - Aus
|
2019-01-16 12:47:15 +00:00
|
|
|
sequence:
|
|
|
|
- service: media_player.media_pause
|
|
|
|
data:
|
|
|
|
entity_id: media_player.spotify
|
2019-02-18 18:11:53 +00:00
|
|
|
- service: light.turn_off
|
2019-01-16 12:47:15 +00:00
|
|
|
data:
|
2019-02-18 18:11:53 +00:00
|
|
|
entity_id: light.ambilight
|
2019-01-16 12:47:15 +00:00
|
|
|
|
|
|
|
livingroom_netflix_on:
|
|
|
|
alias: Netflix
|
|
|
|
sequence:
|
|
|
|
- service: switch.turn_on
|
|
|
|
data:
|
|
|
|
entity_id: switch.harmony_firetv
|
|
|
|
- delay:
|
|
|
|
seconds: 6
|
|
|
|
- service: media_player.select_source
|
|
|
|
data:
|
|
|
|
entity_id: media_player.fire_tv
|
|
|
|
source: com.netflix.ninja
|
|
|
|
- delay:
|
|
|
|
seconds: 3
|
|
|
|
- service: remote.send_command
|
|
|
|
data:
|
|
|
|
entity_id: remote.livingroom_harmony
|
|
|
|
command:
|
|
|
|
- Ok
|
|
|
|
device: 42849848 #FireTv
|
2019-10-13 00:09:48 +00:00
|
|
|
delay_secs: 0.6
|
|
|
|
|
|
|
|
### Harmony Helper-Scripts
|
|
|
|
|
|
|
|
harmony_denon_power:
|
|
|
|
alias: Denon Power
|
|
|
|
sequence:
|
|
|
|
- service: remote.send_command
|
|
|
|
data:
|
|
|
|
entity_id: remote.livingroom_harmony
|
|
|
|
command:
|
|
|
|
- PowerToggle
|
|
|
|
device: 42849850 #Denon
|
|
|
|
|
|
|
|
harmony_denon_mute:
|
|
|
|
alias: Denon Stumm
|
|
|
|
sequence:
|
|
|
|
- service: remote.send_command
|
|
|
|
data:
|
|
|
|
entity_id: remote.livingroom_harmony
|
|
|
|
command:
|
|
|
|
- Mute
|
|
|
|
device: 42849850 #Denon
|
|
|
|
|
|
|
|
harmony_volume_up:
|
|
|
|
alias: Denon Lauter
|
|
|
|
sequence:
|
|
|
|
- service: remote.send_command
|
|
|
|
data:
|
|
|
|
entity_id: remote.livingroom_harmony
|
|
|
|
command:
|
|
|
|
- VolumeUp
|
|
|
|
device: 42849850 #Denon
|
|
|
|
num_repeats: 5
|
|
|
|
|
|
|
|
harmony_volume_down:
|
|
|
|
alias: Denon Leiser
|
|
|
|
sequence:
|
|
|
|
- service: remote.send_command
|
|
|
|
data:
|
|
|
|
entity_id: remote.livingroom_harmony
|
|
|
|
command:
|
|
|
|
- VolumeDown
|
|
|
|
device: 42849850 #Denon
|
|
|
|
num_repeats: 5
|
|
|
|
|
2019-10-22 18:40:01 +00:00
|
|
|
# Wallboard
|
|
|
|
|
|
|
|
wallboard_hdmi_on:
|
|
|
|
sequence:
|
|
|
|
- service: shell_command.ssh
|
|
|
|
data:
|
|
|
|
sshkey: !secret sshkey_wallboard_hdmi
|
|
|
|
host: !secret wallboard_ip
|
|
|
|
user: !secret wallboard_ssh_user
|
|
|
|
port: !secret wallboard_ssh_port
|
2019-10-29 18:53:57 +00:00
|
|
|
command_or_param: 1
|
2020-01-13 14:43:32 +00:00
|
|
|
|
2019-10-22 18:40:01 +00:00
|
|
|
wallboard_hdmi_off:
|
|
|
|
sequence:
|
|
|
|
- service: shell_command.ssh
|
|
|
|
data:
|
|
|
|
sshkey: !secret sshkey_wallboard_hdmi
|
|
|
|
host: !secret wallboard_ip
|
|
|
|
user: !secret wallboard_ssh_user
|
|
|
|
port: !secret wallboard_ssh_port
|
2019-10-29 18:53:57 +00:00
|
|
|
command_or_param: 0
|