mDNS - xoseperez/espurna GitHub Wiki

mDNS

Configuration

Configuration key Build flag Description
MDNS_SERVER_SUPPORT (default:1) Enables additional ESPurna-specific values under the _arduino._tcp
MDNS_CLIENT_SUPPORT (default:0) Legacy option! Enables mDNS resolution for the MQTT broker. This option is no longer required when using Arduino Core version 2.5.2 and up

Additional notes

When using MQTT_SUPPORT and MQTT_AUTOCONNECT, if MDNS_SERVER_SUPPORT is enabled, the device will try to search the local network for the _mqtt._tcp service. If found, it will be automatically connected to and saved into the persistent configuration.

When MDNS_SERVER_SUPPORT is enabled, ota.py script can be used to find devices on the current network.