need help with deep sleep:
My goal is:
to put ESP8266 into deep sleep (Wemos D1 mini)
My actions are:
Successfully build and flash ESP8266, software is running, it send some data to Google IOT cloud, every thing is working including deep sleep functionality.
To be able to wake up from deep sleep with built in RTC, I need to connect pin GPIO16 to RESET pin. If these two pins are connected during power on boot, I think that “factory reset” is performed and I loose all wifi and MQTT settings. conf9.json is “wipe out”.
My expectation & question is:
How can avoid that?
Assign a different pin to
debug.factory_reset_gpio? How? Currently pin is set to “-1”.
Where to put wifi and MQTT config? In some vendor config file? How to do this?
Any guide out there on how to manage/learn this topics?