diff --git a/main.cpp b/main.cpp index 502ddb0..a765279 100644 --- a/main.cpp +++ b/main.cpp @@ -11,6 +11,7 @@ #include "NukiOpenerWrapper.h" #include "Gpio.h" #include "Logger.h" +#include "Config.h" Network* network = nullptr; NetworkLock* networkLock = nullptr; @@ -161,6 +162,8 @@ void setup() Serial.begin(115200); Log = &Serial; + Log->print(F("NUKI Hub version ")); Log->println(NUKI_HUB_VERSION); + bool firstStart = initPreferences(); if(preferences->getInt(preference_restart_timer) > 0)