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:
- It advertises itself as
_tommy._tcp.localvia mDNS - Broadcasts its IP address and required ports
- Includes metadata like version, startup time, and process ID
When a device starts:
- The device listens for
_tommy._tcp.localbroadcasts - When it detects the advertisement, it extracts the server IP, ports, and service availability
- The device connects automatically
- 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: mdnsSee the ESPHome flashing guide for complete instructions.