Plugins disabled due to brown out on battery power

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
flashmark
New user
Posts: 6
Joined: 17 Feb 2018, 20:14

Plugins disabled due to brown out on battery power

#1 Post by flashmark » 30 May 2024, 20:57

I am using ESPeasy on an esp32 board with a lithium battery and a small solar charger. The module uses deepsleep between measurements.
The sensor is a cheap capacitive soil moisture sensor. As the sensors draws some power it is switched on only during measurement. All arranged using rules and some timers.
Problem arises when the battery is almost empty. It is difficult to measure, but I assume that the ESP stops when the sensor is powered on. As a result the boot fails. This repeats some time and ESPeasy concludes "something is wrong" and disables plugins, controllers and rules. As a result the module will not work anymore when the sun charged the battery. I expect this to happen during winter, but during that time I also don't care about soil moisture.

I found the code that is disabling the plugins when boot has failed some times. When I switch this code off the module is working as expected.
Question: is it possible/desired to make this a feature that can be switched during the build using a #define configured in custom.h? I can make a pull request if it is seen as an enhancement for ESPeasy.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 23 guests