connect to configured mqtt broker

This commit is contained in:
technyon
2022-03-27 10:20:23 +02:00
parent 5941a98f7e
commit ba864e0b67
7 changed files with 52 additions and 23 deletions

View File

@@ -38,8 +38,8 @@ void setup()
{
preferences = new Preferences();
preferences->begin("nukihub", false);
network = new Network();
webCfgServer = new WebCfgServer();
network = new Network(preferences);
webCfgServer = new WebCfgServer(preferences);
nuki = new Nuki("Main Door", 2020001, network);
network->initialize();