diff --git a/config/alerts/network.yaml b/config/alerts/network.yaml new file mode 100644 index 0000000..1c41409 --- /dev/null +++ b/config/alerts/network.yaml @@ -0,0 +1,12 @@ +adguard_disabled: + name: AdGuard inaktiv + message: "Zur Info - Der *AdGuard*-Schutz ist noch *deaktiviert*!" + done_message: "Zur Info - Der *AdGuard*-Schutz ist wieder *aktiv*." + entity_id: switch.adguard_protection + state: "off" + repeat: + - 15 + can_acknowledge: true + skip_first: true + notifiers: + - telegram_group \ No newline at end of file diff --git a/config/alexa.yaml b/config/alexa.yaml index cd3cc27..ed85c62 100644 --- a/config/alexa.yaml +++ b/config/alexa.yaml @@ -8,9 +8,11 @@ - light.ambilight - light.kuchen_theke - light.esstisch - - light.office + - light.office_rgb + - light.lichtleiste - light.onair - - switch.livingroom_stimmungslicht + - light.stimmungslicht + - light.lichterkette - switch.livingroom_music - switch.livingroom_netflix - switch.harmony_firetv @@ -40,12 +42,18 @@ light.esstisch: name: Esstisch description: Esstisch-Lichter - light.office: + light.office_rgb: name: Büro description: Büro - Deckenlampe + light.lichtleiste: + name: Schreibtischlicht + description: Büro - Schreibtischlicht light.stimmungslicht: name: Stimmungslicht description: Wohnzimmer - Stimmungslicht + light.lichterkette: + name: Lichterkette + description: Garten - Lichterkette light.onair: name: Studio-Treppe description: Studio-Treppenlicht diff --git a/config/automations/misc.yaml b/config/automations/misc.yaml index 38bc363..d8cb718 100644 --- a/config/automations/misc.yaml +++ b/config/automations/misc.yaml @@ -32,3 +32,23 @@ data: entity_id: light.onair color_temp: 367 + +- alias: PC On + trigger: + platform: state + entity_id: switch.desktop_wol + to: 'on' + action: + - service: light.turn_on + data: + entity_id: light.lichtleiste + +- alias: PC Off + trigger: + platform: state + entity_id: switch.desktop_wol + to: 'off' + action: + - service: light.turn_off + data: + entity_id: light.lichtleiste \ No newline at end of file diff --git a/config/lights.yaml b/config/lights.yaml index aa2888b..f00f6d7 100644 --- a/config/lights.yaml +++ b/config/lights.yaml @@ -2,11 +2,14 @@ name: Ambilight host: !secret ambilight_ip hdmi_priority: 900 - - platform: switch - name: Stimmungslicht - entity_id: switch.livingroom_stimmungslicht - platform: group name: onAir entities: - light.innr_gu10_rgb_1 - - light.innr_gu10_rgb_2 \ No newline at end of file + - light.innr_gu10_rgb_2 + - platform: switch + name: Lichterkette + entity_id: switch.innr_steckdose + - platform: switch + name: Stimmungslicht + entity_id: switch.livingroom_stimmungslicht \ No newline at end of file diff --git a/config/views/devices.yaml b/config/views/devices.yaml index f06bdd5..982f837 100644 --- a/config/views/devices.yaml +++ b/config/views/devices.yaml @@ -12,18 +12,18 @@ cards: title: Florian show_header_toggle: false entities: - - entity: device_tracker.mobile_fb + - entity: device_tracker.pixel_4 name: Standort - - entity: sensor.device_mobile_fb_battery + - entity: sensor.battery_level name: Handy-Akku icon: mdi:battery - type: entities title: Jenny show_header_toggle: false entities: - - entity: device_tracker.mobile_fb + - entity: device_tracker.sm_g985f name: Standort - - entity: sensor.device_mobile_fb_battery + - entity: sensor.samsung_s20_battery_level name: Handy-Akku icon: mdi:battery - type: horizontal-stack diff --git a/config/views/lights.yaml b/config/views/lights.yaml index e28efea..9227993 100644 --- a/config/views/lights.yaml +++ b/config/views/lights.yaml @@ -4,15 +4,15 @@ cards: - type: light entity: light.kuchen_theke name: Küchen-Theke - - type: light - entity: light.office - name: Büro - type: light entity: light.stimmungslicht name: Stimmungslicht - type: light entity: light.ambilight name: Ambilight + - type: light + entity: light.lichterkette + name: Lichterkette (Garten) - type: light entity: light.esstisch name: Esstisch @@ -34,4 +34,14 @@ cards: icon: mdi:camera-rear - entity: switch.osram_plug_01_57b6060a_on_off name: Studio Ringlicht - icon: mdi:checkbox-blank-circle-outline \ No newline at end of file + icon: mdi:checkbox-blank-circle-outline + + - type: vertical-stack + title: Büro + cards: + - type: light + entity: light.office_rgb + name: Deckenlicht + - type: light + entity: light.lichtleiste + name: Schreibtischlicht diff --git a/config/views/network.yaml b/config/views/network.yaml new file mode 100644 index 0000000..2829541 --- /dev/null +++ b/config/views/network.yaml @@ -0,0 +1,25 @@ +icon: mdi:lan +path: network +cards: + - type: vertical-stack + cards: + - type: gauge + entity: sensor.adguard_average_processing_speed + max: 100 + severity: + green: 0 + yellow: 15 + red: 25 + - type: horizontal-stack + cards: + - type: entity + entity: sensor.adguard_dns_queries + - type: gauge + entity: sensor.adguard_dns_queries_blocked_ratio + severity: + green: 0 + yellow: 10 + red: 20 + - type: button + entity: switch.adguard_protection + show_state: true \ No newline at end of file diff --git a/configuration.yaml b/configuration.yaml index 1b35d65..72b1a7a 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -110,6 +110,8 @@ remote: person: - name: Jenny id: jenny + device_trackers: + - device_tracker.sm_g985f - name: Florian id: florian device_trackers: @@ -196,6 +198,12 @@ spotify: client_id: !secret spotify_client_id client_secret: !secret spotify_client_secret +ecovacs: + username: !secret ecovacs_user + password: !secret ecovacs_password + country: de + continent: eu + #tplink: # discovery: false # switch: diff --git a/custom_components/landroid_cloud/__pycache__/__init__.cpython-38.pyc b/custom_components/landroid_cloud/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..5e0d39c Binary files /dev/null and b/custom_components/landroid_cloud/__pycache__/__init__.cpython-38.pyc differ diff --git a/custom_components/landroid_cloud/__pycache__/sensor.cpython-38.pyc b/custom_components/landroid_cloud/__pycache__/sensor.cpython-38.pyc new file mode 100644 index 0000000..a4bdb69 Binary files /dev/null and b/custom_components/landroid_cloud/__pycache__/sensor.cpython-38.pyc differ diff --git a/custom_components/reolink_dev/ReolinkPyPi/__pycache__/__init__.cpython-38.pyc b/custom_components/reolink_dev/ReolinkPyPi/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..b0cc501 Binary files /dev/null and b/custom_components/reolink_dev/ReolinkPyPi/__pycache__/__init__.cpython-38.pyc differ diff --git a/custom_components/reolink_dev/ReolinkPyPi/__pycache__/camera.cpython-38.pyc b/custom_components/reolink_dev/ReolinkPyPi/__pycache__/camera.cpython-38.pyc new file mode 100644 index 0000000..f029e3a Binary files /dev/null and b/custom_components/reolink_dev/ReolinkPyPi/__pycache__/camera.cpython-38.pyc differ diff --git a/custom_components/reolink_dev/__pycache__/__init__.cpython-38.pyc b/custom_components/reolink_dev/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..895208c Binary files /dev/null and b/custom_components/reolink_dev/__pycache__/__init__.cpython-38.pyc differ diff --git a/custom_components/reolink_dev/__pycache__/camera.cpython-38.pyc b/custom_components/reolink_dev/__pycache__/camera.cpython-38.pyc new file mode 100644 index 0000000..f2d2fc1 Binary files /dev/null and b/custom_components/reolink_dev/__pycache__/camera.cpython-38.pyc differ diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index 4412591..70b05d2 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -12,6 +12,7 @@ views: - !include config/views/devices.yaml - !include config/views/landroid.yaml - !include config/views/cctv.yaml + - !include config/views/network.yaml - !include config/views/alerts.yaml resources: