diff --git a/automations.yaml b/automations.yaml index adfcb8d..258e88e 100644 --- a/automations.yaml +++ b/automations.yaml @@ -113,16 +113,18 @@ description: '' trigger: - platform: device - device_id: 6b635bb1a0fe1c969189555f17b08607 - domain: homekit_controller - type: button1 - subtype: single_press + domain: mqtt + device_id: d52a7fbe2d8b9d3852cd8dd0a2067658 + type: action + subtype: 'on' + discovery_id: 0x8cf681fffe2871c5 action_on condition: [] action: - type: toggle device_id: 73bc53e7aa7d51d9a102dbb47a7da634 entity_id: switch.tv_baenk domain: switch + enabled: true mode: single - id: '1667311111811' alias: Mikroovn låge test @@ -432,3 +434,39 @@ target: entity_id: climate.nilan mode: single +- id: '1699117589735' + alias: PytKnap + description: '' + trigger: + - platform: device + domain: mqtt + device_id: 32e7bed0782d90c020a5fbaf8ff8afb4 + type: action + subtype: 'on' + discovery_id: 0xb4e3f9fffe68034a action_on + condition: [] + action: + - variables: + volume: '{{ state_attr("media_player.dining_room", "volume_level") }}' + - service: media_player.volume_set + data: + volume_level: 0.7 + target: + entity_id: media_player.dining_room + - service: tts.google_translate_say + data: + entity_id: media_player.dining_room + language: da + message: Pyt + cache: true + - delay: + hours: 0 + minutes: 0 + seconds: 1 + milliseconds: 0 + - service: media_player.volume_set + data: + volume_level: '{{ volume }}' + target: + entity_id: media_player.dining_room + mode: restart diff --git a/command_line.yaml b/command_line.yaml index 6acd682..9b519ee 100644 --- a/command_line.yaml +++ b/command_line.yaml @@ -1,10 +1,10 @@ -- sensor: - name: Speedtest Data - command: "/config/shell_commands/speedtest --format=json --accept-license --accept-gdpr --server-id=14014" - command_timeout: 60 - value_template: "OK" - scan_interval: 3600 - json_attributes: - - download - - upload - - ping +#- sensor: +# name: Speedtest Data +# command: "/config/shell_commands/speedtest --format=json --accept-license --accept-gdpr --server-id=14014" +# command_timeout: 60 +# value_template: "OK" +# scan_interval: 3600 +# json_attributes: +# - download +# - upload +# - ping diff --git a/configuration.yaml b/configuration.yaml index b093ead..b53d07a 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -49,7 +49,7 @@ frontend: themes: !include_dir_merge_named themes/ extra_module_url: - - /hacsfiles/lovelace-card-mod/card-mod.js + - /community/lovelace-card-mod/card-mod.js tts: - platform: google_translate @@ -101,6 +101,12 @@ host: 10.0.1.104 token: !secret xiaomi_humidifier2_token model: zhimi.humidifier.cb1 + - platform: xiaomi_miio_airpurifier + name: Smartmi Evaporative Humidifier 3 + host: 10.0.1.179 + token: !secret xiaomi_humidifier3_token + model: zhimi.humidifier.ca4 + scrape: - resource: https://www.aarhusvand.dk/forbrug-og-byggeri/priser/ scan_interval: 604800 @@ -110,7 +116,6 @@ index: 4 unit_of_measurement: "DKK/m³" device_class: monetary - state_class: measurement value_template: "{{ value | replace(',', '.') | float(0) }}" sensor: !include_dir_merge_list sensors/ diff --git a/dashboards/minimal/declutter.yaml b/dashboards/minimal/declutter.yaml index 8cc9093..e99d524 100644 --- a/dashboards/minimal/declutter.yaml +++ b/dashboards/minimal/declutter.yaml @@ -3,19 +3,16 @@ - font-size: "2rem" - alignment: "center" card: - type: custom:mod-card - card: - type: custom:mushroom-title-card - title: "[[title]]" - alignment: "[[alignment]]" + #type: custom:mod-card + #card: + type: custom:mushroom-title-card + title: "[[title]]" + alignment: "[[alignment]]" card_mod: - style: - "mushroom-title-card": - "$": | - h1 { - font-size: [[font-size]] !important; - } - + style: | + ha-card .title { + --title-font-size: [[font-size]]; + } subpanel_title_template: default: - font-size: "2rem" diff --git a/dashboards/minimal/views/hjem.yaml b/dashboards/minimal/views/hjem.yaml index 2c2fa64..02a598f 100644 --- a/dashboards/minimal/views/hjem.yaml +++ b/dashboards/minimal/views/hjem.yaml @@ -51,6 +51,13 @@ - type: custom:gap-card height: 10 + - type: gauge + name: Forbrug + entity: sensor.elmaler_power + min: 0 + max: 9000 + needle: true + - type: custom:room-card title: Udenfor entity: switch.udendors_lyskaede_plug diff --git a/esphome/wavin9000.yaml b/esphome/wavin9000.yaml index eb8f0ba..e8f9419 100644 --- a/esphome/wavin9000.yaml +++ b/esphome/wavin9000.yaml @@ -1,3 +1,6 @@ +external_components: + - source: github://bendikwa/esphome-igrill@v1.2 + esphome: name: wavin9000 @@ -69,6 +72,19 @@ bluetooth_proxy: active: true +ble_client: + - mac_address: 70:91:8F:XX:XX:XX + id: igrill_device + +sensor: + - platform: igrill + ble_client_id: igrill_device + update_interval: 5s # default + battery_level: + name: "iGrill Mini battery" + temperature_probe1: + name: "iGrill Mini temp probe 1" + sensor: - platform: uptime name: "Wavin9000 Uptime" diff --git a/template/speedtest.yaml b/template/speedtest.yaml index a792899..5629645 100644 --- a/template/speedtest.yaml +++ b/template/speedtest.yaml @@ -1,25 +1,25 @@ -- sensor: - - name: Speedtest Ping - state: '{{ ((state_attr("sensor.speedtest_data", "ping").latency | float )) | round(2) }}' - unit_of_measurement: ms - state_class: measurement +- sensor: [] +# - name: Speedtest Ping +# state: '{{ ((state_attr("sensor.speedtest_data", "ping").latency | float )) | round(2) }}' +# unit_of_measurement: ms +# state_class: measurement - - name: Speedtest Download Ping - state: '{{ ((state_attr("sensor.speedtest_data", "download").latency.iqm | float )) | round(2) }}' - unit_of_measurement: ms - state_class: measurement +# - name: Speedtest Download Ping +# state: '{{ ((state_attr("sensor.speedtest_data", "download").latency.iqm | float )) | round(2) }}' +# unit_of_measurement: ms +# state_class: measurement - - name: Speedtest Upload Ping - state: '{{ ((state_attr("sensor.speedtest_data", "upload").latency.iqm | float )) | round(2) }}' - unit_of_measurement: ms - state_class: measurement +# - name: Speedtest Upload Ping +# state: '{{ ((state_attr("sensor.speedtest_data", "upload").latency.iqm | float )) | round(2) }}' +# unit_of_measurement: ms +# state_class: measurement - - name: Speedtest Download - state: '{{ ((state_attr("sensor.speedtest_data", "download").bandwidth | int ) * 8 / 1000000) | round(2) }}' - unit_of_measurement: Mbit/s - state_class: measurement +# - name: Speedtest Download +# state: '{{ ((state_attr("sensor.speedtest_data", "download").bandwidth | int ) * 8 / 1000000) | round(2) }}' +# unit_of_measurement: Mbit/s +# state_class: measurement - - name: Speedtest Upload - state: '{{ ((state_attr("sensor.speedtest_data", "upload").bandwidth | int ) * 8 / 1000000) | round(2) }}' - unit_of_measurement: Mbit/s - state_class: measurement +# - name: Speedtest Upload +# state: '{{ ((state_attr("sensor.speedtest_data", "upload").bandwidth | int ) * 8 / 1000000) | round(2) }}' +# unit_of_measurement: Mbit/s +# state_class: measurement diff --git a/utility_meter/internet.yaml b/utility_meter/internet.yaml index bb10dae..99c5d2c 100644 --- a/utility_meter/internet.yaml +++ b/utility_meter/internet.yaml @@ -1,32 +1,32 @@ -internet_usage_yearly_download: - source: sensor.total_download_data - name: Yearly Internet Download Usage - cycle: yearly -internet_usage_yearly_upload: - source: sensor.total_upload_data - name: Yearly Internet Upload Usage - cycle: yearly -internet_usage_monthly_download: - source: sensor.total_download_data - name: Monthly Internet Download Usage - cycle: monthly -internet_usage_monthly_upload: - source: sensor.total_upload_data - name: Monthly Internet Upload Usage - cycle: monthly -internet_usage_daily_download: - source: sensor.total_download_data - name: Daily Internet Download Usage - cycle: daily -internet_usage_daily_upload: - source: sensor.total_upload_data - name: Daily Internet Upload Usage - cycle: daily -internet_usage_hourly_download: - source: sensor.total_download_data - name: Hourly Internet Download Usage - cycle: hourly -internet_usage_hourly_upload: - source: sensor.total_upload_data - name: Hourly Internet Upload Usage - cycle: hourly +# internet_usage_yearly_download: +# source: sensor.total_download_data +# name: Yearly Internet Download Usage +# cycle: yearly +# internet_usage_yearly_upload: +# source: sensor.total_upload_data +# name: Yearly Internet Upload Usage +# cycle: yearly +# internet_usage_monthly_download: +# source: sensor.total_download_data +# name: Monthly Internet Download Usage +# cycle: monthly +# internet_usage_monthly_upload: +# source: sensor.total_upload_data +# name: Monthly Internet Upload Usage +# cycle: monthly +# internet_usage_daily_download: +# source: sensor.total_download_data +# name: Daily Internet Download Usage +# cycle: daily +# internet_usage_daily_upload: +# source: sensor.total_upload_data +# name: Daily Internet Upload Usage +# cycle: daily +# internet_usage_hourly_download: +# source: sensor.total_download_data +# name: Hourly Internet Download Usage +# cycle: hourly +# internet_usage_hourly_upload: +# source: sensor.total_upload_data +# name: Hourly Internet Upload Usage +# cycle: hourly diff --git a/zigbee2mqtt/configuration.yaml b/zigbee2mqtt/configuration.yaml index 54544a4..7e89f14 100644 --- a/zigbee2mqtt/configuration.yaml +++ b/zigbee2mqtt/configuration.yaml @@ -49,6 +49,10 @@ friendly_name: Bryggers Vindue '0xa4c138d2c6cf467b': friendly_name: AirconZigbee + '0xb4e3f9fffe68034a': + friendly_name: PytKnap + '0x8cf681fffe2871c5': + friendly_name: TVBænkKnap availability: active: timeout: 10 diff --git a/zigbee2mqtt/coordinator_backup.json b/zigbee2mqtt/coordinator_backup.json index 3911b9c..2ad73f8 100644 --- a/zigbee2mqtt/coordinator_backup.json +++ b/zigbee2mqtt/coordinator_backup.json @@ -2,9 +2,9 @@ "metadata": { "format": "zigpy/open-coordinator-backup", "version": 1, - "source": "zigbee-herdsman@0.19.0", + "source": "zigbee-herdsman@0.21.0", "internal": { - "date": "2023-10-13T20:04:43.034Z", + "date": "2023-12-02T05:25:46.172Z", "znpVersion": 1 } }, @@ -25,7 +25,7 @@ "network_key": { "key": "01030507090b0d0f00020406080a0c0d", "sequence_number": 0, - "frame_counter": 32694177 + "frame_counter": 37431389 }, "devices": [ { @@ -91,7 +91,7 @@ { "nwk_address": "df63", "ieee_address": "00124b0029209f8c", - "is_child": false, + "is_child": true, "link_key": { "key": "818230c908ff5fd5ddbf9a352b35e3ed", "rx_counter": 0, @@ -99,7 +99,7 @@ } }, { - "nwk_address": "1a0e", + "nwk_address": "cd2a", "ieee_address": "00124b0029203033", "is_child": false, "link_key": { @@ -111,7 +111,7 @@ { "nwk_address": "21a2", "ieee_address": "00124b002920814b", - "is_child": true, + "is_child": false, "link_key": { "key": "ffccf57820f10e2b3570cd241d5bf208", "rx_counter": 0, @@ -121,7 +121,7 @@ { "nwk_address": "4846", "ieee_address": "00124b00292067e9", - "is_child": false, + "is_child": true, "link_key": { "key": "f987289d4d9e4320537b0b57f1a61f1d", "rx_counter": 0, @@ -137,6 +137,26 @@ "rx_counter": 0, "tx_counter": 22 } + }, + { + "nwk_address": "ef29", + "ieee_address": "b4e3f9fffe68034a", + "is_child": true, + "link_key": { + "key": "571388f64bb436e56ab974d581080eb9", + "rx_counter": 0, + "tx_counter": 0 + } + }, + { + "nwk_address": "f96d", + "ieee_address": "8cf681fffe2871c5", + "is_child": true, + "link_key": { + "key": "d95a560f128ceb9c25799cb32ad0d636", + "rx_counter": 4098, + "tx_counter": 10 + } } ] } \ No newline at end of file