Skip to content

Commit

Permalink
ha_mqttpassword +1
Browse files Browse the repository at this point in the history
  • Loading branch information
v00g100skr committed Nov 5, 2024
1 parent 5ff58ba commit 079b7df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/src/JaamFirmware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct Settings {
int lightpin = 32;
int ha_mqttport = 1883;
char ha_mqttuser[31] = "";
char ha_mqttpassword[65] = "";
char ha_mqttpassword[66] = "";
char ha_brokeraddress[31] = "";
int current_brightness = 50;
int brightness = 50;
Expand Down Expand Up @@ -2027,7 +2027,7 @@ void handleDev(AsyncWebServerRequest* request) {
addInputText(response, "ha_brokeraddress", "Адреса mqtt Home Assistant", "text", settings.ha_brokeraddress, 30);
addInputText(response, "ha_mqttport", "Порт mqtt Home Assistant", "number", String(settings.ha_mqttport).c_str());
addInputText(response, "ha_mqttuser", "Користувач mqtt Home Assistant", "text", settings.ha_mqttuser, 30);
addInputText(response, "ha_mqttpassword", "Пароль mqtt Home Assistant", "text", settings.ha_mqttpassword, 64);
addInputText(response, "ha_mqttpassword", "Пароль mqtt Home Assistant", "text", settings.ha_mqttpassword, 65);
}
addInputText(response, "ntphost", "Адреса сервера NTP", "text", settings.ntphost, 30);
addInputText(response, "serverhost", "Адреса сервера даних", "text", settings.serverhost, 30);
Expand Down

0 comments on commit 079b7df

Please sign in to comment.