From 0ba1fe8457021f271e8aae167592225e56115718 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 2 Jan 2026 23:51:02 -1000 Subject: [PATCH] -49 is the boundray for excellent --- esphome/components/wifi/wifi_component.cpp | 2 +- esphome/components/wifi/wifi_component.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index 4a153859cb..6de7c408f4 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -159,7 +159,7 @@ static const char *const TAG = "wifi"; /// │ ↓ │ /// │ attempts++, update last_check │ /// │ ↓ │ -/// │ RSSI > -55 dBm? ────Yes────→ Skip scan (signal good)──────┐ │ +/// │ RSSI > -49 dBm? ────Yes────→ Skip scan (excellent signal)─┐ │ /// │ ↓ No │ │ /// │ ┌─────────────────┐ │ │ /// │ │ Start scan │ │ │ diff --git a/esphome/components/wifi/wifi_component.h b/esphome/components/wifi/wifi_component.h index 429e344386..9b2bcf221f 100644 --- a/esphome/components/wifi/wifi_component.h +++ b/esphome/components/wifi/wifi_component.h @@ -615,7 +615,7 @@ class WiFiComponent : public Component { // Post-connect roaming constants static constexpr uint32_t ROAMING_CHECK_INTERVAL = 5 * 60 * 1000; // 5 minutes static constexpr int8_t ROAMING_MIN_IMPROVEMENT = 10; // dB - static constexpr int8_t ROAMING_GOOD_RSSI = -55; // Skip scan if better than this + static constexpr int8_t ROAMING_GOOD_RSSI = -49; // Skip scan if signal is excellent static constexpr uint8_t ROAMING_MAX_ATTEMPTS = 3; // Group all 32-bit integers together