From 821ab2601e3ca1469e47938045c6a11777768953 Mon Sep 17 00:00:00 2001 From: wtl0 Date: Mon, 27 Jun 2022 00:21:45 +0200 Subject: [PATCH] Readme: Added more (redundant) info n libraries to be installed; Added output on non configured converters in /index.html statistic Target: Avoid pitfalls and open questions for beginners --- tools/esp8266/README.md | 4 ++++ tools/esp8266/app.cpp | 3 +++ 2 files changed, 7 insertions(+) diff --git a/tools/esp8266/README.md b/tools/esp8266/README.md index 18086d4f..f4f9e1c5 100644 --- a/tools/esp8266/README.md +++ b/tools/esp8266/README.md @@ -12,6 +12,10 @@ This code can be compiled using Arduino. The settings were: - Board: Generic ESP8266 Module - Flash-Size: 1MB (FS: none, OTA: 502kB) +- Install libraries (not included in the Arduino IDE 1.8.19): + - Time Arduino Time library (TimeLib.h) + - RF24 Optimized high speed nRF24L01+ driver class documentation + - PubSubClient A client library for MQTT messaging. By Nick O'Leary ### Optional Configuration before compilation diff --git a/tools/esp8266/app.cpp b/tools/esp8266/app.cpp index 7d1c4261..7b0e49fe 100644 --- a/tools/esp8266/app.cpp +++ b/tools/esp8266/app.cpp @@ -636,6 +636,9 @@ void app::showStatistics(void) { content += F("-> last successful transmission: ") + getDateTimeStr(iv->getLastTs()) + "\n"; } } + else { + content += F("Inverter ") + String(i) + F(" not (correctly) configured\n"); + } } if(!mSys->Radio.isChipConnected())