mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 07:26:38 +02:00
Merge branch 'main' of https://github.com/grindylow/ahoy
This commit is contained in:
commit
36fb05a6dd
4 changed files with 10 additions and 1 deletions
|
@ -699,6 +699,8 @@ void app::sendMqttDiscoveryConfig(void) {
|
|||
deviceDoc["name"] = iv->name;
|
||||
deviceDoc["ids"] = String(iv->serial.u64, HEX);
|
||||
deviceDoc["cu"] = F("http://") + String(WiFi.localIP().toString());
|
||||
deviceDoc["mf"] = "Hoymiles";
|
||||
deviceDoc["mdl"] = iv->name;
|
||||
JsonObject deviceObj = deviceDoc.as<JsonObject>();
|
||||
DynamicJsonDocument doc(384);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue