From 8667f54729c26fd49a8d24426a8d0fa29e584ac1 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sun, 22 Nov 2020 16:06:11 -0600 Subject: [PATCH] Update CLI.md --- docs/CLI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CLI.md b/docs/CLI.md index cf98420..765e2b9 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -35,8 +35,8 @@ In addition to listening for incoming HAP requests, HomeSpan also continuously p * **d** - print the full HAP Accessory Attributes Database in JSON format * This outputs the full HAP Database in JSON format, exactly as it is transmitted to any HomeKit device that requests it (with the exception of the newlines and spaces that make it easier to read on the screen). Note that the value tag for each Characteristic will reflect the *current* value on the device for that Characteristic. - - +* **W** - configure WiFi Credentials and restart + * HomeSpan sketches *do not* contain WiFi network names or WiFi passwords. Rather, this information is separately stored in a dedicated Non-Volatile Storage (NVS) partition in the ESP32's flash memory, where it is permanently retained until updated (with this command) or erased (see below). When HomeSpan receives this command it first scans for any local WiFi networks. If your network is found, you can specify it by number when prompted for the WiFi SSID. Otherwise, you can directly type your WiFi network name. After you then type your WiFi Password, HomeSpan updates the NVS with these new WiFi Credentials, and [restarts the device](startup-diagnostics).