diff --git a/automations/backups.yaml b/automations/backups.yaml index 708309b..38ec24b 100644 --- a/automations/backups.yaml +++ b/automations/backups.yaml @@ -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 \ No newline at end of file diff --git a/automations/roku.yaml b/automations/roku.yaml new file mode 100644 index 0000000..782c271 --- /dev/null +++ b/automations/roku.yaml @@ -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 \ No newline at end of file diff --git a/configuration.yaml b/configuration.yaml index 4456951..d000130 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -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