Skip to content

Commit

Permalink
WebUI - First Release (#1586)
Browse files Browse the repository at this point in the history
* WebUI - First Release

* Lint / Build Issues

* Add WebUI as a default module

* Fix ESP8266 builds

[WebUI] Small WebUI design changes (#1594)

• Display view with fixed height and light text on dark background and content centred
• Non-breaking spaces used for MAC part in heading

[WebUI] Add Configure MQTT and Logging (#1592)

* Configure MQTT and Loggin

* Configure MQTT speed up

* Lint
  • Loading branch information
NorthernMan54 authored and DigiH committed Apr 10, 2023
1 parent bf004b0 commit 1053beb
Show file tree
Hide file tree
Showing 12 changed files with 2,018 additions and 612 deletions.
8 changes: 8 additions & 0 deletions main/User_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,9 @@ CRGB leds2[FASTLED_IND_NUM_LEDS];
# endif
#endif

/*-----------PLACEHOLDERS FOR WebUI DISPLAY--------------*/
#define pubWebUI(...) // display the published message onto the OLED display

/*-----------PLACEHOLDERS FOR OLED/LCD DISPLAY--------------*/
// The real definitions are in config_M5.h / config_SSD1306.h
#define pubOled(...) // display the published message onto the OLED display
Expand All @@ -675,6 +678,11 @@ CRGB leds2[FASTLED_IND_NUM_LEDS];
char mqtt_topic[parameters_size + 1] = Base_Topic;
char gateway_name[parameters_size + 1] = Gateway_Name;

void connectMQTT();
#ifndef ESPWifiManualSetup
void saveMqttConfig();
#endif

unsigned long uptime();
bool cmpToMainTopic(const char*, const char*);
void pub(const char*, const char*, bool);
Expand Down
Loading

0 comments on commit 1053beb

Please sign in to comment.