This commit is contained in:
Florian Brinker 2019-01-26 00:16:30 +01:00
джерело 8145acc29f
коміт dd04964e62
3 змінених файлів з 78 додано та 2 видалено

@ -31,5 +31,5 @@
message: 'Anbei die Log-Datei :)' message: 'Anbei die Log-Datei :)'
data: data:
document: document:
file: /backuplogs/sync.err.log file: /backuplogs/sync.out.log
caption: Backup Sync Log caption: Backup Sync Log

65
automations/roku.yaml Normal file

@ -0,0 +1,65 @@
- alias: Roku Ambilight HDMI
trigger:
- platform: event
event_type: roku_command
event_data:
source_name: Home Assistant
type: keypress
key: Fwd
action:
service: light.turn_on
data:
entity_id: light.ambilight
effect: "HDMI"
- alias: Roku Ambilight Effect Rainbow
trigger:
- platform: event
event_type: roku_command
event_data:
source_name: Home Assistant
type: keypress
key: Play
action:
service: light.turn_on
data:
entity_id: light.ambilight
effect: "Rainbow swirl"
- alias: Roku Ambilight Light
trigger:
- platform: event
event_type: roku_command
event_data:
source_name: Home Assistant
type: keypress
key: Rev
action:
service: light.turn_on
data:
entity_id: light.ambilight
rgb_color: [255,63,0]
brightness: 255
- alias: Roku Ambilight Toggle
trigger:
- platform: event
event_type: roku_command
event_data:
source_name: Home Assistant
type: keypress
key: Left
action:
service: light.toggle
data:
entity_id: light.ambilight
- alias: Roku Mood Light Toggle
trigger:
- platform: event
event_type: roku_command
event_data:
source_name: Home Assistant
type: keypress
key: Right
action:
service: light.toggle
data:
entity_id: light.stimmungslicht

@ -34,6 +34,8 @@ config:
updater: updater:
map:
#discovery: #discovery:
history: history:
@ -85,7 +87,10 @@ deconz:
host: !secret deconz_ip host: !secret deconz_ip
port: !secret deconz_port port: !secret deconz_port
map: emulated_roku:
servers:
- name: Home Assistant
listen_port: 8060
mqtt: mqtt:
broker: !secret mqtt_broker_ip broker: !secret mqtt_broker_ip
@ -157,6 +162,7 @@ binary_sensor:
payload_off: 0 payload_off: 0
scan_interval: 1800 scan_interval: 1800
device_class: 'problem' device_class: 'problem'
- platform: ring
weather: weather:
- platform: openweathermap - platform: openweathermap
@ -172,7 +178,12 @@ weather:
ffmpeg: ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg ffmpeg_bin: /usr/bin/ffmpeg
ring:
username: !secret ring_username
password: !secret ring_password
camera: camera:
- platform: ring
# - platform: yi # - platform: yi
# name: YiHome1 # name: YiHome1
# host: !secret yihome1 # host: !secret yihome1