Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 Async Webserver #107

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
259 changes: 133 additions & 126 deletions tools/esp8266/app.cpp

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions tools/esp8266/app.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,20 @@ class app : public Main {
bool buildPayload(uint8_t id);
void processPayload(bool retransmit);

void showFavicon(void);
void showIndex(void);
void showSetup(void);
void showSave(void);
void showErase(void);
void showStatistics(void);
void showHoymiles(void);
void showLiveData(void);
void showJSON(void);
void webapi(void);


void saveValues(bool webSend);
void showFavicon(AsyncWebServerRequest *request);
void showIndex(AsyncWebServerRequest *request);
void showSetup(AsyncWebServerRequest *request);
void showSave(AsyncWebServerRequest *request);
void showErase(AsyncWebServerRequest *request);
void showStatistics(AsyncWebServerRequest *request);
void showHoymiles(AsyncWebServerRequest *request);
void showLiveData(AsyncWebServerRequest *request);
void showJSON(AsyncWebServerRequest *request);
void devControl(AsyncWebServerRequest *request);
void webapi(AsyncWebServerRequest *request);


void saveValues(AsyncWebServerRequest *request, bool webSend);
void updateCrc(void);
void sendMqttDiscoveryConfig(void);
const char* getFieldDeviceClass(uint8_t fieldId);
Expand Down
194 changes: 0 additions & 194 deletions tools/esp8266/favicon.h

This file was deleted.

Binary file added tools/esp8266/html/ahoy_logo_57x57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading