Skip to content

Commit

Permalink
Merge pull request lumapu#153 from fila612/dev_private
Browse files Browse the repository at this point in the history
Add MF & MDL for MQTT (HASSIO-Discov.) - man. Ver.
  • Loading branch information
lumapu authored Aug 14, 2022
2 parents 3c24542 + 1746492 commit d5d6c74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/esp8266/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,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);

Expand Down

0 comments on commit d5d6c74

Please sign in to comment.