From 6cf9771dcbedf77b27c96f83707051c0a61c45fc Mon Sep 17 00:00:00 2001 From: c3ma Date: Fri, 16 Oct 2020 20:42:21 +0200 Subject: [PATCH] device is running again --- esp32/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index c2cebec..4da930c 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -335,7 +335,6 @@ void systemInit(){ Homie_setFirmware("PlantControl", FIRMWARE_VERSION); Homie.setLoopFunction(loopHandler); - Homie.setup(); mConfigured = Homie.isConfigured(); @@ -415,6 +414,8 @@ void systemInit(){ // Mode 3 stayAlive.advertise("alive").setName("Alive").setDatatype("number").settable(aliveHandler); } + + Homie.setup(); }