https://iotcircuithub.com/nodemcu-iot-project-save-last-gpio-state/
NodeMCU IoT Project with Save Last GPIO State