Pour l'endormir : ESP.deepSleep(t)
L'ESP est réveillé par la broche RST à LOW. Il redémarre normalement.
Source : https://www.raspberryme.com/veille-profonde-esp8266-avec-arduino-ide-nodemcu/
Par commande ou évènements.
Source : [https://www.raspberryme.com/solved-reconnectez-lesp8266-nodemcu-au-reseau-wi-fi-apres-une-perte-de-connexion/]