Browse Source

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
pull/82/head
wtl0 3 years ago
parent
commit
821ab2601e
  1. 4
      tools/esp8266/README.md
  2. 3
      tools/esp8266/app.cpp

4
tools/esp8266/README.md

@ -12,6 +12,10 @@ This code can be compiled using Arduino. The settings were:
- Board: Generic ESP8266 Module - Board: Generic ESP8266 Module
- Flash-Size: 1MB (FS: none, OTA: 502kB) - 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 ### Optional Configuration before compilation

3
tools/esp8266/app.cpp

@ -636,6 +636,9 @@ void app::showStatistics(void) {
content += F("-> last successful transmission: ") + getDateTimeStr(iv->getLastTs()) + "\n"; content += F("-> last successful transmission: ") + getDateTimeStr(iv->getLastTs()) + "\n";
} }
} }
else {
content += F("Inverter ") + String(i) + F(" not (correctly) configured\n");
}
} }
if(!mSys->Radio.isChipConnected()) if(!mSys->Radio.isChipConnected())

Loading…
Cancel
Save