MQTT Integration
Connect EMS-ESP to your home automation system via MQTT
📊 Published Data
When MQTT is enabled, EMS-ESP will publish MQTT topics for each device. The frequency can be configured from the WebUI to be either sent when data changes are detected or set to a specific period in seconds which is kinder on network traffic.
🔍 MQTT Discovery
When MQTT Discovery is enabled, EMS-ESP will automatically create special Discovery topics (with /config) for each EMS device entity that has received a valid value.
📋 Data Formats
The table below lists the topics being published. The format shown is the MQTT Format as defined in EMS-ESP's settings. Default format is Nested which uses a single topic to show multiple entries in the payload.
📋 MQTT Topics Reference
📤 Using MQTT to Send Commands
🔧 Command Reference
Learn how to use MQTT to send commands to EMS-ESP for controlling your heating system.
View Commands Guide📊 Monitoring MQTT Traffic
🔍 MQTT Explorer
For precise monitoring of MQTT traffic, I suggest using MQTT Explorer. This tool provides a visual interface to monitor all MQTT topics and messages.
💻 Console Commands
Use the console command show mqtt to display the status of the MQTT service, topic subscriptions, and outbound publishing queue.
📈 WebUI Status
In the WebUI you can see the size of the queue and overall stats are available in the Status page.