
An increasing number of air conditioners are equipped with built-in Wi-Fi and dedicated mobile applications. These solutions generally allow remote control of the device, but their operation often depends on the manufacturer's cloud service.
In the Szélessáv SmartHome system, we take a different approach. Instead of controlling the air conditioner through the manufacturer's cloud service, we use an infrared controller operating directly within the local network.
This solution can be used with air conditioners both with and without built-in Wi-Fi connectivity, provided that they support a compatible infrared remote control protocol.
For this purpose, we developed the open-source Domoticz IR Climate Controller plugin, which uses an infrared transmitter running Tasmota firmware to replicate the operation of a conventional air conditioner remote control.
Manufacturer-specific mobile applications often provide convenient and extensive control options. Some applications also offer advanced features, energy consumption data and device status information that may not be available through infrared control.
However, in a comprehensive smart home system, the most important consideration is not necessarily the independent remote control of individual appliances, but their unified, reliable and coordinated operation.
Manufacturer-specific cloud-based solutions may have several disadvantages:
Our infrared control solution may offer fewer features than some manufacturer-specific applications, but it provides unified access to essential heating and cooling functions within Domoticz.
Local control does not depend on the availability of the air conditioner manufacturer's cloud service, its business decisions or an active internet connection.
A mobile application allows users to remotely switch on an air conditioner, change its target temperature or select an operating mode. However, these capabilities alone do not constitute intelligent building automation.
In a properly integrated smart home, the air conditioner should not operate independently of the building's other heating, cooling and energy management systems.
Within the Szélessáv SmartHome system, air conditioner operation can be coordinated with:
For example, coordinated control can prevent situations where independently operating systems cause central heating and air conditioning cooling to run simultaneously in the same room.
The objective is to make the air conditioner part of the building's integrated energy management system, operating only when its contribution is actually required.
Related solution: DSVT – Intelligent Heating and Cooling Control
Conventional air conditioner remote controls use infrared (IR) signals to transmit selected settings to the indoor unit.
The Tasmota IR controller can generate the same signals. However, instead of receiving commands through physical button presses, it receives them from Domoticz over the local network.
From the air conditioner's perspective, there is no difference between a compatible infrared command sent by the original remote control and one sent by the Tasmota IR controller.
The solution does not require disassembling or internally modifying the air conditioner. The original remote control and the device's built-in Wi-Fi control remain usable, although Domoticz may not receive feedback about changes made through these interfaces.
Our custom-developed plugin is open source and free to use. It is not exclusive to the Szélessáv SmartHome system and can also be installed on other compatible Domoticz systems.
The plugin is listed in the Domoticz plugin directory, while its source code and installation information are available on our GitHub repository:
https://github.com/szelessavalapitvany/domoticz-ir-climate-controller
The following components are required to implement this solution:
An infrared controller can be built using a suitable ESP8266- or ESP32-based device and an infrared transmitter.
The necessary technical information is available in the Tasmota documentation:
https://tasmota.github.io/docs/IR-Remote/
For users who prefer not to build their own device, ready-to-use infrared controllers with preinstalled Tasmota firmware are also available.
One example is the solution offered by Athom Tech:
https://www.athom.tech/blank-1/tasmota-ir-controller
When selecting a device, it is important to verify that the installed Tasmota firmware supports the IRHVAC commands required for air conditioner control.
The plugin source code and installation information are available on our GitHub repository.
Domoticz IR Climate Controller – GitHub
After installing the plugin, a new climate controller must be added in the Domoticz hardware configuration section.
The configuration includes the following parameters:
We recommend assigning a permanent IP address to the Tasmota IR controller, for example by configuring a static DHCP lease on the OpenWrt router.
The infrared transmitter must be positioned so that its signals reliably reach the indoor unit of the air conditioner.
The simplest approach is to select a location from which the original air conditioner remote control would also operate reliably.
The infrared-enabled version of Tasmota firmware supports IRHVAC commands, which are specifically designed for controlling air conditioning equipment.
IRHVAC commands allow multiple operating parameters to be transmitted to compatible air conditioners, including target temperature, operating mode, fan speed and other settings.
Detailed documentation of IRHVAC commands is available here:
https://tasmota.github.io/docs/Tasmota-IR/#sending-irhvac-commands
The IRremoteESP8266 library used for infrared control supports air conditioning communication protocols from numerous manufacturers.
The supported manufacturers and protocols include, among others:
Support for a particular manufacturer does not automatically guarantee compatibility with every model produced by that manufacturer. A single manufacturer may use several different infrared communication protocols.
Compatibility depends on the air conditioner model, the Tasmota firmware version and the protocols available in the plugin.
A detailed list of protocols supported by IRremoteESP8266 is available at:
https://github.com/crankyoldgit/IRremoteESP8266/blob/master/SupportedProtocols.md
The plugin automatically creates the switches and setpoint devices required to control the air conditioner within Domoticz.
Depending on the capabilities of the air conditioner, the following functions can be controlled:
Not every control option displayed by the plugin is necessarily supported by every air conditioner. For example, if the device does not support turbo mode, the corresponding command will have no effect.
Since each parameter change generates a separate infrared command, when adjusting multiple settings, we recommend operating the Power switch last.
One of the most important advantages of Domoticz is that air conditioner operation is not limited to manual control.
The built-in scheduling and automation capabilities of Domoticz allow various functions to be implemented, including:
Compatible air conditioners from different manufacturers can be displayed within a unified interface and operated as part of the same automation system.
The most important limitation of infrared control is that it is essentially a one-way communication method. The controller sends a command, but the air conditioner does not return status information confirming that the command has been successfully executed.
Consequently, the settings displayed in Domoticz represent the requested operating parameters rather than the confirmed physical state of the air conditioner.
A discrepancy may occur, for example, if:
To mitigate this limitation, the plugin provides an automatic periodic command retransmission function.
For example, the system can be configured to retransmit the currently configured operating parameters every 30 minutes.
The operating period for automatic retransmission can also be configured. For example, retransmission can be enabled between 8 AM and 8 PM to prevent the air conditioner's audible confirmation signals from disturbing occupants during the night.
Periodic command retransmission helps restore the desired operating parameters, but it does not replace actual device status feedback.
To simplify testing and manual intervention, the plugin also provides a dedicated Resend IR Command function.
When the button is pressed, the system retransmits the infrared command using the currently configured operating parameters.
This is particularly useful when testing the positioning of the infrared transmitter or restoring the settings configured in Domoticz after another control method has been used.
Communication between Domoticz and the Tasmota IR controller takes place directly over the local network.
The solution does not require the air conditioner manufacturer's cloud service, a separate user account or a subscription.
Local control and automation functions that do not require external online data sources remain operational even when the internet connection is temporarily unavailable, provided that the local network and the required devices are functioning.
For secure remote access from outside the home, we primarily recommend using a VPN connection.
For us, the most important consideration is not whether an air conditioner has its own mobile application, but whether it can be controlled reliably, locally and in coordination with the building's other technical systems.