Closed vvrec closed 4 years ago
There is a reset function. Check out the repo esp-HomeKit-demo where Maxim has the examples and look for reset word in the code. You ‘ll see how reset is being called.
On the other hand it would be nice if the firmware could identify situations like that in which user removed the accessory while accessory was shut down and reset its configuration itself.
homekit_storage_reset();
Sorry! I was inattentive. Thank!
If I remove the accessory in the phone application when the board is off, I cannot add it again until reupload the program. Maybe you can add a full reset function from any interruption, or by clicking "reset" on board?