Update CLI.md
This commit is contained in:
parent
ad11016b28
commit
0a3dbb99dc
|
|
@ -59,6 +59,9 @@ In addition to listening for incoming HAP requests, HomeSpan also continuously p
|
|||
* **A** - start the HomeSpan Setup Access Point
|
||||
* This command starts HomeSpan's temporary Access Point, which provides users with an alternate methods for configuring a device's WiFi Credentials and HomeKit Setup Code. Starting the Access Point with this command is identical to starting it via the Control Button. See the [HomeSpan User Guide](UserGuide.md) for complete details.
|
||||
|
||||
* **V** - delete value settings for all saved Characteristics
|
||||
* The state of Characteristics can be saved in the device's NVS for restoration if the power cycles. This command is used to delete all saved data and is useful to run in the event saved Characteristics become out-of-sync with their stored values during the development phase of your sketch when you are adding new Accessories, Services, and Characteristics.
|
||||
|
||||
* **U** - unpair device by deleting all Controller data
|
||||
* This deletes all data stored about Controllers that have been paired with the device, which forces HomeSpan to reset its internal state to unpaired. Normally, unpairing is done by HomeKit at the direction of an end-user via the Home App on an iPhone. However, HomeKit requests to unpair a device are not subject to any confirmation from that device. HomeKit simply assumes that once it requests a device to unpair, the device has received the message and has reset its pairing state accordingly. In the event that HomeKit unpairs a HomeSpan device, but the device does not receive or properly process the request, its pairing status will be out of sync with HomeKit. Forcing HomeKit to reset its internal state to unpaired using this command resolves the issue and allows HomeSpan to be re-paired with HomeKit.
|
||||
* Note that if you run this command when HomeKit thinks it is still paired to the device, pairing status will be out of sync in the opposite direction. HomeKit Controllers will continue to send HAP requests to the device, thinking it is paired, but HomeSpan will ignore all these requests since it no longer recognizes any of the Controllers as being paired. To resolve this issue, you must instruct HomeKit to unpair the device via the Home App, after which you can re-pair the device if needed.
|
||||
|
|
|
|||
Loading…
Reference in New Issue