mirror of
https://github.com/OMGeeky/homecontrol.esp-sensors.git
synced 2026-01-04 18:43:49 +01:00
Battery drain when MQTT-Broker is not reachable #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OMGeeky on GitHub (Jun 2, 2025).
@jetbrains-junie suggest a strategy to keep battery consumption low if the server is not reachable continuously but make sure it reconnects at some point (at least 4 tries per day). Consider that after each cycle the esp32 goes into deep sleep to consume less power, so memory is mostly reset
@OMGeeky commented on GitHub (Jun 7, 2025):
@jetbrains-junie
@jetbrains-junie[bot] commented on GitHub (Jun 7, 2025):
Hey, it’s Junie by JetBrains! I started processing your request 🚀
@jetbrains-junie[bot] commented on GitHub (Jun 7, 2025):
The reconnection strategy was implemented to ensure at least four connection attempts per day while conserving battery life through state persistence in a configuration file.