I would like to use ESPHome to power an ESP8266 or ESP32 variant in ultra-low power mode that will wake up every X minutes, read a couple of sensors, transmit the values over WiFi to HA and then go back to ultra lower power sleep for the Next X minutes.
Is ESPHome capable of doing this – an in particular going into deep sleep, minimum power mode?
Which ESP8266 or ESP32 is best at low power for this application?
Have you searched the forums at all for this info?
Yes, ESPHome is capable of this, but most boards aren’t optimized for this at all. If you search, you’ll find multiple threads where folks have discussed this on the past and mention boards they’ve had good luck with.
Define minimum.
Esphome is not optimized for this. So if you are looking for some multi years battery life with 2AAA, forget about it.
Instead post your sleep /wake cycle and the battery type/battery life you are after.
If you are talking sending sensor readings by wifi you will need to keep the esp running for probably just over 6 seconds. Lower the ouput power as much as possible. If you intend to run it several times a day the cell will not last years but possibly days to weeks. You will need to top up your cell by alternative power method like solar. Occasional door sensors yeah perhaps for years if you use a soft latching method. Or have you cracked this problem in general of power use.? I’m always looking to squeeze a little more out of my cell. I can run a temp sensor every 5min on a 420mAh cell with a 90x30mm solar panel year round outside at 54 degrees latitude.