Skip to content

Commit

Permalink
Extend MQTT password length to 127 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
lk3de authored and steff393 committed Mar 24, 2024
1 parent f3471ca commit 07a5855
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/cfg.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const descObj = {
cfgMqttIp :"MQTT-Broker: IP-Adresse, z.B. 192.168.178.123",
cfgMqttLp :"MQTT: Zuordnung der Ladepunkte, s. Wiki, z.B. 1 oder 1,2,3",
cfgMqttPort :"MQTT-Broker: Port ",
cfgMqttUser :"MQTT-Broker: Username (wenn nötig)",
cfgMqttPass :"MQTT-Broker: Passwort (wenn nötig)",
cfgMqttUser :"MQTT-Broker: Username (wenn nötig, max. 31 Zeichen)",
cfgMqttPass :"MQTT-Broker: Passwort (wenn nötig, max. 127 Zeichen)",
cfgMqttWattTopic :"MQTT: Topic, um den Wert Bezug/Einspeisung zu empfangen",
cfgMqttWattJson :"MQTT: Suchstring, um den Wert Bezug/Einspeisung zu finden",
cfgNtpServer :"NTP-Server",
Expand Down
2 changes: 1 addition & 1 deletion src/globalConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ uint16_t cfgFailsafeCurrent; // <don't use - still beta> Reg. 262: Fail
char cfgMqttIp[16]; // IP address of MQTT broker, "" to disable MQTT
uint16_t cfgMqttPort; // Port of MQTT broker (optional)
char cfgMqttUser[32]; // MQTT: Username
char cfgMqttPass[32]; // MQTT: Password
char cfgMqttPass[128]; // MQTT: Password
uint8_t cfgMqttLp[WB_CNT]; // Array with assignments to openWB loadpoints, e.g. [4,2,0,1]: Box0 = LP4, Box1 = LP2, Box2 = no MQTT, Box3 = LP1
char cfgMqttWattTopic[60]; // MQTT: Topic for setting the watt value for PV charging, default: "wbec/pv/setWatt"
char cfgMqttWattJson[30]; // MQTT: Optional: Element in a JSON string, which contains the power in watt, default: ""
Expand Down
2 changes: 1 addition & 1 deletion src/globalConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extern uint16_t cfgFailsafeCurrent; // <don't use - still beta> Reg. 26
extern char cfgMqttIp[16]; // IP address of MQTT broker, "" to disable MQTT
extern uint16_t cfgMqttPort; // Port of MQTT broker (optional)
extern char cfgMqttUser[32]; // MQTT: Username
extern char cfgMqttPass[32]; // MQTT: Password
extern char cfgMqttPass[128]; // MQTT: Password
extern uint8_t cfgMqttLp[WB_CNT]; // Array with assignments to openWB loadpoints, e.g. [4,2,0,1]: Box0 = LP4, Box1 = LP2, Box2 = no MQTT, Box3 = LP1
extern char cfgMqttWattTopic[60]; // MQTT: Topic for setting the watt value for PV charging, default: "wbec/pv/setWatt"
extern char cfgMqttWattJson[30]; // MQTT: Optional: Element in a JSON string, which contains the power in watt, default: ""
Expand Down

0 comments on commit 07a5855

Please sign in to comment.