mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
improved mqtt
removed wrong "inverter type can't be detected!" messages repaired NTP and static IP #459 MQTT status about availability and produce are retain messages now
This commit is contained in:
parent
f4c3aea964
commit
0a5833e6ec
11 changed files with 96 additions and 87 deletions
|
@ -63,12 +63,6 @@ class webApi {
|
|||
return (int)(value * 1000 + 0.5) / 1000.0;
|
||||
}
|
||||
|
||||
String ip2String(uint8_t ip[]) {
|
||||
char str[16];
|
||||
snprintf(str, 16, "%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]);
|
||||
return String(str);
|
||||
}
|
||||
|
||||
AsyncWebServer *mSrv;
|
||||
app *mApp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue