diff --git a/README.md b/README.md index f17ee83..e235e31 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Just enable pairing mode on the NUKI lock and power on the ESP32. Pairing should - lock/state: Reports the current lock state as a string. Possible values are: uncalibrated, locked, unlocked, unlatched, unlockedLnga, unlatching, bootRun, motorBlocked - lock/trigger: The trigger of the last action: autoLock, automatic, button, manual, system - lock/completionStatus: Status of the last action as reported by NUKI lock (needs bluetooth connection): success, motorBlocked, canceled, tooRecent, busy, lowMotorVoltage, clutchFailure, motorPowerFailure, incompleteFailure, invalidCode, otherError, unknown +- lock/authorizationId: If enabled in the web interface, this node returns the authorization id of the last lock action +- lock/authorizationName: If enabled in the web interface, this node returns the authorization name of the last lock action - lock/commandResult: Result of the last action as reported by NUKI library: success, failed, timeOut, working, notPaired, error, undefined - lock/doorSensorState: State of the door sensor: unavailable, deactivated, doorClosed, doorOpened, doorStateUnknown, calibrating diff --git a/WebCfgServer.cpp b/WebCfgServer.cpp index fdddd62..c742c2b 100644 --- a/WebCfgServer.cpp +++ b/WebCfgServer.cpp @@ -267,7 +267,7 @@ void WebCfgServer::buildHtml(String& response) printInputField(response, "HOSTNAME", "Host name", _preferences->getString(preference_hostname).c_str(), 100); printInputField(response, "LSTINT", "Query interval lock state (seconds)", _preferences->getInt(preference_query_interval_lockstate), 10); printInputField(response, "BATINT", "Query interval battery (seconds)", _preferences->getInt(preference_query_interval_battery), 10); - printCheckBox(response, "PUBAUTH", "Publish auth data", _preferences->getBool(preference_publish_authdata)); + printCheckBox(response, "PUBAUTH", "Publish auth data (May reduce battery life)", _preferences->getBool(preference_publish_authdata)); printInputField(response, "PRDTMO", "Presence detection timeout (seconds, -1 to disable)", _preferences->getInt(preference_presence_detection_timeout), 10); response.concat("");