From dd6ed4aea68cb9a64d818b402f501550dd6e0fe1 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 1 Jan 2026 17:48:20 -1000 Subject: [PATCH] [wifi] Add basic post-connect roaming support for stationary devices --- esphome/components/wifi/wifi_component.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/wifi/wifi_component.h b/esphome/components/wifi/wifi_component.h index 71b44960ee..cb02394bd6 100644 --- a/esphome/components/wifi/wifi_component.h +++ b/esphome/components/wifi/wifi_component.h @@ -631,8 +631,8 @@ class WiFiComponent : public Component { #endif // Post-connect roaming constants - static constexpr uint32_t ROAMING_CHECK_INTERVAL = 90 * 1000; // 90s for testing, 5 min for prod - static constexpr int8_t ROAMING_MIN_IMPROVEMENT = 10; // dB + static constexpr uint32_t ROAMING_CHECK_INTERVAL = 5 * 60 * 1000; // 5 minutes + static constexpr int8_t ROAMING_MIN_IMPROVEMENT = 10; // dB static constexpr uint8_t ROAMING_MAX_ATTEMPTS = 3; // Group all 32-bit integers together