Configuring AV Remote Control
Documentation updated 01.01.2024
The driver is available starting with version 1.3.62
Example: AV_R_styled_Projects
Description

AV Remote Control is a driver intended to run only on the AV-R device for i3 Pro GUI Panel Projects. It captures hardware button presses and provides access to the AV remote's built-in IR transmitter.
Working in iRidi
- Create a new Panel Project
- In the new project, add the AV Remote Control driver on the Devices tab:

Configuring commands and feedback channels

To control equipment, configure Commands and Feedbacks. To send a command, drag it onto a graphical item and specify the Value to send. To display feedback, drag the Feedback onto a graphical item and specify how to display its Value.
For more information about graphical items, see Graphical item types.
Keypad subdevice
By default, the joystick, volume, and Back buttons navigate the GUI in i3 Pro. Hardware button presses can also be captured (Capture Buttons) so their Feedbacks can be used in programming and logic. For example, captured joystick presses can navigate a Smart TV, set-top box, or receiver menu.
To enable hardware button capture on the AV-R device, use the commands of the subdevice
Hardware Buttons Capture
Commands
| Command | Value | Description |
|---|---|---|
| Capture volume buttons | 1 - Enable hardware button capture 0 - Disable hardware button capture | Enables volume-button capture; by default, these buttons control system volume |
| Capture joystick buttons | 1 - Enable hardware button capture 0 - Disable hardware button capture | Enables / disables joystick-button capture; by default, these buttons navigate between items in the Panel Project |
| Capture back button | 1 - Enable hardware button capture 0 - Disable hardware button capture | Enables / disables Back-button capture; by default, Back navigates between items in the Panel Project |
Feedbacks
AV Remote Hardware Keys
Feedback
| Button | State | Description |
|---|---|---|
| Scene 1 Scene 2 Scene 3 Volume Up Volume Down Channel Up Channel Down Back Rewind Forward Previous Next Mute Play Pause Stop Record Up Down Left Right Ok | Driver Version 1 0 1 2 Driver Version 2 0 1 2 3 4 | Returns the hardware button state on the AV-R remote Driver Version 1 0 - button released 1 - button pressed 2 - button held Driver Version 2 0 - button released 1 - button pressed 2 - button held 3 - released after a press 4 - released after being held |
- The Driver Version - 2 parameter is set by default for new drivers.
- The subdevice Feedbacks report hardware button presses on the iRidi AV-R .
- Button capture must be enabled using driver commands (see above); otherwise, button press events will not reach the feedback channels
- Feedback channel icons match the button engravings on the iRidi AV-R
Each hardware-button feedback has its own Key programming tab for configuring events triggered by remote-button presses:
Driver version 1
Driver version 2
- Programming works in the same way as the main Programming window in Studio (more information here)
The driver provides the Long press activation time parameter to set the delay before a button-hold event is triggered, in milliseconds.
IR subdevice
Controls equipment using IR commands through the remote's built-in IR transmitter. To configure control, learn the IR commands using iRidi Studio and a ProAV Control Processor.
Learning IR commands:
-
Start iRidi Studio.
-
Create a Panel Project and add the AV Remote Control driver.
-
Create the required number of commands for the IR subdevice.
-
Select a convenient command format to display in iRidi Studio after learning.

- Right-click the IR subdevice and select IR Learning. All commands in the subdevice will be learned sequentially.
Commands can also be learned individually: right-click the required command and select IR Learning.

- Select the device type to use for IR learning.
I-PX-IR3 :
Enter the I-PX-IR3 device IP address and port. The device determines the required frequency automatically.
Click "Start". If the connection succeeds, the learning window displays the command being learned.
ProAV Control Processor:
Enter the ProAV Control Processor IP address.
To select a specific manufacturer, select the "Use IR frequency standard" checkbox. The manufacturer list becomes available.
If the required manufacturer is not listed, select "Other" and specify the required frequency manually.

-
Click "Start". If the connection succeeds, the learning window displays the command being learned.
-
Point the IR signal source at the IR receiver on the front panel of the ProAV Control Processor.
9.Send the required command.
-
Repeat steps 8-9 for the remaining commands
-
After all commands have been learned, the learning process ends automatically.
-
To interrupt learning, click "Stop" in the "Learning" window.
Changing the command format in iRidi Studio when prepared IR commands are available:
- Conversion is possible only for commands in iRidi Hex or Pronto Hex format
-
Start iRidi Studio.
-
Create a Panel Project and add the AV Remote Control driver.
-
Create the required number of commands for the IR subdevice.
-
Select iRidi Hex as the command display format in iRidi Studio

