Hi, today i have made esp8266 based temp sensor. I have enabled deep sleep and it works buti cannot change deep sleep interval. Regardless of what interval I set it wakes up fter 5 min. Is there solution to it? Did any of you guys encouter similar problem? Im o the latest esphome. Sensor I am using is some bmp280 I think. I would be grateful for help.
Without knowing your code for that sensor in ESPHome, we cannot help.
Also “latest version” is not a version 2022.3.1 should be the version right now.
I have no idea if this would work, but maybe use a numeric helper entity in Home Assistant and then a value template in the ESPHome code. That’s the limit of my knowledge.
OK, I thought you were trying to dynamically change the sleep time.
Are you sure the ESP is going to sleep? Just watch the device in ESPHome panel and watch if it actually goes to sleep.
Through Vin, it should be OK. But, when the ESP is powering the WiFi transceiver it can draw 200mA, sucking the battery pretty fast. Is the sensor powered all the time? You wouldn’t know if the reboot is from the GPIO16-RST or the battery low because reboot is what waking from deep-sleep does.
Try powering it from a USB supply to rule that out.
I am not ready to suggest a different processor board, but if you have a few handy, then it can’t hurt.