The sleep states of the ESP32
For the ESP8266 see here. Both ESP-IDF and the Arduino core are still very unstable, again (as with the ESP8266) with the Arduino core being seemingly more mature. (Wire.begin() worked out of the box while I couldn’t get i2c_master_cmd_begin() to work properly.) This is especially true for the power management functions, so…