Skip to content

Commit

Permalink
Merge pull request #240 from dmytrohoi/patch-1
Browse files Browse the repository at this point in the history
Update ha_mqttpassword length in JaamFirmware.cpp
  • Loading branch information
v00g100skr authored Nov 5, 2024
2 parents 19faa10 + 12a096c commit 5ff58ba
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[51] = "";
char ha_mqttpassword[65] = "";
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, 50);
addInputText(response, "ha_mqttpassword", "Пароль mqtt Home Assistant", "text", settings.ha_mqttpassword, 64);
}
addInputText(response, "ntphost", "Адреса сервера NTP", "text", settings.ntphost, 30);
addInputText(response, "serverhost", "Адреса сервера даних", "text", settings.serverhost, 30);
Expand Down

0 comments on commit 5ff58ba

Please sign in to comment.