Refactor retry handling (#702)

* add NukiRetryHandler

* apply retry wrapper to opener wrapper

* apply retry wrapper to all opener communication

* apply retry wrapper to all lock communication

* remove commented out code

* replace millis() with espMillis() in wrapper classes
This commit is contained in:
Jan-Ole Schümann
2025-10-05 21:12:29 +07:00
committed by GitHub
parent 778d73cd58
commit e05ff0fdd0
9 changed files with 214 additions and 329 deletions

View File

@@ -806,7 +806,7 @@ bool NukiNetwork::reconnect(bool force)
if (_device->mqttConnected())
{
Log->println("MQTT connected");
_mqttConnectedTs = millis();
_mqttConnectedTs = espMillis();
_mqttConnectionState = 1;
if (esp_task_wdt_status(NULL) == ESP_OK)
{