TOMMY
Device Discovery

Automatic (mDNS)

The device discovers your TOMMY server via mDNS on your local network. Requires that multicast traffic reaches the device.

How It Works

When the TOMMY server starts:

  1. It advertises itself as _tommy._tcp.local via mDNS
  2. Broadcasts its IP address and required ports
  3. Includes metadata like version, startup time, and process ID

When a device starts:

  1. The device listens for _tommy._tcp.local broadcasts
  2. When it detects the advertisement, it extracts the server IP, ports, and service availability
  3. The device connects automatically
  4. It appears in the TOMMY dashboard within seconds

Requirements

  • TOMMY server and devices must be on the same network
  • Network infrastructure must allow multicast traffic

Configuring Devices

TOMMY Flasher

During provisioning, select Automatic (mDNS) as the discovery mode. No additional configuration is needed.

See the TOMMY Flasher guide for complete instructions.

ESPHome

Add the following to your sensor_tommy config:

sensor_tommy:
  discovery: mdns

See the ESPHome flashing guide for complete instructions.