Open noeldtz opened 1 year ago
Not a dev on the project, and randomly stumbled upon this issue. Having said that, there's probably a couple questions worth asking:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I came here to ask a similar question and I've found yours. For me the power consumption is even higher at 1.77mA, but I think I've found a possible cause. It looks like the wifi doesn't sleep properly. If I call "wifi.disable" before "deep_sleep.enter" the power consumption goes down to 0.2mA. Can you check if it's the same for you?
The problem
hi all,
i made a battery-powered air quality sensor, using BME680 with ESP32 (Firebeetle DFR0654). The ESP32 is powered by 2 LiFePO in parallel directly connected to the 3v pin of the board. The sensor wakes up every 90 seconds, dumps sensor values to MQTT and goes back to sleep again. During deep sleep, the board is supposed to consume power in the micro-amps range, but when measuring this myself with a multimeter, it consistently consumes about 1.3 mA. This power consumption is too high for a long-term battery powered device as the battery will be drained within a few weeks. I tried to find a solution to this and i came across one in #1668 where they suggest that the issue is related to the fact that the ADC is not powered off before the device enters deep sleep. They also suggest to somehow include the adc_power_off function into the project (either by modifying the deep sleep component of esphome, or by creating a custom component). As i have installed ESPhome and home assistant with docker-compose, i'm a little clueless on where to find the deep_sleep component in order to be able to patch it in. I'm also not experienced enough to create a custom component yet, so i would really appreciate if someone would be able to help me with this.
Thanks!!
Which version of ESPHome has the issue?
2023.4.4
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2023.5.2
What platform are you using?
ESP32
Board
Firebeetle DFR0654
Component causing the issue
deep_sleep
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response