add prefix

This commit is contained in:
Dmitry Borisenko
2020-03-21 18:14:38 +01:00
parent ef92865886
commit 96e207676f
12 changed files with 83 additions and 65 deletions

View File

@@ -29,7 +29,7 @@ void setup() {
jsonWrite(configSetup, "firmware_version", firmware_version);
prex = prefix + "/" + chipID;
prex = jsonRead(configSetup, "mqttPrefix") + "/" + chipID;
Serial.println(chipID);
//--------------------------------------------------------------
CMD_init();