[SYS] Increase mqtt username, base topic, otapassword and mqtt password max length (#1757)

fix #1746
This commit is contained in:
Florian authored and GitHub committed 2023-09-24 10:10:06 -05:00
1 parent 592dcd3be6
commit 8a124c8841
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ The gateway will need an MQTT username and password, you have to create a new us
![Home Assistant Auto Discovery](../img/OpenMQTTGateway-Configuration-Home-Assistant.png)
::: warning Note
The max size of the username is 30 and 60 for the password.
The max size of the username and password is 64 characters.
:::
OMG will use the auto discovery functionality of home assistant to create gateway and sensors into your HASS instance automatically.
+4 -4
View File
@@ -22,11 +22,11 @@ Once connected to the WiFi, a web page should appear. On Android, you may also h
* Set your MQTT Server Port (default: 1883)
* Set the MQTT secure connection box to select whether or not the connection should be secure
* Copy/paste the MQTT server certificate in the MQTT server cert box (only required if using a secure connection), be sure to include the `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----` markers
* Set your MQTT Server username (optional)
* Set your MQTT Server password (optional)
* Set your MQTT base topic if you need to change it (you must keep the / at the end) (default: home/)
* Set your MQTT Server username (optional, 64 characters maximum)
* Set your MQTT Server password (optional, 64 characters maximum)
* Set your MQTT base topic if you need to change it (you must keep the / at the end) (default: home/, 64 characters maximum)
* Set your gateway name if you need to change it
* Set your Over The Air password `ota_password`, this password is used for local and remote OTA - it is also the password being used for the WebUI login. (default: OTAPASSWORD)
* Set your Over The Air password `ota_password`, this password is used for local and remote OTA - it is also the password being used for the WebUI login. (default: OTAPASSWORD, 64 characters maximum)
* Click on save