mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
Update docs for WiFi AP using device name. (#1294)
This commit is contained in:
parent
9f24bb6018
commit
8c8c6b5433
@ -51,7 +51,8 @@ Configuration variables:
|
|||||||
|
|
||||||
- **ap** (*Optional*): Enable an access point mode on the node.
|
- **ap** (*Optional*): Enable an access point mode on the node.
|
||||||
|
|
||||||
- **ssid** (**Required**, string): The name of the access point to create.
|
- **ssid** (*Optional*, string): The name of the access point to create. Leave empty to use
|
||||||
|
the device name.
|
||||||
- **password** (*Optional*, string): The password for the access point. Leave empty for
|
- **password** (*Optional*, string): The password for the access point. Leave empty for
|
||||||
no password.
|
no password.
|
||||||
- **channel** (*Optional*, int): The channel the AP should operate on from 1 to 14.
|
- **channel** (*Optional*, int): The channel the AP should operate on from 1 to 14.
|
||||||
@ -95,6 +96,20 @@ to the WiFi router can be made.
|
|||||||
ssid: "Livingroom Fallback Hotspot"
|
ssid: "Livingroom Fallback Hotspot"
|
||||||
password: "W1PBGyrokfLz"
|
password: "W1PBGyrokfLz"
|
||||||
|
|
||||||
|
You can also create a simple ``ap`` config which will set up the access point to have the
|
||||||
|
devices name as the ssid with no password.
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ap: {}
|
||||||
|
|
||||||
|
# or if you still want the ap to have a password
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ap:
|
||||||
|
password: "W1PBGyrokfLz"
|
||||||
|
|
||||||
.. _wifi-manual_ip:
|
.. _wifi-manual_ip:
|
||||||
|
|
||||||
Manual IPs
|
Manual IPs
|
||||||
|
Loading…
Reference in New Issue
Block a user