publish auth data as json array
This commit is contained in:
@@ -296,11 +296,6 @@ bool WebCfgServer::processArgs(String& message)
|
||||
_preferences->putBool(preference_keypad_control_enabled, (value == "1"));
|
||||
configChanged = true;
|
||||
}
|
||||
else if(key == "PUBJSON")
|
||||
{
|
||||
_preferences->putBool(preference_publish_json, (value == "1"));
|
||||
configChanged = true;
|
||||
}
|
||||
else if(key == "PRDTMO")
|
||||
{
|
||||
_preferences->putInt(preference_presence_detection_timeout, value.toInt());
|
||||
@@ -618,7 +613,6 @@ void WebCfgServer::buildNukiConfigHtml(String &response)
|
||||
printInputField(response, "KPINT", "Query interval keypad (seconds)", _preferences->getInt(preference_query_interval_keypad), 10);
|
||||
printCheckBox(response, "KPENA", "Enabled keypad control via MQTT", _preferences->getBool(preference_keypad_control_enabled));
|
||||
}
|
||||
printCheckBox(response, "PUBJSON", "Publish additional json state", _preferences->getBool(preference_publish_json));
|
||||
printCheckBox(response, "PUBAUTH", "Publish auth data (May reduce battery life)", _preferences->getBool(preference_publish_authdata));
|
||||
printCheckBox(response, "GPLCK", "Enable control via GPIO", _preferences->getBool(preference_gpio_locking_enabled));
|
||||
printInputField(response, "PRDTMO", "Presence detection timeout (seconds; -1 to disable)", _preferences->getInt(preference_presence_detection_timeout), 10);
|
||||
|
||||
Reference in New Issue
Block a user