Repository navigation
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.
- Connect OTGateway and the Home Assistant MQTT integration to the same broker.
- In OTGateway, open Settings → MQTT settings, enable MQTT and Home Assistant Discovery, then save the settings. Leave the discovery prefix at
homeassistantunless you changed it in Home Assistant. - 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.
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.
This method applies when the indoor or outdoor probe is already connected to Home Assistant, for example through Zigbee.
-
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.
-
Select Manual via MQTT/API as the source and Indoor temperature or Outdoor temperature as the purpose. Enable the sensor and save its settings.
-
Import the temperature sensor blueprint into Home Assistant and create an automation from it.
-
For Source entity, select the sensor entity of the indoor or outdoor probe.
-
For Target entity, select the number entity OTGateway created for the sensor you chose in step 1.
-
Check that the source and target use the same temperature unit, then save the automation.
-
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.
-
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.

-
Import the weather blueprint into Home Assistant and create an automation from it.
-
For Source entity, select the weather entity for your location. The blueprint reads its current
temperatureattribute. -
For Target entity, select the number entity OTGateway created for the sensor in the first step.
-
Check that the source and target use the same temperature unit, then save the automation.
-
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.
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.
-
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.
-
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. -
Configure the directory for Home Assistant packages. For example, use this path under
homeassistantinconfiguration.yaml.homeassistant: packages: !include_dir_merge_named packages/dhw_meters
-
Save the downloaded file as
packages/dhw_meters/dhw_meter.yaml, relative to the Home Assistant configuration directory. The supplied file already contains itsdhw_meter:package key. -
Check the configuration, restart Home Assistant and confirm that the total increases as water runs.
-
On the Energy dashboard, select the resulting sensor to track water consumption.

If a dashboard or automation stops receiving readings after upgrading OTGateway, check the entities it uses.
- Find the entity on the device page. If it is disabled, enable it in its settings.
- Select its current entity ID in the affected dashboard, automation or DHW meter.