Skip to content
Yurii edited this page Nov 25, 2026 · 6 revisions

Home Assistant

English · Русский

OTGateway exchanges readings and commands with Home Assistant over MQTT. Enabling Discovery creates an OTGateway device and its entities in Home Assistant.

Connection

  1. Connect OTGateway and the Home Assistant MQTT integration to the same broker.
  2. In OTGateway, open Settings → MQTT settings, enable MQTT and Home Assistant Discovery, then save the settings. Leave the discovery prefix at homeassistant unless you changed it in Home Assistant.
  3. In Home Assistant, open Settings → Devices & services → MQTT and select your OTGateway device. Check the available heating and DHW controls, states and sensor readings.

Note

The Wi-Fi RSSI entity is unavailable while Ethernet is active.

Discovery prefix

The default discovery prefix is homeassistant. The prefix in OTGateway's MQTT settings must match the one in the Home Assistant MQTT discovery options.

Discovery refresh after Home Assistant restarts requires its Birth message to use the topic <discovery_prefix>/status and payload online.

After a prefix change, this OTGateway's old retained config messages are cleared from the broker manually.

Report a temperature sensor

This method applies when the indoor or outdoor probe is already connected to Home Assistant, for example through Zigbee.

  1. In the OTGateway sensor settings, select an existing sensor. The defaults are Indoor temp for indoor temperature and Outdoor temp for outdoor temperature. To add a separate sensor, open an unnamed entry and give it a name.

  2. Select Manual via MQTT/API as the source and Indoor temperature or Outdoor temperature as the purpose. Enable the sensor and save its settings.

  3. Import the temperature sensor blueprint into Home Assistant and create an automation from it.

    Import the temperature sensor blueprint

  4. For Source entity, select the sensor entity of the indoor or outdoor probe.

  5. For Target entity, select the number entity OTGateway created for the sensor you chose in step 1.

  6. Check that the source and target use the same temperature unit, then save the automation.

  7. On the OTGateway Dashboard, check that the sensor is connected and its reading matches the source temperature.

Note

The blueprint checks every 30 seconds and periodically resends a steady value so the MANUAL sensor stays connected.

Report outdoor weather temperature

  1. In the OTGateway sensor settings, open Outdoor temp or choose another sensor for outdoor temperature. Select Manual via MQTT/API and the Outdoor temperature purpose. Enable the sensor and save its settings.

    Outdoor temp sensor configured for outdoor temperature with Manual via MQTT/API as its source

  2. Import the weather blueprint into Home Assistant and create an automation from it.

    Import the outdoor temperature blueprint for a weather integration

  3. For Source entity, select the weather entity for your location. The blueprint reads its current temperature attribute.

  4. For Target entity, select the number entity OTGateway created for the sensor in the first step.

  5. Check that the source and target use the same temperature unit, then save the automation.

  6. On the OTGateway Dashboard, check that the sensor is connected and its reading matches the weather integration. You can now use that reading for Equitherm.

DHW meter

The DHW flow rate sensor reports the current hot water flow. The DHW meter package integrates that rate over time and creates a sensor for the volume consumed.

  1. Confirm that the Slave device reports DHW flow rate and that the value rises when a hot tap opens. On the OTGateway device page in Home Assistant, enable the flow entity if it is disabled.

  2. Download the DHW meter package and set its source: field to the actual flow-rate sensor entity ID. The sample uses a flow rate per minute.

  3. Configure the directory for Home Assistant packages. For example, use this path under homeassistant in configuration.yaml.

    homeassistant:
      packages: !include_dir_merge_named packages/dhw_meters
  4. Save the downloaded file as packages/dhw_meters/dhw_meter.yaml, relative to the Home Assistant configuration directory. The supplied file already contains its dhw_meter: package key.

  5. Check the configuration, restart Home Assistant and confirm that the total increases as water runs.

  6. On the Energy dashboard, select the resulting sensor to track water consumption.

Hot water consumption in litres by time of day on the Home Assistant dashboard

Existing dashboards and automations

If a dashboard or automation stops receiving readings after upgrading OTGateway, check the entities it uses.

  1. Find the entity on the device page. If it is disabled, enable it in its settings.
  2. Select its current entity ID in the affected dashboard, automation or DHW meter.

Clone this wiki locally