@@ -97,13 +97,19 @@ wifi:
9797 for ESP8266 is 20dB, 20.5dB might cause unexpected restarts.
9898
9999- **fast_connect** (*Optional*, boolean): If enabled, directly connects to WiFi network without doing a full scan
100- first. This is required for hidden networks and can significantly improve connection times (thus reducing power
101- consumption). Defaults to `off`.
100+ first. This can significantly improve connection times (thus reducing power consumption). Defaults to `off`.
102101 The downside is that this option connects to the first network the ESP sees, even if that network is very far away and
103102 better ones are available. If multiple networks are configured, the last successfully connected one is tested first.
104103 In case it fails, all networks are then tested one after the other in their declared order, starting with the first
105104 one in the list.
106105
106+ > [!NOTE]
107+ > While `fast_connect` skips the initial scan, if the connection attempt fails, ESPHome will still perform a scan
108+ > to find available networks. For hidden networks, use `hidden: true` on the network configuration (see
109+ > [Connecting to Multiple Networks](#wifi-networks)) to ensure the device always connects without scanning.
110+ > Be aware that marking networks as hidden prevents ESPHome from finding the best access point to connect to,
111+ > so the device may not connect to the AP with the best signal strength.
112+
107113- **min_auth_mode** (*Optional*, string): Only on `esp32` and `esp8266`. Sets the minimum WiFi authentication mode
108114 that the device will accept when connecting to access points. This controls the weakest encryption your device will
109115 allow. Possible values are :
@@ -300,11 +306,27 @@ wifi:
300306- **hidden** (*Optional*, boolean): Whether this network is hidden. Defaults to false.
301307 If you add this option you also have to specify ssid.
302308
309+ > [!TIP]
310+ > Set `hidden: true` if your network does not broadcast its SSID. This ensures the device attempts to connect
311+ > using hidden network mode without first scanning for visible networks. Note that when connecting to a hidden
312+ > network, ESPHome cannot determine which access point has the best signal strength, potentially resulting in
313+ > connections to APs with weaker signals when multiple APs share the same SSID.
314+
303315- **priority** (*Optional*, int): The priority of this network (range: -128 to 127). The network with
304316 the highest priority is chosen. After each connection failure, the priority is decreased by one.
305317 If all tracked BSSIDs have identical priorities, they are automatically reset to 0 to start fresh.
306318 Defaults to `0`.
307319
320+ # ## Example: Connecting to a Hidden Network
321+
322+ ` ` ` yaml
323+ wifi:
324+ networks:
325+ - ssid: MyHiddenNetwork
326+ password: VerySafePassword
327+ hidden: true
328+ ` ` `
329+
308330{{< anchor "eap" >}}
309331
310332# # Enterprise Authentication
0 commit comments