mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
.
This commit is contained in:
@@ -78,9 +78,10 @@ void sendHomeAssistantDiscoveryTopic(std::string maintopic, std::string group, s
|
|||||||
"\"device\": {" + nl +
|
"\"device\": {" + nl +
|
||||||
"\"identifiers\": [\"" + maintopic + "\"]," + nl +
|
"\"identifiers\": [\"" + maintopic + "\"]," + nl +
|
||||||
"\"name\": \"" + maintopic + "\"," + nl +
|
"\"name\": \"" + maintopic + "\"," + nl +
|
||||||
"\"model\": \"HomeAssistant Discovery for AI on the Edge Device\"," + nl +
|
"\"model\": \"Meter Digitizer\"," + nl +
|
||||||
"\"manufacturer\": \"AI on the Edge Device\"," + nl +
|
"\"manufacturer\": \"AI on the Edge Device\"," + nl +
|
||||||
"\"sw_version\": \"" + version + "\"" + nl +
|
"\"sw_version\": \"" + version + "\"," + nl +
|
||||||
|
"\"configuration_url\": \"http://" + *getIPAddress() + "\"" + nl +
|
||||||
"}" + nl +
|
"}" + nl +
|
||||||
"}" + nl;
|
"}" + nl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user