Add ring, emulated toku

This commit is contained in:
Florian Brinker 2019-01-26 00:16:30 +01:00
parent 8145acc29f
commit dd04964e62
3 changed files with 78 additions and 2 deletions

View File

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

65
automations/roku.yaml Normal file
View 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

View File

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