diff --git a/tools/esp8266/hmInverter.h b/tools/esp8266/hmInverter.h index 2d669a11..08b13c80 100644 --- a/tools/esp8266/hmInverter.h +++ b/tools/esp8266/hmInverter.h @@ -265,7 +265,7 @@ class Inverter { } } else if (rec->assign == InfoAssignment) { - DPRINTLN(DBG_INFO, "add info"); + DPRINTLN(DBG_DEBUG, "add info"); // get at least the firmware version and save it to the inverter object if (getPosByChFld(0, FLD_FW_VERSION, rec) == pos){ fwVersion = rec->record[pos]; @@ -273,7 +273,7 @@ class Inverter { } } else if (rec->assign == SystemConfigParaAssignment) { - DPRINTLN(DBG_INFO, "add config"); + DPRINTLN(DBG_DEBUG, "add config"); // get at least the firmware version and save it to the inverter object if (getPosByChFld(0, FLD_ACT_PWR_LIMIT, rec) == pos){ actPowerLimit = rec->record[pos]; @@ -281,7 +281,7 @@ class Inverter { } } else if (rec->assign == AlarmDataAssignment) { - DPRINTLN(DBG_INFO, "add alarm"); + DPRINTLN(DBG_DEBUG, "add alarm"); if (getPosByChFld(0, FLD_LAST_ALARM_CODE, rec) == pos){ lastAlarmMsg = getAlarmStr(rec->record[pos]); } diff --git a/tools/esp8266/webApi.cpp b/tools/esp8266/webApi.cpp index 1bf8ae53..f96ff2de 100644 --- a/tools/esp8266/webApi.cpp +++ b/tools/esp8266/webApi.cpp @@ -108,6 +108,10 @@ void webApi::getNotFound(JsonObject obj, String url) { ep[F("index")] = url + F("index"); ep[F("setup")] = url + F("setup"); ep[F("live")] = url + F("live"); + ep[F("record/info")] = url + F("record/info"); + ep[F("record/alarm")] = url + F("record/alarm"); + ep[F("record/config")] = url + F("record/config"); + ep[F("record/live")] = url + F("record/live"); }