IR Controller

The IR controller is used when dealing with complex IR codes which are codes which vary from press to press of the same button on a remote control. The Hitachi air conditioning unit is an example when this function block is needed.

Configure and set up easily with Loxone Config

The new IR extension in action

In this seminar we will show you how you can use the new Loxone IR Extension to control IR devices like your TV or DVD player etc, as well as explain how any IR remote can become the controller for your whole smart home.

>> Download the sample file

Function block properties

You can convert up to 6 analogue values AQ1-AQ6 to one button which is then connected to an IR actuator. You can define the text in the properties window of the IR controller. The IR actuator needs to be assigned to a button on a remote control.
Warning: This works only with simple IR codes (Start bit, 0-bit, 1- bit and end bit).

How to create an IR command

Task blocks are separated by a space.

AQ1: AQ2: AQ3: AQ4: AQ5: AQ6:

Depending on the input value, a bit sequence is copied to the transmittion buffer. If the exact value does not exist then the next closest value is used

AQ1:17.5:0100;18:0101;18.5:0110

When the input is 17.5, the bit sequence 0100 is sent
When the input is 18.0, the bit sequence 0101 is sent
When the input is 18.5, the bit sequence 0110 is sent

I:

Invert bits from the transmittion buffer

I:8,4

Copy 4 bits from the current position 8 and invert them
Information


A maximum of 256 bits can be used.

Example: Hitachi air conditioning unit

The command sequence for the Hitachi air conditioning unit is entered in the IR Command section of the IR controller's properties window.

C:100000000000100000000000 C:00000010 I:8;8 C:11111111 I:8;8 C:10100111 I:8;8 C:10010001 I:8;8 C:00100000 I:8;8 C:11111100 I:8;8 C:1
V1:17:01010;18:11010;19:00110;20:10110;21:01110;22:11110;23:00001;24:10001;25:01001;26:11001;27:00101;28:10101;29:01101;30:11101 C:00 I:8;8 V2:0:1111;1:0001;2:0010;3:0011;4:0100 V3:0:1000;1:0100;3:0010 I:8;8 V4:0:1000;1:0000;2:0100;3:0010;4:0110;5:0001;6:0110;7:0011 C:0000 I:8;8

In the configuration software, you would see this:
tl_files/loxone/documentation/EN-UK/function_blocks/ir_controller/ircontroller1.png

Input (AQ1)

Temperature 18 - 30 °C Temperature

Input (AQ2)

0 = Auto, 1 = Heat, 2 = Dry, 3 = Cool, 4 = Fan Mode

Input (AQ3)

0 = Low, 1 = Med, 2 = High Fan

Input (AQ4)

0 = Auto, 1, 2, 3, 4, 5, 6, 7 Blade position

Example: Mitsubishi air conditioning unit

The command sequence for the Mitsubishi air conditioning unit is entered in the IR Command section of the IR controller's properties window.

C:110001001101001101100100100000000000000000000100000 V2:0:001;1:100;2:010;3:110;4:111 C:00 V1:16:0000;17:1000;18:0100;19:1100;20:0010;21:1010;22:0110;23:1110;24:0001;25:1001;26:0101;27:1101;28:0011;29:1011;30:0111;31:1111 C:000001101100 V3:0:000;1:100;2:010;3:110;4:001;5:101 V4:0:00001;1:10010;2:01010;3:00110;4:10110;5:11110 C:00000000000000000000000000000000000000000000000000000000 S:1

Input (AQ1)

Temperature 16 - 31 °C Temperature

Input (AQ2)

0 = Auto, 1 = Heat, 2 = Dry, 3 = Cool, 4 = Fan Mode

Input (AQ3)

0 = Off, 1 = Level 1, 2 = Level 2, 3 = Level 3, 4 = Level 4, 5 = Auto Fan

Input (AQ4)

0 = Auto, 1, 2, 3, 4, 5, 6 = Free Blade position