diff --git a/config/influxdb.yaml b/config/influxdb.yaml index 227b698..fbdc3ba 100644 --- a/config/influxdb.yaml +++ b/config/influxdb.yaml @@ -54,6 +54,9 @@ - sensor.instagram_codedwithlove_follows - sensor.instagram_codedwithlove_media # TikTok - - sensor.tiktok_beauty - - sensor.tiktok_beauty_hearts - - sensor.tiktok_beauty_videos \ No newline at end of file + - sensor.tiktok_unwissend_schoen + - sensor.tiktok_unwissend_schoen_hearts + - sensor.tiktok_unwissend_schoen_videos + - sensor.tiktok_astax + - sensor.tiktok_astax_hearts + - sensor.tiktok_astax_videos \ No newline at end of file diff --git a/config/sensors/social.yaml b/config/sensors/social.yaml index 4a6e53e..90f5d7e 100644 --- a/config/sensors/social.yaml +++ b/config/sensors/social.yaml @@ -220,23 +220,41 @@ force_update: true # TikTok - # beauty - platform: rest scan_interval: 300 - name: tiktok_beauty - resource: !secret tiktok_beauty - value_template: '{{ value_json.data.userInfo.stats.followerCount }}' + name: tiktok_unwissend_schoen + resource: !secret tiktok_unwissend_schoen + value_template: '{{ value_json.stats.followerCount }}' unit_of_measurement: Followers force_update: true - platform: rest scan_interval: 300 - name: tiktok_beauty_hearts - resource: !secret tiktok_beauty - value_template: '{{ value_json.data.userInfo.stats.heartCount }}' + name: tiktok_unwissend_schoen_hearts + resource: !secret tiktok_unwissend_schoen + value_template: '{{ value_json.stats.heartCount }}' force_update: true - platform: rest scan_interval: 300 - name: tiktok_beauty_videos - resource: !secret tiktok_beauty - value_template: '{{ value_json.data.userInfo.stats.videoCount }}' + name: tiktok_unwissend_schoen_videos + resource: !secret tiktok_unwissend_schoen + value_template: '{{ value_json.stats.videoCount }}' + force_update: true + - platform: rest + scan_interval: 300 + name: tiktok_astax + resource: !secret tiktok_astax + value_template: '{{ value_json.stats.followerCount }}' + unit_of_measurement: Followers + force_update: true + - platform: rest + scan_interval: 300 + name: tiktok_astax_hearts + resource: !secret tiktok_astax + value_template: '{{ value_json.stats.heartCount }}' + force_update: true + - platform: rest + scan_interval: 300 + name: tiktok_astax_videos + resource: !secret tiktok_astax + value_template: '{{ value_json.stats.videoCount }}' force_update: true \ No newline at end of file diff --git a/config/sensors_binary/wallboard.yaml b/config/sensors_binary/wallboard.yaml index 0d7e683..f074638 100644 --- a/config/sensors_binary/wallboard.yaml +++ b/config/sensors_binary/wallboard.yaml @@ -1,6 +1,6 @@ -# - platform: command_line -# name: Wallboard HDMI Status -# command: !secret wallboard_hdmi_status_cmd -# payload_on: display_power=1 -# payload_off: display_power=0 -# scan_interval: 60 \ No newline at end of file + - platform: command_line + name: Wallboard HDMI Status + command: !secret wallboard_hdmi_status_cmd + payload_on: display_power=1 + payload_off: display_power=0 + scan_interval: 60 \ No newline at end of file diff --git a/config/switches/wallboard.yaml b/config/switches/wallboard.yaml index 72a7bd0..82b43c0 100644 --- a/config/switches/wallboard.yaml +++ b/config/switches/wallboard.yaml @@ -1,9 +1,9 @@ -#- platform: template -# switches: -# wallboard_display: -# friendly_name: Wallboard Display Toggle -# value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}" -# turn_on: -# service: script.wallboard_hdmi_on -# turn_off: -# service: script.wallboard_hdmi_off \ No newline at end of file +- platform: template + switches: + wallboard_display: + friendly_name: Wallboard Display Toggle + value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}" + turn_on: + service: script.wallboard_hdmi_on + turn_off: + service: script.wallboard_hdmi_off \ No newline at end of file diff --git a/config/views/overview.yaml b/config/views/overview.yaml index f517376..b3a1874 100644 --- a/config/views/overview.yaml +++ b/config/views/overview.yaml @@ -2,6 +2,34 @@ title: Übersicht path: overview icon: "mdi:tablet-dashboard" cards: + + - type: vertical-stack + cards: + - type: custom:weather-card + name: Wetter + entity: weather.openweathermap + icons: "/local/lovelace/custom/weather-card/icons/" +# - type: iframe +# url: !secret iframe_windy +# aspect_ratio: 75% +# - type: iframe +# url: !secret iframe_earth +# aspect_ratio: 75% + + - type: conditional + conditions: + - entity: binary_sensor.workday_sensor + state: "on" + - entity: binary_sensor.morning + state: "on" + card: + type: entities + title: Nächste Bahn nach Münster + show_header_toggle: false + entities: + - entity: sensor.salzbergen_to_munster_hbf + name: Abfahrt + - type: custom:battery-state-card title: "Batterie Warnung" sort_by_level: "asc" @@ -26,48 +54,14 @@ cards: - name: attributes.friendly_name # require a friendly_name operator: "=" value: + - name: attributes.friendly_name + operator: "matches" + value: "/vibration/i" # is almost empty but unused, not important here in this view bulk_rename: - from: "Batterie" - from: "Battery" - from: "Power" - - type: conditional - conditions: - - entity: binary_sensor.openclose_10 - state: "on" - card: - type: entities - title: Offene Fenster - show_header_toggle: false - entities: - - entity: binary_sensor.openclose_10 - name: Elternbad - icon: mdi:window-open - - type: vertical-stack - cards: - - type: custom:weather-card - name: Wetter - entity: weather.openweathermap - icons: "/local/lovelace/custom/weather-card/icons/" -# - type: iframe -# url: !secret iframe_windy -# aspect_ratio: 75% -# - type: iframe -# url: !secret iframe_earth -# aspect_ratio: 75% - - type: conditional - conditions: - - entity: binary_sensor.workday_sensor - state: "on" - - entity: binary_sensor.morning - state: "on" - card: - type: entities - title: Nächste Bahn nach Münster - show_header_toggle: false - entities: - - entity: sensor.salzbergen_to_munster_hbf - name: Abfahrt - type: vertical-stack cards: - type: glance diff --git a/config/views/robots.yaml b/config/views/robots.yaml index 92bc228..7fcbb0a 100644 --- a/config/views/robots.yaml +++ b/config/views/robots.yaml @@ -5,7 +5,7 @@ cards: # Dobby - type: 'custom:vacuum-card' entity: vacuum.dobby - map: camera.deebot_dobby_live_map + map: camera.dobby_livemap stats: default: - entity_id: sensor.dobby_heap diff --git a/configuration.yaml b/configuration.yaml index ef67da2..ec71ebb 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -31,6 +31,7 @@ sun: stream: system_health: updater: +shopping_list: http: ip_ban_enabled: true @@ -42,9 +43,6 @@ http: # traefik.web - 172.19.0.0/24 -frontend: - themes: !include_dir_merge_named themes/ - lovelace: mode: yaml resources: @@ -112,16 +110,26 @@ person: - device_tracker.pixely zone: - - name: !secret work_name_f - latitude: !secret work_lat_f - longitude: !secret work_long_f + - name: !secret work_f_name + latitude: !secret work_f_lat + longitude: !secret work_f_lng radius: 250 icon: mdi:briefcase - - name: !secret work_name_j - latitude: !secret work_lat_j - longitude: !secret work_long_j + - name: !secret work_j_name + latitude: !secret work_j_lat + longitude: !secret work_j_lng radius: 500 icon: mdi:briefcase + - name: !secret shopping_1_name + latitude: !secret shopping_1_lat + longitude: !secret shopping_1_lng + radius: 250 + icon: fas:shopping-basket + - name: !secret shopping_2_name + latitude: !secret shopping_2_lat + longitude: !secret shopping_2_lng + radius: 250 + icon: fas:shopping-basket ffmpeg: ffmpeg_bin: /usr/bin/ffmpeg @@ -188,17 +196,6 @@ spotify: client_id: !secret spotify_client_id client_secret: !secret spotify_client_secret -deebot: - username: !secret ecovacs_user - password: !secret ecovacs_password - country: de - continent: eu - deviceid: - - !secret ecovacs_serial_dobby - live_map: true - show_color_rooms: true - livemappath: 'www/vacuums/' - fontawesome: regular: solid: @@ -208,6 +205,9 @@ fontawesome: alexa: !include config/alexa.yaml google_assistant: !include config/google_assistant.yaml +frontend: + themes: !include_dir_merge_named themes/ + alert: !include_dir_merge_named config/alerts/ automation: !include_dir_merge_list config/automations/ binary_sensor: !include_dir_merge_list config/sensors_binary/ diff --git a/customize.yaml b/customize.yaml new file mode 100644 index 0000000..760bf16 --- /dev/null +++ b/customize.yaml @@ -0,0 +1,3 @@ +sensor.landroid_hans_dieter_battery: + friendly_name: Hans-Dieter Batterie + device_class: battery