mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
запустил dashboard
This commit is contained in:
@@ -12,6 +12,11 @@ bool fileSystemInit() {
|
||||
void globalVarsSync() {
|
||||
settingsFlashJson = readFile(F("settings.json"), 4096);
|
||||
settingsFlashJson.replace("\r\n", "");
|
||||
|
||||
mqttPrefix = jsonReadStr(settingsFlashJson, F("mqttPrefix"));
|
||||
mqttRootDevice = mqttPrefix + "/" + chipId;
|
||||
jsonWriteStr_(settingsFlashJson, "root", mqttRootDevice);
|
||||
saveSettingsFlashJson();
|
||||
}
|
||||
|
||||
void saveSettingsFlashJson() {
|
||||
|
||||
Reference in New Issue
Block a user