ioBroker.faikout
Connect Daikin air conditioners equipped with a faikout
module to ioBroker — purely over MQTT, entirely local, no cloud and no vendor API.
The adapter brings its own MQTT broker. You point the faikout modules at it and that is all;
no separate broker, no mqtt adapter instance, and no interference with any MQTT setup you
already run.
Why a dedicated adapter
A faikout module also emulates the old local Daikin HTTP API, so it can be used with the
daikin adapter. Over MQTT, however, it exposes considerably more — in particular values the
HTTP API does not provide at all:
| Value |
HTTP (daikin adapter) |
MQTT (this adapter) |
| Indoor humidity |
not reported |
yes |
| Energy counters (total / heating / cooling) |
not reported |
yes |
| Current power draw |
not reported |
yes |
| Compressor speed |
reported as 0 |
yes |
| Fan speed |
not reported |
yes |
| Refrigerant temperature |
not reported |
yes |
| Demand limit, louvre angle, presets |
not reported |
yes |
| WiFi and device diagnostics |
version only |
yes |
Data points are created dynamically
A faikout module only publishes a field when the attached air conditioner actually supports it,
and its own settings can hide further ones. There is therefore no fixed list of fields: the
adapter creates exactly the data points it receives and silently omits the rest. Two units of
different models will legitimately end up with different object trees.
Fields the adapter does not know yet are still created, with a type derived from the value, and
noted in the log.
Objects are grouped per device:
<device>.control.* — writable: power, mode, target temperature, fan, swing, preset, demand,
econo, powerful, comfort, streamer, sensor, LED, quiet, humidify. selectedMode is the operating mode
without "off": while the unit runs it equals mode, while it is off it keeps the mode set last (taken
from the module's native status). Writing it sends the mode and switches the unit on.
mode, fan, swing and preset are text, as the module speaks them. Each has a numeric twin
(modeNum, fanNum, swingNum, presetNum) with common.states such as
{0: "off", 1: "heat_cool", 2: "cool", 3: "heat", 4: "dry", 5: "fan_only"} for Lovelace and other
tools that expect numbers. Both are writable and mean the same: a command on either sends exactly one
command to the module (as text); both are set with ack=true when the module confirms. The numbers
are fixed; new values of a future firmware are appended.
<device>.status.* — readings: temperatures, humidity, energy, power, compressor and fan speed
<device>.info.* — device diagnostics: IP, WiFi signal, uptime, firmware
Setup
- Install the adapter and open the instance configuration.
- Choose the broker port (default
1888). It must not collide with another MQTT broker.
Optionally set a user name and password; leaving the user name empty accepts unauthenticated
connections, which is the usual case inside a home network.
- Open the web interface of each faikout module, go to Settings → Basic and set
MQTT host to
<ioBroker IP>:<port>. The module reconnects on its own.
The tab Find modules shows the exact value to copy (see below).
Internal or external broker
By default the adapter runs its own MQTT broker – nothing else has to be installed, the
modules only point to it. In the tab MQTT broker you can choose an external broker instead
(for example Mosquitto or the ioBroker MQTT adapter): the adapter then connects as a client with
address, port, optional TLS, user name, password, client ID and an optional topic prefix. "Test
connection" checks the values of the form before saving and says whether the broker is reachable,
rejects the sign-in or does not answer.
With an external broker the adapter's own broker does not run and its port becomes free. The
modules must point to the external broker themselves (module setting mqtthost); the adapter does
not change that automatically – the tab "Find modules" shows which modules still point elsewhere
and can switch one over. Switching between the two modes loses no data; the adapter restarts after
saving.
Find modules
The tab Find modules in the instance settings helps with step 3:
-
Address for modules is the address under which the modules reach this ioBroker. It is
pre-filled from the network interfaces of the host. If only Docker addresses (172.16.0.0/12)
are found, enter the address of the Docker host yourself. Below it the ready-to-copy value
for MQTT host (address:port) is shown.
-
Search asks once via mDNS for _http._tcp (every faikout module announces its web interface
there) and reads the settings page /revk-settings of every candidate - read only, with a 2 s
timeout and at most 4 requests at a time. Nothing is changed on the modules, and there is no
background or scheduled search. Answers repeated by an mDNS reflector (e.g. a UniFi gateway)
are attributed to the address in the A record, not to the reflector.
-
Check address reads the settings page of one IP address or host name - useful in Docker
(bridge network), where mDNS does not reach the modules. There is no range scan.
-
The result lists name / host name, IP, firmware / hardware and the status: connected to this
adapter, set to this adapter but not connected, no MQTT broker set, other MQTT broker, settings
protected by password, or web login required.
-
Connect a module sets the MQTT host of ONE module to this adapter: choose the module from
the search, click Check (fresh read of the module, preview of host name, IP, firmware and
MQTT host old → new), then Connect and confirm. If the module currently uses another MQTT
broker, "Replace other broker" has to be ticked as well. Right before saving the module is read
again; if anything changed since the check, nothing is saved. The module gets one POST with
mqtthost=<address>:<port> (plus MQTT user/password if this adapter has a user) and restarts;
it has to report to this adapter within 90 s. Restore writes the MQTT host read before
back (an old MQTT password cannot be read back - you get a warning if it was changed). A
settings password of the module is used for that one action only and never saved. Nothing else
is changed: no second broker, no firmware update, no OTA settings, and never several modules
at once.
Values from the modules' settings forms (broker, user, passwords) are neither logged nor saved.
Running ioBroker in Docker
The broker port has to be published by the container, otherwise the modules cannot reach it.
Add a port mapping for the configured port.
Module settings for the complete set of data points
What the adapter can show depends on the settings in the faikout module (web interface,
Settings; most of them sit under the Advanced settings; older firmware spells them without
the dot, e.g. haenable, nohumidity). These are the relevant ones:
| Setting |
Required value |
Effect |
| MQTT host (Basic) |
<ioBroker IP>:<port> |
Connects the module to the adapter's broker. |
ha.enable ("Home Assistant") |
on (default) |
The module publishes its readings (state/<name>) only while this is on. Off means: diagnostics only, no temperatures, energy, mode etc. — the adapter then logs a warning. |
ha.fanrpm |
on (recommended) |
Fan speed status.fanfreq in rpm instead of Hz (default: Hz, one decimal). The adapter detects the unit itself (from the module's Home Assistant discovery) and sets it on the state; rpm is just more precise. |
ha.comprpm |
on (recommended) |
Compressor speed status.comp in rpm instead of Hz (default: Hz). Detected automatically as well. |
ha.switches |
on |
Adds autoe (main switch of the module's own automation) to the readings. |
no.hvacaction |
off (default is on) |
Adds action — what the unit is actually doing (heating, cooling, idle …). |
no.humidity |
off (default) |
Humidity hum. Only switch it on if the unit has no humidity sensor. |
no.demand |
off (default) |
Demand limit demand. |
no.led |
off (default is on) |
LED control — only if the unit's display LED can be switched. |
no.humidify |
off (default is on) |
Humidifier control — only for units with a humidifier. |
other no.* (econo, powerful, comfort, streamer, quiet, sensor, swingv, swingh, flap, antifreeze) |
off (default) |
Each one hides the matching function. Switch on only for functions your unit really lacks. |
livestatus |
on (recommended) |
Reports immediately instead of every reporting seconds, see below. |
reporting |
60 (default) |
Interval of the periodic report in seconds. |
No setting is needed for energy counters, power draw, compressor and fan speed, refrigerant and
outside temperature: the module reads them from the unit on its own. Whether they appear depends
only on the model — a unit that does not report a value simply has no data point for it.
Faster feedback
Out of the box a module reports its state every 60 seconds (reporting setting), so a command
is only confirmed with the next report — expect up to a minute. Enabling livestatus in the
module's Extra settings makes it report immediately.
Settings the air conditioner does not accept
A module sends a setting to the air conditioner and reads it back. If the unit still reports its old
value after several rounds (s21.tries, 10 by default), the module drops the change, shows the value
of the unit again and publishes the rejected fields on error/<name>/failed-set. Until then the module
already shows the requested value, so it looks as if something had reset it.
The adapter logs this as a warning (… the air conditioner did not accept demand=90 …) and stores the
last rejection in <device>.info.failedSet as JSON with the requested values and the time:
{"time":"2026-11-05T14:40:51.085Z","settings":{"demand":90}}. The adapter itself does not send
anything in this situation.
Known case: demand control (control.demand). Some units acknowledge the command but keep
reporting 100 % — seen on units that still have Daikin's own WiFi adapter fitted. The module can only
pass on the percentage; the modes of Daikin's app (off / automatic / fixed) are not part of what is
known about the S21 interface. Econo is only taken over while the unit is running.
Lovelace, type detector and other tools that expect numbers
The module speaks text (mode = "cool"), and the text states stay the main form for scripts, vis and
the device cards. Lovelace, however, converts the keys of common.states to numbers when it writes a
climate entity; with text keys this gives NaN and the command is lost. Use the numeric twins in
<device>.control.* for such tools:
| State |
Role |
Values |
modeNum |
level.mode.airconditioner |
0 off, 1 heat_cool, 2 cool, 3 heat, 4 dry, 5 fan_only |
fanNum |
level.mode.fan |
0 auto, 1 night, 2 low, 3 lowMedium, 4 medium, 5 mediumHigh, 6 high |
swingNum |
level.mode.swing |
0 off, 1 on, 2 vertical, 3 horizontal, 4 both, 5 comfort, 6 horizontalComfort |
presetNum |
level.mode |
0 home, 1 eco, 2 boost |
The roles let the type detector find them as part of an air conditioner. Writing 2, "2" or the label
"cool" to modeNum sends one command cool to the module; modeNum and mode are both set with
ack=true when the module confirms. A value outside the list is discarded with a warning in the log.
The twins are created with the first report of a module after the update.
Climate control