Skip to main content
Version: 1.0

mDNS

Gen2+ shellies advertise themselves the Multicast Domain Name System (mDNS), also known as Bonjour. Devices advertise two types of services:

  • _http._tcp - a web server serving on port 80. This service is also advertised for Gen1 shellies
  • _shelly._tcp - service instance specific to Gen2+ Shelly devices.

In the TXT record for both services devices include gen=2 or gen=3. This key can be used to distinguish from Gen1 shellies if discovery is done using the _http._tcp service instance.