mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 01:48:19 +02:00
updated REST API and MQTT to use the same functionality
added heap as MQTT publish updated User_Manual.md to latest changes development build will have now always the same name because of static link from https://ahoydtu.de
This commit is contained in:
parent
573bd31f0a
commit
b1946df32f
13 changed files with 272 additions and 350 deletions
|
@ -25,6 +25,8 @@ class webApi {
|
|||
return mTimezoneOffset;
|
||||
}
|
||||
|
||||
void ctrlRequest(JsonObject obj);
|
||||
|
||||
private:
|
||||
void onApi(AsyncWebServerRequest *request);
|
||||
void onApiPost(AsyncWebServerRequest *request);
|
||||
|
@ -57,8 +59,6 @@ class webApi {
|
|||
bool setCtrl(JsonObject jsonIn, JsonObject jsonOut);
|
||||
bool setSetup(JsonObject jsonIn, JsonObject jsonOut);
|
||||
|
||||
Inverter<> *getInverter(JsonObject jsonIn, JsonObject jsonOut);
|
||||
|
||||
double round3(double value) {
|
||||
return (int)(value * 1000 + 0.5) / 1000.0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue