fix pairing

This commit is contained in:
technyon
2022-04-02 16:09:56 +02:00
parent abea094b08
commit 9792110461
3 changed files with 4 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ void NukiWrapper::update()
if (!_paired) {
Serial.println(F("Nuki start pairing"));
_bleScanner.update();
vTaskDelay( 5000 / portTICK_PERIOD_MS);
if (_nukiBle.pairNuki()) {
Serial.println(F("Nuki paired"));
_paired = true;