update modules

This commit is contained in:
proddy
2024-05-26 16:06:18 +02:00
parent 8ffed9fab7
commit 20063d48ed
8 changed files with 65 additions and 26 deletions

View File

@@ -636,15 +636,15 @@ void EMSESPShell::stopped() {
// show welcome banner
void EMSESPShell::display_banner() {
println();
printfln("┌──────────────────────────────────────────");
printfln("│ %sEMS-ESP version %-12s%s ", COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_BOLD_OFF);
printfln(" ");
printfln("│ %shelp%s to show available commands ", COLOR_UNDERLINE, COLOR_RESET);
printfln("│ %ssu%s to access admin commands ", COLOR_UNDERLINE, COLOR_RESET);
printfln(" ");
printfln("│ %s%shttps://github.com/emsesp/EMS-ESP32%s ", COLOR_BRIGHT_GREEN, COLOR_UNDERLINE, COLOR_RESET);
printfln(" ");
printfln("└──────────────────────────────────────────");
printfln("┌───────────────────────────────────────┐");
printfln(" %sEMS-ESP version %-20s%s │", COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_BOLD_OFF);
printfln("│ │");
printfln(" %shelp%s to show available commands │", COLOR_UNDERLINE, COLOR_RESET);
printfln(" %ssu%s to access admin commands │", COLOR_UNDERLINE, COLOR_RESET);
printfln("│ │");
printfln(" %s%shttps://github.com/emsesp/EMS-ESP32%s │", COLOR_BRIGHT_GREEN, COLOR_UNDERLINE, COLOR_RESET);
printfln("│ │");
printfln("└───────────────────────────────────────┘");
println();
// set console name

View File

@@ -75,6 +75,7 @@ TemperatureSensor EMSESP::temperaturesensor_; // Temperature sensors
AnalogSensor EMSESP::analogsensor_; // Analog sensors
Shower EMSESP::shower_; // Shower logic
Preferences EMSESP::nvs_; // NV Storage
ModuleLibrary EMSESP::module_; // Module Library
// static/common variables
uint16_t EMSESP::watch_id_ = WATCH_ID_NONE; // for when log is TRACE. 0 means no trace set
@@ -1645,6 +1646,8 @@ void EMSESP::start() {
#endif
webServer.begin(); // start the web server
module_.setup(this); // setup the external library modules
}
// main loop calling all services

View File

@@ -65,6 +65,10 @@
#include "command.h"
#include "version.h"
// Load external modules
class Module {}; // forward declaration
#include <ModuleLibrary.h>
#define WATCH_ID_NONE 0 // no watch id set
// helpers for callback functions
@@ -218,6 +222,7 @@ class EMSESP {
static RxService rxservice_;
static TxService txservice_;
static Preferences nvs_;
static ModuleLibrary module_;
// web controllers
static ESP8266React esp8266React;

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "3.7.0-dev.11"
#define EMSESP_APP_VERSION "3.7.0-dev.11m"