mirror of
https://github.com/arendst/Tasmota.git
synced 2026-06-24 11:18:49 -04:00
Expose the devicetype on mDNS
Add txt field to tell the network this is a tasmota device.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user