Faikin Oyu — MQTT manual
Faikin Australia
A complete guide to controlling and monitoring a Daikin Altherma through the Faikin Oyu over MQTT, from first setup through to the full topic, command and sensor reference, including how to work out your real COP in Home Assistant.
This covers the Faikin Oyu fitted to the P1P2 USER INTERFACE terminals of a Daikin Altherma 2 or Altherma 3, split, monobloc or hybrid. Throughout, the example base topic is oyu/altherma and the example broker IP is 192.168.1.10. Replace both with your own.
Written November 2026 for the current firmware (3.9.x). If your module is on older firmware, update it from its own web page (Firmware Upgrade) first.
This is not the same MQTT interface as the Faikin Faikout. The Oyu runs different firmware with a different topic layout, so automations written for a Faikout will not carry over. It shares its topic layout with the Faikin Ninja, so if you already have a Ninja, the shape will be familiar: the heat pump controls and sensors are what differ. If you are looking for the Ninja reference, see the Faikin Ninja P1P2 MQTT manual.
On this page
- 1. What MQTT gives you
- 2. Before you start
- 3. Step 1: Point the Oyu at your MQTT broker
- 4. Step 2: Confirm it is connected
- 5. The topic structure
- 6. Sending commands
- 7. Reading status
- 8. Working out your COP
- 9. Home Assistant over MQTT
- 10. Other platforms
- 11. System management and options
- 12. Sensor reference
- 13. Troubleshooting
- 14. Quick reference cheat sheet
1. What MQTT gives you
The Oyu's built-in web page is for setup and diagnostics. MQTT is how you actually use it.
- Your heat pump in your own home automation. Home Assistant picks the Oyu up automatically and gives you the space heating setpoint, the hot water setpoint, hot water boost and every reading the Altherma carries on its bus.
- Real instrumentation. Leaving, return and mixed water temperatures, water flow, tank temperature, outside temperature, compressor frequency, electrical power and the energy consumed and produced counters. Most of this is buried in the installer menus on the wall controller, if it is visible at all.
- COP without a separate meter. The Altherma keeps its own counters for electricity consumed and heat produced. Divide one by the other and you have your coefficient of performance, per day, per mode, from data the heat pump already had.
- Automation. The classic one is raising the hot water setpoint when solar export is high and dropping it back in the evening, so the tank soaks up power you would otherwise sell for a few cents.
- It stays local. MQTT runs on your own broker on your own network. Nothing leaves the house and there is no account to create. The wall controller keeps working exactly as before, and if the Oyu, your WiFi or your broker goes down, the heat pump does not notice.
2. Before you start
You need three things.
- The Oyu wired in and on your WiFi, reachable at its own web page. If it is not, do the Oyu installation guide first.
- An MQTT broker on your network. If you are running Home Assistant, install the Mosquitto broker add-on; it takes a few minutes and gives you a broker plus a username and password. Otherwise any Mosquitto or compatible broker on a machine that stays on will do.
- The broker's IP address, username and password.
You do not need Home Assistant to use MQTT, and you do not need MQTT to use Home Assistant. They are separate choices that happen to work well together.
One more thing to know before you build anything. Only the readings your Altherma actually carries will appear. A system with no hot water tank reports no tank temperature, a hybrid adds gas boiler points, and the early monitor-only units (first-generation EKHB hydroboxes, the Altherma 2 monoblocs, the original EKHBRD HT) report a shorter list and accept no commands at all. Two Althermas will produce different payloads. Write your automations against the keys you can see on your own unit.
3. Step 1: Point the Oyu at your MQTT broker
Open the Oyu's web page and go to Setup. The MQTT fields are on the same page as the WiFi settings, so you may already have filled them in during installation. If not, do it now.
| Field | What to put in it |
|---|---|
| Host | Broker IP or hostname, e.g. 192.168.1.10. |
| Port | The broker's port. 1883 unless you have changed it. |
| User | Broker username, if yours uses one. |
| Password | Broker password, if yours uses one. |
| Topic | The first half of the base topic, e.g. oyu. |
| Friendly Name | The second half, e.g. altherma. |
The last two matter more than they look. The Oyu builds every one of its topics from them:
base topic = <Topic> / <Friendly Name>
So Topic = oyu and Friendly Name = altherma gives a base topic of oyu/altherma, and the state topic becomes oyu/altherma/state.
Pick both before you build any automation. Changing them later renames every topic and quietly breaks anything referring to the old ones. Home Assistant entity IDs are built from the Friendly Name too, so choose something short and permanent.
Press Save and Reboot. The module restarts, which takes about twenty seconds, reconnects and begins publishing.
4. Step 2: Confirm it is connected
You do not need a terminal for this. Two places tell you straight away.
On the Oyu's own page
Browse to the module and open Status. Two lines matter:
- MQTT should read connected. If it does not, the host, port, username or password is wrong, or the broker is not reachable from the network the module is on.
- HVAC Status should also read connected. If MQTT is connected but HVAC is not, the module is on your network but is not talking to the heat pump: check the two wires are on the P1P2 USER INTERFACE pair and that the system has power.
Seeing the two separately is the quickest way to tell a wiring problem from a network one.
In Home Assistant
Nothing to add by hand. The Oyu publishes Home Assistant's MQTT discovery messages, so once it reaches the broker, Home Assistant finds it on its own. As long as the MQTT integration is already set up and pointed at the same broker:
- Go to Settings > Devices & services > MQTT, then open the device list.
- Your device appears within a few seconds, named after the Friendly Name you set.
- Open it and it is all there: a climate entity for the space heating circuit, the hot water setpoint and controls, and a long list of temperature, flow, power and energy sensors.
You should never need to hand-write a climate entity in YAML for an Oyu. If you find yourself doing that, something upstream is wrong.
If you would rather check from a terminal
Optional, and only worth it if you already have the mosquitto client tools installed:
mosquitto_sub -h 192.168.1.10 -u USER -P PASS -t 'oyu/altherma/#' -v
You should see oyu/altherma/availability reporting online, and a full JSON payload on oyu/altherma/state.
If nothing arrives, jump to Troubleshooting.
5. The topic structure
Everything hangs off the base topic you built in section 3. With base topic oyu/altherma:
Heat pump controls
| Topic | Direction | What it does |
|---|---|---|
oyu/altherma/lwt_main/temp/set |
you publish | Leaving water temperature setpoint for the space heating circuit. |
oyu/altherma/lwt_main/mode/set |
you publish | Space heating circuit mode: heat, cool or off. |
oyu/altherma/dhw/temp/set |
you publish | Domestic hot water tank setpoint. |
oyu/altherma/dhw/mode/set |
you publish | Hot water production heat or off. |
oyu/altherma/dhw/boost/set |
you publish | Hot water boost ON or OFF. |
oyu/altherma/power/set |
you publish |
ON or OFF for the space heating circuit. Same effect as lwt_main/mode/set. |
oyu/altherma/mode/set |
you publish |
heat, cool or off. Same effect as lwt_main/mode/set. |
oyu/altherma/temp/set |
you publish | Target temperature. Same effect as lwt_main/temp/set. |
oyu/altherma/remote_temp/set |
you publish | Supply a room temperature from your own sensor. See section 9. |
oyu/altherma/state |
module publishes | Full state as one JSON object. |
oyu/altherma/availability |
module publishes |
online or offline. |
The lwt_main and dhw topics are the ones to use. The generic power, mode and temp topics exist because the Oyu shares its firmware family with the Faikin air conditioning modules, and the Home Assistant climate entity uses them; on the Oyu they act on the space heating circuit.
System and management
| Topic | Direction | What it does |
|---|---|---|
oyu/altherma/system/set |
you publish |
restart, upgrade or factory. |
oyu/altherma/system/opt/rqt |
you publish | JSON module options request, or query. |
oyu/altherma/system/opt/rps |
module publishes | Echo of accepted module options. |
oyu/altherma/unit/opt/rqt |
you publish | JSON heat pump options request, or query. |
oyu/altherma/unit/opt/rps |
module publishes | Echo of accepted heat pump options. |
oyu/altherma/system/info |
module publishes | Module telemetry JSON. |
oyu/altherma/update/state |
module publishes | Firmware update state for the Home Assistant update entity. |
oyu/altherma/debug/packets |
module publishes | Raw P1/P2 frames, only when packet debugging is switched on. |
oyu/altherma/debug/logs |
module publishes | Module console log, only when log debugging is switched on. |
For most automation you only need a handful: publish to the .../set topics, and subscribe to state and availability.
6. Sending commands
Publish a plain string to the relevant .../set topic. There is no JSON wrapper: the payload is the bare value. Payloads are case-sensitive as documented: ON and OFF in upper case, mode names in lower case.
Space heating: lwt_main/temp/set
The leaving water temperature setpoint as a number, e.g. 40. The protocol accepts 5 to 80 °C in 1.0 °C steps; your Altherma will clamp that to the range configured in its own installer settings, so a value outside your system's limits is ignored or trimmed rather than applied. If you are on weather-dependent control, the Altherma follows its curve and treats this as the offset or target the controller allows, exactly as it would from the wall controller.
Space heating: lwt_main/mode/set
| Payload | Effect |
|---|---|
heat |
Space heating on. |
cool |
Space cooling on, on reversible systems. |
off |
Space heating circuit off. |
Sending heat or cool turns the circuit on if it was off.
Hot water: dhw/temp/set
The tank setpoint as a number, e.g. 50. Range 30 to 65 °C. Anything outside is rejected.
Hot water: dhw/mode/set
| Payload | Effect |
|---|---|
heat |
Hot water production on. |
off |
Hot water production off. |
Hot water: dhw/boost/set
| Payload | Effect |
|---|---|
ON |
Start a hot water boost, the same as the Powerful or Booster function on the wall controller. |
OFF |
Cancel it. |
Examples
# Heating on, leaving water 40 C, hot water to 50 C
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/lwt_main/mode/set' -m 'heat'
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/lwt_main/temp/set' -m '40'
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/dhw/temp/set' -m '50'
# Boost the tank before the evening showers
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/dhw/boost/set' -m 'ON'
Because each control is its own topic, order does not matter and you can send only the ones you care about.
Monitor-only systems
On the early units the installation guide lists as monitor only (EKHB and EKHBX hydroboxes of the AA to BB versions, the Altherma 2 EBHQ, EBLQ, EDHQ and EDLQ monoblocs, the original EKHBRD HT and the EKHVM Flex Type), commands are not acted on. That is a limit of what those units expose on the bus, not a setting you can change. Everything in section 7 that the unit reports still comes through.
7. Reading status
The module publishes one complete JSON object to <base>/state whenever anything changes.
Only readings your unit actually reports appear. The Oyu publishes what the connected Altherma puts on the bus and hides the rest, so your payload will differ from the example below. This is normal.
{
"power": "on",
"mode": "heat",
"action": "heating",
"temperature": 40.0,
"room_temperature": 21.5,
"e_lwt_t": 42.5,
"e_rwt_t": 37.1,
"e_mwt_t": 39.8,
"e_dhw_t": 48.0,
"e_ref_t": 36.2,
"e_ext_t": 8.5,
"e_w_p": 1.8,
"e_flow": 16.4,
"e_comp_rpm": 52.0,
"e_elec_p": 1250,
"e_bp": 0,
"e_cop_rt": 4.15,
"e_circ_p": "ON",
"e_dhw_a": "OFF",
"e_def_a": "OFF",
"dhw_boost": "OFF",
"e_ec_t": 3412.0,
"e_ep_t": 11870.0,
"e_err_p": false,
"e_err_c": ""
}
The keys worth knowing first:
| Key | Meaning |
|---|---|
power |
on or off for the space heating circuit. What you asked for. |
mode |
heat, cool or off. The mode you asked for. |
action |
What the heat pump is actually doing right now: heating, cooling, idle or off. This is the one to watch, not power. |
temperature |
Your leaving water setpoint, not a measurement. |
e_lwt_t, e_rwt_t
|
Leaving and return water temperatures. The difference between them, times the flow, is the heat going into the house. |
e_dhw_t |
Tank temperature. |
e_dhw_a |
Whether the heat pump is currently making hot water rather than heating the house. |
e_def_a |
Defrost in progress. Expect the leaving water temperature to dip while this is ON. |
e_ec_t, e_ep_t
|
Lifetime electricity consumed and heat produced, in kWh. These are the COP counters, see section 8. |
e_err_p, e_err_c
|
Daikin's own fault flag and code, e.g. "7H", "E7". Empty when healthy. |
A system can be "power": "on" with "action": "idle" and that is perfectly normal: it has reached temperature, or the room thermostat is satisfied. If you want to know whether the compressor is running, look at action, e_comp_rpm or e_elec_p.
A temperature of -128.0 means that sensor is not fitted on your system. It is a placeholder, not a fault and not a real reading. A system with no mixing valve will show it for the mixed water temperature, and a system with no tank will show it, or nothing, for the tank temperature. Do not graph it and do not alarm on it.
Subscribe to <base>/availability as well. offline there means the module has dropped off, which is different from the heat pump being off.
8. Working out your COP
The Altherma counts, in its own firmware, the electricity it has consumed and the heat it has produced. Both are lifetime totals in kWh and both come through on the Oyu. They are the heat pump's own estimates rather than readings from a calibrated meter, so treat the result as a very good guide rather than a laboratory number. It is still far better than the figure on the brochure, because it is yours, on your house, in your weather.
The counters
| Reading | Where it appears |
|---|---|
| Electricity consumed, total |
e_ec_t in the state payload. In Home Assistant, Energy Consumed Total. |
| Heat produced, total |
e_ep_t in the state payload. In Home Assistant, Energy Produced Total. |
| Split counters | Where your system reports them, Home Assistant also shows the consumed figure split into compressor and backup heater, and the produced figure split into heating, cooling and hot water. Use those for a per-mode COP. |
| Realtime COP |
e_cop_rt, where your system reports it. Instantaneous, so it swings about with every defrost and every start. Good for a gauge, poor for a verdict. |
Lifetime COP is simply produced divided by consumed, but it is dominated by history. What you want is the ratio over a day, a week or a season, which means tracking how much each counter moved in that period. Home Assistant's utility meter does exactly that.
In Home Assistant
Add two utility meters and one template sensor to configuration.yaml, replacing the entity IDs with yours (check them in Developer tools > States; they follow the Friendly Name you chose):
utility_meter:
heat_pump_consumed_daily:
source: sensor.altherma_energy_consumed_total
cycle: daily
heat_pump_produced_daily:
source: sensor.altherma_energy_produced_total
cycle: daily
template:
- sensor:
- name: "Heat pump COP today"
unique_id: heat_pump_cop_today
state_class: measurement
icon: mdi:heat-pump
state: >
{% set used = states('sensor.heat_pump_consumed_daily') | float(0) %}
{% set made = states('sensor.heat_pump_produced_daily') | float(0) %}
{{ (made / used) | round(2) if used > 0.5 else 'unknown' }}
Add cycle: weekly or cycle: monthly meters alongside if you want longer windows; the same template works on any pair. The used > 0.5 guard stops the sensor reporting a wild number in the first few minutes after midnight, when a few watt-hours of standby have been counted and no heat has.
For a per-mode COP, point the meters at the split counters instead: produced for hot water over consumed by the compressor during hot water production is the one most people find interesting, because hot water is where a heat pump's COP is usually weakest.
The Energy dashboard
Add Energy Consumed Total as an individual device under Settings > Dashboards > Energy > Individual devices. The heat pump then shows up in the daily breakdown alongside everything else in the house, with no extra configuration. The produced counter does not belong in the Energy dashboard; keep that for the COP sensors above.
Reading the numbers
- A daily COP around 3 to 4 in mild weather and 2 to 3 in the cold is typical for an air-to-water system heating radiators or a floor at sensible flow temperatures.
- If it is consistently below 2, the leaving water setpoint is probably higher than the house needs, or the backup heater is doing more of the work than it should. The Backup Heater Power and split consumed counters will tell you which.
- Defrosts and hot water cycles both pull the daily figure down. That is physics, not a fault.
9. Home Assistant over MQTT
Add the MQTT integration and point it at the same broker. That is the whole setup: the Oyu announces itself and Home Assistant builds everything.
What you get on the device page:
- A climate entity for the space heating circuit, with modes
heat,coolandoffand the leaving water setpoint as its target temperature. Its current temperature is the room temperature the Altherma reports. - Hot water controls: the tank setpoint, hot water on and off, and boost.
- Sensors for every water and air temperature, flow, pressure, compressor frequency, power and energy counter your unit reports, with the right device classes and units so they graph and total correctly.
- Binary sensors for hot water active, defrost active, circulation pump and error present.
- Under Configuration and Diagnostic, the module's own options, signal strength, uptime and a firmware update entity that tells you when a new release is available and lets you install it from Home Assistant.
Entity IDs follow the Friendly Name, so with altherma you will get climate.altherma, sensor.altherma_lwt_temperature, sensor.altherma_energy_produced_total and so on. Check the exact names in Developer tools > States before writing YAML, and to see which MQTT key sits behind any entity, open it, choose the three dots, then MQTT info.
About the room setpoint
The Altherma only accepts a room temperature setpoint when it has a room temperature source: a Daikin room thermostat on the P1/P2 bus (a BRC1HHDA or EKRUCBL), or a temperature sensor paired to the Oyu. It is also not used while the system runs on weather-dependent control, because the leaving water temperature then follows the outdoor curve. Without a room sensor, the room temperature the Oyu reports is an estimate.
remote_temp/set lets you supply a room temperature from a sensor of your own, as a plain number such as 21.4, or 0 to clear it. Whether the heat pump then regulates on it depends on your system's control mode, so for most installations the reliable route is the one below: an automation that reads your own room sensor and nudges the leaving water setpoint.
A dashboard card
type: vertical-stack
cards:
- type: thermostat
entity: climate.altherma
name: Space heating
- type: entities
title: Hot water
entities:
- entity: number.altherma_dhw_setpoint
name: Tank setpoint
- entity: sensor.altherma_dhw_temperature
name: Tank now
- entity: switch.altherma_dhw_boost
name: Boost
- type: glance
title: Right now
columns: 4
entities:
- entity: sensor.altherma_lwt_temperature
name: Flow
- entity: sensor.altherma_rwt_temperature
name: Return
- entity: sensor.altherma_external_outside_temp
name: Outside
- entity: sensor.heat_pump_cop_today
name: COP today
- type: history-graph
hours_to_show: 24
entities:
- sensor.altherma_lwt_temperature
- sensor.altherma_rwt_temperature
- sensor.altherma_external_outside_temp
The hot water entities are shown as number. and switch.; on your system they may be exposed as a water_heater entity instead. Use whichever discovery gives you.
Hot water from solar export
The most common Oyu automation. Raise the tank setpoint when the house is exporting, drop it back in the evening. Publishing straight to the MQTT topic works whatever entity type discovery gave you:
alias: Hot water soaks up solar
triggers:
- trigger: numeric_state
entity_id: sensor.grid_export_power
above: 1500
for: "00:10:00"
conditions:
- condition: time
after: "10:00:00"
before: "15:30:00"
actions:
- action: mqtt.publish
data:
topic: oyu/altherma/dhw/temp/set
payload: "58"
mode: single
alias: Hot water back to normal
triggers:
- trigger: time
at: "16:00:00"
actions:
- action: mqtt.publish
data:
topic: oyu/altherma/dhw/temp/set
payload: "48"
mode: single
Check what your tank and your plumbing are rated for before pushing the setpoint up; 60 °C and above is where scale and scald risk start to matter, and your Altherma's own limit still applies.
Holding a room temperature without a Daikin thermostat
If you have a room sensor of your own, a small automation can hold the room by adjusting the leaving water setpoint. Keep the steps small and the interval long; a heating circuit takes an hour or more to respond and chasing it makes things worse.
alias: Nudge flow temperature from the living room sensor
triggers:
- trigger: time_pattern
minutes: "/30"
conditions:
- condition: state
entity_id: climate.altherma
state: heat
actions:
- variables:
room: "{{ states('sensor.living_room_temperature') | float(21) }}"
target: 21
flow: "{{ state_attr('climate.altherma', 'temperature') | float(38) }}"
- choose:
- conditions: "{{ room < target - 0.5 and flow < 45 }}"
sequence:
- action: mqtt.publish
data:
topic: oyu/altherma/lwt_main/temp/set
payload: "{{ (flow + 1) | int }}"
- conditions: "{{ room > target + 0.5 and flow > 30 }}"
sequence:
- action: mqtt.publish
data:
topic: oyu/altherma/lwt_main/temp/set
payload: "{{ (flow - 1) | int }}"
mode: single
The 30 and 45 limits are a safety rail so a faulty sensor cannot drive the flow temperature somewhere silly. Set them to suit your emitters.
Watching for faults
alias: Heat pump fault
triggers:
- trigger: state
entity_id: binary_sensor.altherma_error_present
to: "on"
actions:
- action: notify.mobile_app_phone
data:
title: Heat pump fault
message: >-
Error {{ states('sensor.altherma_error_code') }} on the Altherma.
mode: single
That one is worth setting up. The error code is the same code the wall controller shows, and knowing it before you call saves a visit.
10. Other platforms
The same topics work everywhere. Publish strings to <base>/…/set, subscribe to <base>/state.
mosquitto command line
# Watch everything for this device
mosquitto_sub -h 192.168.1.10 -u USER -P PASS -t 'oyu/altherma/#' -v
# Heating on at 38 C
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/lwt_main/mode/set' -m 'heat'
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/lwt_main/temp/set' -m '38'
# Hot water off overnight
mosquitto_pub -h 192.168.1.10 -t 'oyu/altherma/dhw/mode/set' -m 'off'
Node-RED
Use an MQTT in node on oyu/altherma/state with output set to a parsed JSON object, then read msg.payload.e_lwt_t, msg.payload.e_dhw_t and so on.
To send, use MQTT out with the topic and payload left blank so they come from the message. Payloads must be strings, so convert numbers first.
Raise the tank setpoint when export is high:
// msg.payload is the export power in W from your energy monitor
const base = "oyu/altherma";
if (msg.payload > 1500) {
return [{ topic: base + "/dhw/temp/set", payload: "58" }];
}
return null;
A daily COP from the two counters, using flow context to remember midnight's values:
const p = typeof msg.payload === 'string' ? JSON.parse(msg.payload) : msg.payload;
if (p.e_ec_t === undefined || p.e_ep_t === undefined) return null;
const now = new Date();
const day = now.toISOString().slice(0, 10);
let base = flow.get("cop_base") || {};
if (base.day !== day) {
base = { day: day, ec: p.e_ec_t, ep: p.e_ep_t };
flow.set("cop_base", base);
}
const used = p.e_ec_t - base.ec;
const made = p.e_ep_t - base.ep;
msg.payload = used > 0.5 ? Math.round((made / used) * 100) / 100 : null;
return msg;
Subscribing to oyu/altherma/availability is a cheap way to grey out your dashboard when the module drops off.
openHAB
Add an MQTT broker Thing, then a Generic MQTT Thing with channels pointing at the topics. A number channel on oyu/altherma/lwt_main/temp/set, another on oyu/altherma/dhw/temp/set, a switch channel on oyu/altherma/dhw/boost/set with ON/OFF, and state channels reading oyu/altherma/state with a JSONPATH transform such as $.e_lwt_t.
11. System management and options
These live under <base>/system/ and <base>/unit/. Several of them restart the module, so do not wire them into anything that fires often.
system/set
| Payload | Effect |
|---|---|
restart |
Reboots the module after about three seconds. |
upgrade |
Checks for a firmware update over the air immediately and installs it. |
factory |
Clears all stored settings, factory resets and reboots. |
factory wipes your WiFi and MQTT settings too, so the module comes back on its own setup network and has to be reconfigured from scratch. Treat it as a last resort.
Each restart drops the module off the P1/P2 bus for a moment, and the Altherma user interface may show a U2 error while it does. That is expected. Clear it on the user interface and it will not return until the next restart.
Heat pump options: unit/opt/rqt
Publish a JSON object to oyu/altherma/unit/opt/rqt with only the keys you want to change. Whatever is accepted is echoed back on oyu/altherma/unit/opt/rps, so subscribe there to confirm rather than assuming.
| Key | Values | Meaning |
|---|---|---|
min_temp, max_temp
|
within the protocol range | The lowest and highest leaving water setpoint anyone can select through the Oyu. Your Altherma's own installer limits still apply underneath. |
temp_unit |
"cel", "fah"
|
Celsius or Fahrenheit for the web page and Home Assistant. |
operation_mode |
"sub", "main"
|
Leave this on "sub". The Oyu joins the bus alongside your wall controller, which stays the main controller. |
query |
true |
Report the current values instead of changing anything. |
To see the current values, send:
{
"query": true
}
Module options: system/opt/rqt
The module's own settings work the same way: a JSON object with only the keys you want to change, published to oyu/altherma/system/opt/rqt, echoed on oyu/altherma/system/opt/rps.
{
"led_on": "Off",
"timezone": "AEST-10AEDT,M10.1.0,M4.1.0/3"
}
| Key | Values | Meaning |
|---|---|---|
safemode |
"On", "Off"
|
Safe Mode. Stops non-essential background tasks to free memory; the workaround if an over-the-air update fails. Restarts the module. |
webpanel |
"On", "Off"
|
The built-in web page. Restarts the module. |
led_on |
"On", "Off"
|
The status LED. |
buzzer_on |
"On", "Off"
|
The beep on commands. |
timezone |
POSIX time zone | Used for timestamps, e.g. "AEST-10AEDT,M10.1.0,M4.1.0/3" for Sydney and Melbourne, "CET-1CEST,M3.5.0,M10.5.0/3" for most of Europe. |
ntp_server |
hostname or IP | A local time server, for networks without internet access to the default pool. |
haa |
"On", "Off"
|
Home Assistant discovery. Restarts the module. |
haat |
string | Discovery prefix, homeassistant unless you have changed it in Home Assistant. |
debug_pckts |
"On", "Off"
|
Stream raw P1/P2 frames to debug/packets. Only turn this on if we ask you to. |
debug_logs |
"On", "Off"
|
Stream the module console to debug/logs. Only turn this on if we ask you to. |
query |
true |
Report the current values instead of changing anything. |
Turning webpanel off removes your own way back in. Only do it if you are certain MQTT is working.
system/info
Published periodically:
{
"connection_state": "online",
"safe_mode": "Off",
"reset_reason": "Software reset via ESP_RESTART",
"web_panel": "On",
"free_heap": "61.20",
"rssi": "-64",
"bssi": "AA:BB:CC:DD:EE:FF",
"up_time": 172800,
"protocol_ver": "P1P2_E",
"firmware_version": "S3-3.9.4.3"
}
connection_state is the module's link to the heat pump, the same thing the Status page calls HVAC Status. rssi is the one to watch for dropouts: anything worse than about -80 dBm and you should move the module somewhere with a better signal, especially if it is sitting inside a hydrobox or an outdoor switchbox. protocol_ver reads P1P2_E on an Altherma 2 or 3.
Firmware updates
oyu/altherma/update/state carries the installed and latest firmware versions and a link to the release notes, and Home Assistant shows it as an update entity on the device. Installing from there publishes upgrade to system/set for you. Release notes and update instructions are at faikin.au/pages/release. If an update fails with an out-of-memory message, turn Safe Mode on, update, then turn it off again.
12. Sensor reference
Everything below is detected automatically. If your unit does not report it, the key is absent from the state payload and no entity is created in Home Assistant. A short list is not a fault. Monitor-only units report a shorter set again.
Water and air temperatures
| Key | Name | Unit | Description |
|---|---|---|---|
e_lwt_t |
LWT Temperature | °C | Leaving water temperature, the flow out to your emitters. |
e_rwt_t |
RWT Temperature | °C | Return water temperature. |
e_mwt_t |
MWT Temperature | °C | Mixed water temperature, after the mixing valve on systems that have one. |
e_dhw_t |
DHW Temperature | °C | Hot water tank temperature. |
e_ref_t |
Refrigerant Temp | °C | Refrigerant temperature at the plate heat exchanger. |
e_ext_t |
External Outside Temp | °C | Outdoor ambient from the outdoor unit's sensor. |
room_temperature |
Room Temperature | °C | Measured when a room thermostat or paired sensor is present, otherwise an estimate. |
temperature |
LWT Target | °C | Your leaving water setpoint. |
In Home Assistant the leaving water target may appear as two sensors, LWT Target Main and LWT Target Add, on systems with a second heating zone.
Hydraulics and compressor
| Key | Name | Unit | Description |
|---|---|---|---|
e_flow |
Water Flow | l/min | Flow rate through the heat pump. Some newer hybrids do not measure it. |
e_w_p |
Water Pressure | bar | Heating circuit pressure, where the unit has a sensor. |
e_comp_rpm |
Compressor Freq | Hz | Compressor frequency. Zero means the compressor is stopped. |
e_circ_p |
Circulation Pump | ON / OFF | Circulation pump running. |
e_def_a |
Defrost Active | ON / OFF | Defrost cycle in progress. |
e_dhw_a |
DHW Active | ON / OFF | Currently producing hot water rather than heating the house. |
dhw_boost |
DHW Boost | ON / OFF | Hot water boost active. |
Power and energy
| Key | Name | Unit | Description |
|---|---|---|---|
e_elec_p |
Electrical Power | W | Electrical draw now, as the heat pump estimates it. |
e_p2 |
Power 2 (Heat Pump) | W | Compressor electrical draw. |
e_bp |
Backup Heater Power | W | Electric backup heater draw. If this is often above zero in mild weather, something is set wrong. |
e_p1 |
Power 1 (Boiler) | W | Gas boiler, hybrid systems only. |
e_ec_t |
Energy Consumed Total | kWh | Lifetime electricity consumed. |
e_ep_t |
Energy Produced Total | kWh | Lifetime heat produced. |
e_cop_rt |
Realtime COP | Instantaneous coefficient of performance, where reported. |
Where the unit reports them, Home Assistant also shows the split counters: energy consumed by the compressor and by the backup heater, and energy produced for heating, for cooling and for hot water. Those are what you want for a per-mode COP (section 8).
Hybrid systems
Altherma hybrids (EHYHBH and EHYHBX with the EHYKOMB gas boiler) add Gas Boiler Active, the gas mode, and boiler running hours split between heating and hot water, alongside the heat pump readings above.
Faults and hours
| Key | Name | Description |
|---|---|---|
e_err_p |
Error Present | Active fault flag. |
e_err_c |
Error Code | The Altherma error code, the same one the wall controller shows. Empty when healthy. |
| Pump Hours | Circulation pump running hours, where reported. |
Module telemetry
| Key | Name | Unit | Description |
|---|---|---|---|
up_time |
Up Time | s | Since last reboot. |
free_heap |
Free Heap | % | Free RAM. |
rssi |
RSSI | dBm | WiFi signal strength. |
bssi |
BSSI | BSSID of the access point it is joined to. | |
reset_reason |
Reset Reason | Why it last restarted. | |
protocol_ver |
Protocol Version |
P1P2_E on an Altherma 2 or 3. |
13. Troubleshooting
MQTT shows disconnected on the Status page. Check the host and port, then the username and password. If the broker is on a different VLAN or subnet from the module, that is usually the real problem.
MQTT connected, HVAC disconnected. The module is on your network but not talking to the heat pump. Check the two wires are on the pair marked P1P2 USER INTERFACE on the X5M strip, and that the system has power. On the bench with nothing connected this combination is normal.
Both connected, but nothing appears in Home Assistant. Confirm Home Assistant's MQTT integration is pointed at the same broker. Two brokers on one network is a common and confusing mistake. Then check haa is On in the module options (section 11).
Some sensors are missing. Expected. Only what your Altherma reports is published. A system without a tank has no tank temperature, a system without a mixing valve has no mixed water temperature, and the early monitor-only units report a short list. Not a fault.
A temperature reads -128. That sensor is not fitted on your system. It is a placeholder, not a reading. Exclude it from graphs and alerts.
Commands are ignored. Three things to check. Payloads are plain strings and are case-sensitive as documented: ON and OFF in upper case, heat and off in lower case. Sending a number rather than a string will fail in some clients, Node-RED included. And on the monitor-only units, commands are not acted on at all, by the nature of those units.
The hot water setpoint will not change. It must be between 30 and 65. Your Altherma's own installer limits may be narrower again.
The leaving water setpoint does not seem to do anything. On weather-dependent control the Altherma follows its outdoor curve, and what you are adjusting is what the controller allows you to adjust in that mode, the same as from the wall controller. Check the control mode in the installer settings.
The wall controller shows U2 after the module restarts. Normal. The module dropped off the bus briefly. Clear it and it will not return until the next restart.
It keeps dropping out. Look at rssi in system/info. Around -80 dBm or worse is marginal. A monobloc switchbox or a steel hydrobox cabinet is a poor place for WiFi; the same P1/P2 pair also lands at your wall controller indoors, which is often the better spot.
A firmware update fails. Turn Safe Mode on (section 11, or on the web page), run the update, then turn Safe Mode off. See faikin.au/pages/release.
Everything stopped after a settings change. Renaming the Topic or Friendly Name renames every topic. Your automations are still pointed at the old ones.
The COP sensor shows a huge or tiny number. Early in the day, a few watt-hours have been counted and little heat has, so the ratio is meaningless. The used > 0.5 guard in section 8 handles it; if you removed it, put it back. Over a full day the number settles.
14. Quick reference cheat sheet
Base topic oyu/altherma. Replace with yours.
Read (subscribe)
| Topic | Content |
|---|---|
oyu/altherma/state |
Full JSON state |
oyu/altherma/availability |
online / offline
|
oyu/altherma/system/info |
Module telemetry JSON |
oyu/altherma/update/state |
Firmware update state |
oyu/altherma/system/opt/rps, unit/opt/rps
|
Echo of accepted options |
Control (publish)
| Topic | Payload |
|---|---|
oyu/altherma/lwt_main/temp/set |
leaving water setpoint, e.g. 40
|
oyu/altherma/lwt_main/mode/set |
heat, cool, off
|
oyu/altherma/dhw/temp/set |
30 to 65
|
oyu/altherma/dhw/mode/set |
heat, off
|
oyu/altherma/dhw/boost/set |
ON, OFF
|
oyu/altherma/remote_temp/set |
room temperature, e.g. 21.4, or 0 to clear |
System (publish)
| Topic | Payload |
|---|---|
oyu/altherma/system/set |
restart, upgrade, factory
|
oyu/altherma/system/opt/rqt |
JSON options, or query
|
oyu/altherma/unit/opt/rqt |
JSON options, or query
|
The COP in one line
Daily COP = (today's increase in e_ep_t) / (today's increase in e_ec_t). Section 8 has the Home Assistant configuration.