From b0c1bfb1560e289d772ff3e1a117c7e4bd873860 Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Mon, 28 Apr 2025 09:12:47 +0200 Subject: [PATCH] Updated disconnect voltage limit --- src/AmsToMqttBridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AmsToMqttBridge.cpp b/src/AmsToMqttBridge.cpp index 56fc7874..671d161b 100644 --- a/src/AmsToMqttBridge.cpp +++ b/src/AmsToMqttBridge.cpp @@ -634,7 +634,7 @@ void loop() { #if defined(ESP32) // At this point, if the voltage is not optimal, disconnect from WiFi to preserve power - if(!hw.isVoltageOptimal(0.4)) { + if(!hw.isVoltageOptimal(0.35)) { if(WiFi.getMode() == WIFI_STA) { debugW_P(PSTR("Vcc dropped below limit, disconnecting WiFi for 5 seconds to preserve power")); ch->disconnect(5000);