Expose the devicetype on mDNS

Add txt field to tell the network this is a tasmota device.
This commit is contained in:
Micke Prag 2020-10-26 14:07:08 +01:00
parent d3559d7466
commit db0fb54bc5
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ void MdnsAddServiceHttp(void) {
if (1 == Mdns.begun) {
Mdns.begun = 2;
MDNS.addService("http", "tcp", WEB_PORT);
MDNS.addServiceTxt("http", "tcp", "devicetype", "tasmota");
}
}