From d0619aa4b662c9920482f7950a6b66d6833376f4 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 1 Sep 2022 15:25:46 +0200 Subject: [PATCH] Enabled encryption, address, fallback hotspot. --- esphome/raspiaudio-muse-luxe.yaml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/esphome/raspiaudio-muse-luxe.yaml b/esphome/raspiaudio-muse-luxe.yaml index f0e012f..a76b4b7 100644 --- a/esphome/raspiaudio-muse-luxe.yaml +++ b/esphome/raspiaudio-muse-luxe.yaml @@ -6,7 +6,28 @@ esphome: name: ${name} name_add_mac_suffix: false - wifi: ssid: !secret wifi_ssid password: !secret wifi_password + use_address: raspiaudio-muse-luxe.home + power_save_mode: high + fast_connect: on + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Raspiaudio Fallback Hotspot" + password: !secret fallback_psk + +# Enable Home Assistant API +api: + password: !secret api + encryption: + key: !secret apikey + +ota: + password: !secret ota + +sensor: +# WiFi signal strength + - platform: wifi_signal + name: "WiFi Signalstärke" + update_interval: 60s