Update docs for WiFi AP using device name. (#1294)

This commit is contained in:
Jesse Hills 2021-07-09 00:39:44 +12:00 committed by GitHub
parent 9f24bb6018
commit 8c8c6b5433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

View File

@ -51,7 +51,8 @@ Configuration variables:
- **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
no password.
- **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"
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:
Manual IPs