I am using esp-IDF library and esp32 for smart lighting. I want to maintain the state of the lights when power goes off as it can be written somewhere in NVS.
Such implementation is available for arduino boards. When I’m trying to do the same for esp32, there is no provision as of now.
My data size is very simple just 3 pins and their statuses.
I tested brownout detector using interruption but it was not quite helpful.
Can someone help me on this?