- Paste the prepared iRidi Hex command into the Data field.

- Change the display format to Pronto Hex in the Data Type field

Command configuration
| Parameter | Value | Description |
|---|---|---|
| Send | IR command code. * Currently, only iRidi HEX IR commands learned through a ProAV Control Processor are supported | Send an IR command to the device |
To send IR commands from the remote through its built-in IR transmitter:
-
Link the learned commands in the IR subdevice to graphical items in the Panel Project GUI.
-
Upload the resulting project to i3Pro on the AV-R device.
-
Send IR commands using the Panel Project's graphical items.
Operating considerations
Since AV Remote Control is a panel-only driver, linking physical device buttons on the server requires the server's virtual channels and tags .
Linking AV Remote Control to a server project
There are two ways to create a server project linking AV Remote Control to equipment:
-
Automatically - automatically create a server project with ready-made virtual channels and tags using the AV Remote Control driver's Create server link tool in the Panel Project.
-
Manually - manually create a server project with virtual channels and tags, their links, and a listener script in the Panel Project.
Creating a server project automatically
- To create a server project with ready-made virtual channels and tags, open the AV Remote Control driver's context menu and select Create server link:

- This opens the Create server link window for selecting feedbacks from which virtual channels and tags will be created. Select the required hardware-button feedbacks and click OK:

-
Save the Panel Project on your PC if it has not already been saved
-
After feedbacks are selected and OK is clicked in Create server link, a listener script is created in the Panel Project, together with a server project.
-
In the server project's Virtual driver, a folder named after the AV Remote Control driver is created. It contains virtual channels and tags named after the selected hardware-button feedbacks in the Panel Project. Corresponding channels and tags are linked:

Further equipment-link configuration is the same as for manual project creation (see from step 4 in Creating a project manually)
Creating a project manually
-
Create a server project and add virtual commands and feedback channels corresponding to AV-R buttons
-
In the server project, add virtual commands and feedback channels corresponding to AV-R buttons

- Add a listener for the AV Remote Control driver with a function that sets data in a virtual channel
IR.AddListener(IR.EVENT_TAG_CHANGE, IR.GetDevice('AV Remote Control'),
function(in_sName, in_sValue){
// Splitting the tag name by ":"
var tagParts = in_sName.split(":");
if(tagParts[0] == "Keypad") {
IR.GetDevice("iRidi Server").Set(tagParts[1], in_sValue);
}
});
- The script is created in the Panel Project
- Switch to the server project and link virtual tags to commands using Forward Value To :

- At this stage, all physical AV-R button presses will be available in the server project.
- Add handling for physical AV-R button presses and the actual equipment
- Creating a link through Routines

Create a rule for each required link.
Driver Version 1 When: Virtual button channel value = 0/1/2
- 0 - not pressed
- 1 - pressed
- 2 - long press
Driver Version 2 When : Virtual button channel value = 0/1/2/3/4
- 0 - not pressed
- 1 - pressed
- 2 - long press
- 3 - released after a press
- 4 - released after a long press
Then: Send a value or text to an actual device command.
- Creating a link through Schemes

- Add the AV-R virtual feedback channel to the scheme.
- Add a Block matching the required logic (Map in the example).
- Configure the Block parameters according to the behavior of your equipment.
- Add the actual equipment commands to which data will be sent.
- Set the work mode to "On Tag Changed" , so the equipment state changes with each press of a physical AV-R button
- Creating a link through iRidi Script :
- Open the script editor by clicking JS.
- Click +, then select New Script
- Add your script.
Example of linking a button press event to the LG TV driver:
//Пример привязки кнопки Scene 1 устройства AV-R к командам "Favorite Channel" &"Exit"
IR.AddListener(IR.EVENT_TAG_CHANGE, IR.GetServer(), function(in_sName, in_sValue) {
switch (in_sName) {
case 'Scene 1':
if (in_sValue == 2) // On pressing and holding the AV-R button, the driver receives 2, triggering Exit
LG_TV.Set("Exit", 1);
if (in_sValue == 1) // On pressing and holding the AV-R button, the driver receives 1, triggering Favorite Channel
LG_TV.Set("Favorite Channel", 1)
break;
};
})
-
AV-R buttons can have different states depending on the Driver Version parameter.
-
Button capture must be enabled to use AV-R buttons.