From 24eecc7c9753b938baf1c32c2300c356350a29e3 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 21 Nov 2025 19:14:49 +0100 Subject: [PATCH] Deprecation warnings fixed for esphome 2025.11 --- esphome/atorch-ble-proxy.yaml | 1 + esphome/badezimmer-luft.yaml | 1 + esphome/epaperframe.yaml | 1 + esphome/geigercounter.yaml | 1 + esphome/home-assistant-voice-09c0e7.yaml | 1 + esphome/kamera-balkon.yaml | 4 ++ esphome/kamera-wohnzimmer.yaml | 17 ++++-- esphome/livingroom.yaml | 3 +- esphome/m5stack-atom-echo.yaml | 1 + esphome/raspiaudio-muse-luxe.yaml | 74 +++++++++++++----------- esphome/riden-labornetzteil-18a.yaml | 1 + esphome/riden-labornetzteil-6a.yaml | 1 + esphome/serverroom.yaml | 1 + esphome/sleepingroom.yaml | 4 +- 14 files changed, 71 insertions(+), 40 deletions(-) diff --git a/esphome/atorch-ble-proxy.yaml b/esphome/atorch-ble-proxy.yaml index ede1548..068e461 100644 --- a/esphome/atorch-ble-proxy.yaml +++ b/esphome/atorch-ble-proxy.yaml @@ -44,6 +44,7 @@ wifi: use_address: atorch-dc-load.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/badezimmer-luft.yaml b/esphome/badezimmer-luft.yaml index 4756075..558734e 100644 --- a/esphome/badezimmer-luft.yaml +++ b/esphome/badezimmer-luft.yaml @@ -22,6 +22,7 @@ wifi: use_address: bathroom.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/epaperframe.yaml b/esphome/epaperframe.yaml index 6d37a58..c1d154b 100644 --- a/esphome/epaperframe.yaml +++ b/esphome/epaperframe.yaml @@ -29,6 +29,7 @@ wifi: use_address: epaperframe.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/geigercounter.yaml b/esphome/geigercounter.yaml index 4e6c49c..4c52326 100644 --- a/esphome/geigercounter.yaml +++ b/esphome/geigercounter.yaml @@ -22,6 +22,7 @@ wifi: use_address: ${name}.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/home-assistant-voice-09c0e7.yaml b/esphome/home-assistant-voice-09c0e7.yaml index b07cfdd..920ef4e 100644 --- a/esphome/home-assistant-voice-09c0e7.yaml +++ b/esphome/home-assistant-voice-09c0e7.yaml @@ -14,6 +14,7 @@ wifi: #use_address: ${name}.home #power_save_mode: high #fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/kamera-balkon.yaml b/esphome/kamera-balkon.yaml index eccfc58..67e2ebf 100644 --- a/esphome/kamera-balkon.yaml +++ b/esphome/kamera-balkon.yaml @@ -54,8 +54,12 @@ i2c: sda: GPIO26 scl: GPIO27 +psram: + speed: 80MHz + # Camera esp32_camera: + frame_buffer_location: PSRAM name: ${friendly_name} external_clock: pin: GPIO0 diff --git a/esphome/kamera-wohnzimmer.yaml b/esphome/kamera-wohnzimmer.yaml index a3c5ecf..f08292e 100644 --- a/esphome/kamera-wohnzimmer.yaml +++ b/esphome/kamera-wohnzimmer.yaml @@ -41,16 +41,25 @@ api: ota: platform: esphome password: !secret ota - + +# Initialize I²C +i2c: + - id: bus_c + sda: GPIO26 + scl: GPIO27 + +psram: + speed: 80MHz + # Camera esp32_camera: + frame_buffer_location: PSRAM name: ${friendly_name} external_clock: pin: GPIO0 frequency: 20MHz - i2c_pins: - sda: GPIO26 - scl: GPIO27 + i2c_id: + bus_c data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35] vsync_pin: GPIO25 href_pin: GPIO23 diff --git a/esphome/livingroom.yaml b/esphome/livingroom.yaml index 2f18387..60d7fbf 100644 --- a/esphome/livingroom.yaml +++ b/esphome/livingroom.yaml @@ -60,6 +60,7 @@ wifi: use_address: ${name}.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: @@ -236,7 +237,7 @@ sensor: - platform: adc pin: 34 name: "Spannung Photodiode" - attenuation: 11db + attenuation: 12db update_interval: 1s internal: true on_value_range: diff --git a/esphome/m5stack-atom-echo.yaml b/esphome/m5stack-atom-echo.yaml index 2bbf7ad..79e97e5 100644 --- a/esphome/m5stack-atom-echo.yaml +++ b/esphome/m5stack-atom-echo.yaml @@ -34,6 +34,7 @@ wifi: use_address: ${name}.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Raspiaudio Fallback Hotspot" diff --git a/esphome/raspiaudio-muse-luxe.yaml b/esphome/raspiaudio-muse-luxe.yaml index 0698096..ecd7d48 100644 --- a/esphome/raspiaudio-muse-luxe.yaml +++ b/esphome/raspiaudio-muse-luxe.yaml @@ -31,6 +31,7 @@ wifi: use_address: ${name}.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Raspiaudio Fallback Hotspot" @@ -46,7 +47,7 @@ esphome: board_build.arduino.memory_type: qio_opi project: name: raspiaudio.voice-assistant - version: "2025.2.6" + version: "2025.3.1" on_boot: priority: -100.0 then: @@ -67,6 +68,7 @@ esp32: micro_wake_word: id: mww models: + - model: okay_nabu - model: https://github.com/kahrendt/microWakeWord/releases/download/okay_nabu_20241226.3/okay_nabu.json # - model: hey_jarvis # - model: hey_mycroft @@ -164,16 +166,20 @@ sensor: update_interval: 15s attenuation: auto filters: - - multiply: 2 # https://forum.raspiaudio.com/t/esp-muse-luxe-bluetooth-speaker/294/12 + - multiply: 2 + - calibrate_linear: + - 0.0 -> 0.0 + # Map measured full charge to real value to compensate divider/ADC bias + - 4.58 -> 4.20 - exponential_moving_average: - alpha: 0.2 - send_every: 2 + alpha: 0.2 + send_every: 2 - delta: 0.002 on_value: - then: - - sensor.template.publish: - id: battery_percent - state: !lambda "return x;" + then: + - sensor.template.publish: + id: battery_percent + state: !lambda "return x ;" - platform: template name: Battery @@ -185,32 +191,32 @@ sensor: entity_category: diagnostic update_interval: 15s filters: - - calibrate_polynomial: - degree: 3 - datapoints: - - 4.58 -> 100.0 - - 4.5 -> 97.1 - - 4.47 -> 94.2 - - 4.44 -> 88.4 - - 4.42 -> 82.7 - - 4.41 -> 76.9 - - 4.41 -> 71.1 - - 4.37 -> 65.3 - - 4.35 -> 59.5 - - 4.31 -> 53.8 - - 4.28 -> 48.0 - - 4.26 -> 42.2 - - 4.23 -> 36.4 - - 4.21 -> 30.6 - - 4.19 -> 24.9 - - 4.16 -> 19.1 - - 4.1 -> 13.3 - - 4.07 -> 10.4 - - 4.03 -> 7.5 - - 3.97 -> 4.6 - - 3.82 -> 1.7 - - 3.27 -> 0.0 - - lambda: return clamp(x, 0.0f, 100.0f); + - calibrate_polynomial: + degree: 3 + datapoints: + - 4.20 -> 100.0 + - 4.13 -> 97.1 + - 4.10 -> 94.2 + - 4.07 -> 88.4 + - 4.05 -> 82.7 + - 4.04 -> 76.9 + - 4.04 -> 71.1 + - 4.01 -> 65.3 + - 3.99 -> 59.5 + - 3.95 -> 53.8 + - 3.93 -> 48.0 + - 3.91 -> 42.2 + - 3.88 -> 36.4 + - 3.86 -> 30.6 + - 3.84 -> 24.9 + - 3.82 -> 19.1 + - 3.76 -> 13.3 + - 3.73 -> 10.4 + - 3.70 -> 7.5 + - 3.64 -> 4.6 + - 3.50 -> 1.7 + - 3.00 -> 0.0 + - lambda: return clamp(x, 0.0f, 100.0f); binary_sensor: - platform: gpio diff --git a/esphome/riden-labornetzteil-18a.yaml b/esphome/riden-labornetzteil-18a.yaml index ef75bbb..e798227 100644 --- a/esphome/riden-labornetzteil-18a.yaml +++ b/esphome/riden-labornetzteil-18a.yaml @@ -56,6 +56,7 @@ wifi: use_address: riden-labornetzteil-18a.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/riden-labornetzteil-6a.yaml b/esphome/riden-labornetzteil-6a.yaml index d33a2cc..47cc247 100644 --- a/esphome/riden-labornetzteil-6a.yaml +++ b/esphome/riden-labornetzteil-6a.yaml @@ -56,6 +56,7 @@ wifi: use_address: riden-labornetzteil-6a.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/serverroom.yaml b/esphome/serverroom.yaml index 7444134..2cf24d4 100644 --- a/esphome/serverroom.yaml +++ b/esphome/serverroom.yaml @@ -22,6 +22,7 @@ wifi: use_address: serverroom.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: diff --git a/esphome/sleepingroom.yaml b/esphome/sleepingroom.yaml index d0d414f..010197c 100644 --- a/esphome/sleepingroom.yaml +++ b/esphome/sleepingroom.yaml @@ -59,6 +59,7 @@ wifi: use_address: ${name}.home power_save_mode: high fast_connect: on + min_auth_mode: WPA2 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: @@ -235,7 +236,7 @@ sensor: - platform: adc pin: 32 name: "Spannung Photodiode" - attenuation: 11db + attenuation: 12db update_interval: 1s internal: true on_value_range: @@ -259,6 +260,7 @@ remote_receiver: # IR Transmitter remote_transmitter: + non_blocking: True pin: GPIO22 # Infrared remotes use a 50% carrier signal carrier_duty_percent: 50%