iRidi Studio
Documentation for the current iRidi Studio 2019 version:
- Drivers for professional systems;
- Importing data into iRidium studio;
- Sending commands from the i3 pro interface and displaying data;
- Tools for creating custom drivers.
The iRidi Studio interface editor includes tools for configuring commands and receiving feedback data from controlled equipment. It lets you work with system information from the device running i3 pro and create internal project variables that are not linked to physical equipment.
Most equipment and project variable configuration operations are performed in Project Device Panel.
For detailed information on working with automation and AV systems, see Equipment control.
This help section provides general information only.
iRidi drivers
A driver sends and receives data from equipment connected to iRidi. Each automation device has its own driver, which maintains the connection to the device and ensures correct data exchange.
Panel Project drivers are configured in Project Device Panel.
Device Panel - a database containing all drivers, devices, and commands for controlling equipment over TCP/IP, UDP, RS232, IR, and HTTP.
Project Device Panel - contains drivers already added to the iRidi project, as well as global and system variables (Tokens).
Creating a driver
Manual creation
Drag a driver from Device Panel to Project Device Panel. You can now configure the driver: specify Host, Port, and other equipment connection parameters.

Each device has three types of channels, grouped into folders within the device:
- Driver tokens - information about driver operation
- Commands - a list of commands to send to equipment
- Feedbacks - a list of feedback channels for receiving data
Importing from a configuration file
iRidi supports importing from the following files:
ETS Project (.pr3, *.pr4, *.pr5, *.knxproj) - import group addresses from ETS (KNX) Simpl project (.smw) - import Crestron joins Clipsal project (.xml) - import Clipsal groups iRidi Archive Project (.irpz) - import drivers from iRidi projects iRidi Server Project (.sirpz) - import an iRidi Server driver from an iRidi project Modbus CSV Files (.csv) - import Modbus registers from a csv table
Finding devices on the local network
iRidi supports scanning the local network to discover specific types of equipment. Scanning lets you quickly create a list of devices and their commands:
*HDL-BUS Pro Net (UDP) - equipment in an HDL-BUS Pro system *Lutron Net (UDP) - equipment in a Lutron system *DuoTecno (TCP) - equipment in a DuoTecno system *Domintell (UDP) - equipment in a Domintell system
Connecting to equipment
The top level of the device tree defines the address and type of the device to control.

Select the driver in the device tree and open the Properties tab. Specify the connection settings for the controlled equipment:
- Name - an arbitrary name for the controlled device
- Driver Type - the driver type; cannot be changed
- Connection - equipment connection settings
Commands - equipment commands
Pressing a button or moving a level slider sends a value to the equipment; a display item shows the received data.
Use Drag&Drop to link the equipment to the Panel Project interface. The item type determines which commands it can send.
Control:
You can use graphical items to write a selected value to a variable:
A graphical item with 1 or 2 states. Depending on its settings, the button can be latching or momentary. Each press sends the same commands bound to the button beforehand.
-
Create a variable to receive a number or string. Configure it as shown in the instructions
-
Create a button and configure it as follows (see all settings):
| Feedback | Button response to user presses and data received from the equipment | *Momentary - the button sends a value but does not display feedback | *Channel - sends a value and displays feedback | *None - does not react visually to presses or incoming feedback | *Invert Channel - sends a value and displays inverted feedback (false - on, true - off) |
|---|
- Drag the variable onto the button and specify the following in the variable-linking dialog:
| Event for Action | Interface event associated with the button. When the event occurs, the specified value is written to the variable | * Press - send when the button is pressed | * Release - send when the button is released | * Hold - send repeatedly while held | * Move - does not work with a Button | You can use several events at the same time. For example, send [ 100 ] on press and [ 0 ] on release. | |
|---|---|---|---|---|---|---|---|
| Value | The value to write to the variable. The button always sends the same value entered in Value | ||||||
| Add a feedback channel | (Create a feedback channel) Select this checkbox if the button should both write a value to the variable and change state when data is received from the same variable. The received value affects the button's on/off state and can be displayed in its text field. |
- The variable is now linked to the button. View all button relations in
OBJECT PROPERTIES > Programming
Toggle switching with a "Trigger Button" lets you alternate between 2 arbitrary values specified in Trigger Value 1 and Trigger Value 2. With feedback, the trigger automatically adopts the corresponding state and sends the value opposite to the current one when pressed. A trigger cannot be configured for 3 or more values.
-
Create a variable to switch between 2 values. Configure it as shown in the instructions
-
Create a button and configure it as follows (see all item settings):
| Feedback | Response to presses and data received from the equipment | *Channel - switches the value and displays feedback (other options are not used) |
|---|---|---|
| Trigger Value 1 / Trigger Value 2 | values to send alternately when the trigger is pressed; they depend on the variable type |
- Drag the variable onto the toggle and specify the following in the variable-linking dialog:
| Event for Action | Interface event associated with the button. When the event occurs, the specified value is written to the variable | * Press - send when pressed | * Release - send when released | Only one event can be used for a toggle at a time | |
|---|---|---|---|---|---|
| Add a feedback channel | (Create a feedback channel) Select this checkbox so the trigger knows its state and changes it when data is received from the variable and when pressed. |
- The variable is now linked to the trigger. View all relations in
OBJECT PROPERTIES > Programming
Pressing the level or moving its slider sends the controlled variable a number corresponding to the slider's current position.
-
Create a variable to adjust. Configure it as shown in the instructions
-
Create a level and configure it as follows (see all settings):
| Feedback | Level response to user presses and data received from the equipment | *Channel - sends the value and displays feedback (the slider moves when data is received) |
|---|---|---|
| Min / Max | Level adjustment limits: define the value range in which the slider moves | |
| Invert Range | Swaps the lower and upper ends of the level. For example, a vertical level from 0 to 100 will be adjusted from top to bottom instead of bottom to top. |
- Drag the variable onto the level and specify the following in the variable-linking dialog:
| Event for Action | Interface event associated with the button. When the event occurs, the specified value is written to the variable | * Press - send Value when pressed | * Release - send Value when released | * Move - send all intermediate Value values as the slider moves. * add Delay (100) before the command on the Move event to reduce equipment load (with Delay, Move triggers no more often than once every 100 ms) | All three events can be used simultaneously. | |
|---|---|---|---|---|---|---|
| Add a feedback channel | (Create a feedback channel) Select this checkbox so the level slider moves according to the variable's actual state |
- The variable is now linked to the level. View all relations in
OBJECT PROPERTIES > Programming
A graphical item with 2 states. Each press calculates a value greater than the current value by "Up/Down Value", without exceeding "Max/Min Value". The calculated value is sent to the variable, implementing a stepwise increment. The item requires real-time feedback from the variable.
-
Create a variable to increment. Configure it as shown in the instructions
-
Create a level and configure it as follows (see all settings):
Editor_window_Object_Properties_General_Up_Down.png
| Feedback | Level response to user presses and data received from the equipment | *Momentary - the button must appear pressed immediately; it does not display feedback visually |
|---|---|---|
| Up/Down Value | increment step (can be greater or less than zero) | |
| Min/Max Value | increment limit (minimum for a negative step, maximum for a positive step) | |
| Hold Value | increment step when Hold triggers. The equipment control command can be assigned to both Press and Hold so the value increases while the button is held | |
| Hold Time | time the button must be held before Hold triggers | |
| Repeat Time | On Hold event repeat rate |
- Drag the variable onto the button and specify the following in the variable-linking dialog:
| Event for Action | Interface event associated with the button. When the event occurs, the calculated increment value is written to the variable | * Press - send when pressed | * Hold - increment the value at the specified interval while the button is held | Two events can be used simultaneously. | |
|---|---|---|---|---|---|
| Add a feedback channel | (Create a feedback channel) Select this checkbox so the increment is calculated from the variable's actual state |
- The variable is now linked to the level. View all relations in
OBJECT PROPERTIES > Programming
A Radio Button is an interface item for selecting one of several preset options. iRidi does not have a separate radio button type; you can configure radio buttons using Trigger Button items. Radio buttons send values to variables from different buttons, only one of which can be selected.
Radio-button settings and behavior depend on the equipment variable you are working with. The following are several situations and configuration examples.
Option 1. Radio buttons for controlling a single variable with feedback. They write values to one variable; the equipment returns that variable's current state.
- Configure as many Trigger Button items as there are radio buttons (see the image). In
Trigger Value 1and 2, specify identical values corresponding to what each button should send to the controlled variable - Drag the variable's control command onto all radio buttons. Select
PressorReleaseas the send event and be sure to select theAdd A Feedback Channelcheckbox to display the variable state

- The configured button enters State 2 only when the variable takes the value specified in Trigger Value 1 and 2
Option 2. Radio buttons for controlling variables with feedback. They write on\off values to different variables; the equipment returns the current states of these variables. The automation equipment does not synchronize the variables for radio-button operation (inactive modes must be turned off on the iRidi side)
3. Configure the items with Type: Trigger Button, Feedback: Channel, and set Trigger Value 1 = inactive and Trigger Value 2 = the active variable state (for example, 0/1, 0/100)
4. Drag the variable control commands onto the graphical items. Using the first item in the group as an example:
Send zeros to all variables in the radio-button group to turn off the currently active mode. In the send-command dialog, select Action: Send Number
- Add a Delay(50) ms through the Press event macros editor to give the equipment time to disable the active mode
Drag the control command for the variable corresponding to the radio button onto the item. Leave Action: Send Token. Value on the Press (or Release), and be sure to select Add a Feedback Channel

- If operating modes are synchronized by the automation equipment (enabling one automatically disables the others), you do not need to send zeros to the variables being disabled. Complete only setup substep 2.3
Displaying the state:
A graphical item can display a variable value by changing its state or text:
- Configure the graphical item to display received values:

In General, select:
Feedback: Channel (if 0 = false) or
Feedback: Invert Channel (if 0 = true).
This feedback type lets the item process data received from variables
- Bind the equipment Feedback channel to the graphical item:

Drag the feedback channel or variable onto the item and select In Value
The item must have 2 states to work correctly. The first corresponds to 0, and the second to any nonzero value.
The template $V, added to the item's text, displays the received value in that text.
- Bind the equipment Feedback channel to the graphical item:

Drag the feedback channel or variable onto the item and select In Text
The item can have any number of states and any settings. The value is displayed in the text fields of all item states.

Add $V to the item's text. Drag the feedback channel or variable onto the item and select In Value in the binding dialog. This displays the received integer with any additional text.
Other templates display fractional numbers and more:
| $V | Integer part of the received value |
| $F1 ... $F5 | Floating-point value with a decimal point. 1 to 5 specifies the number of digits after the point |
| $F,1 ... $F,5 | Floating-point value with a decimal comma. 1 to 5 specifies the number of digits after the comma |
| $S | Number of the selected state |
| $X | Value in HEX format |
| $$ | Dollar sign |
| $P | (Levels only) Percentage of the Level's maximum value |
| $H | (Levels only) Maximum value of the Level |
| $A | (Levels only) Current value minus the Level's minimum value |
| $L | (Levels only) Minimum value of the Level |
| $R | (Levels only) Level range: maximum minus minimum |
Enter the template in the graphic item's text field. It can be combined with other text and symbols (comments or units of measurement)
Feedbacks - feedback
Link the feedback channel to the graphical item, specifying which item parameter it should affect:
- In Value - change the graphical item's state by switching it from inactive to active or moving the level slider
- In Text - replace the item's default text
- More... - select any item parameter to affect, such as opacity
A graphical item can display a variable value by changing its state or text:
- Configure the graphical item to display received values:

In General, select:
Feedback: Channel (if 0 = false) or
Feedback: Invert Channel (if 0 = true).
This feedback type lets the item process data received from variables
- Bind the equipment Feedback channel to the graphical item:

Drag the feedback channel or variable onto the item and select In Value
The item must have 2 states to work correctly. The first corresponds to 0, and the second to any nonzero value.
The template $V, added to the item's text, displays the received value in that text.
- Bind the equipment Feedback channel to the graphical item:

Drag the feedback channel or variable onto the item and select In Text
The item can have any number of states and any settings. The value is displayed in the text fields of all item states.

Add $V to the item's text. Drag the feedback channel or variable onto the item and select In Value in the binding dialog. This displays the received integer with any additional text.
Other templates display fractional numbers and more:
| $V | Integer part of the received value |
| $F1 ... $F5 | Floating-point value with a decimal point. 1 to 5 specifies the number of digits after the point |
| $F,1 ... $F,5 | Floating-point value with a decimal comma. 1 to 5 specifies the number of digits after the comma |
| $S | Number of the selected state |
| $X | Value in HEX format |
| $$ | Dollar sign |
| $P | (Levels only) Percentage of the Level's maximum value |
| $H | (Levels only) Maximum value of the Level |
| $A | (Levels only) Current value minus the Level's minimum value |
| $L | (Levels only) Minimum value of the Level |
| $R | (Levels only) Level range: maximum minus minimum |
Enter the template in the graphic item's text field. It can be combined with other text and symbols (comments or units of measurement)
- The maximum value that can be written to a feedback channel is 128 KB
Data display templates
| $V | Integer part of the received value |
| $F1 ... $F5 | Floating-point value with a decimal point. 1 to 5 specifies the number of digits after the point |
| $F,1 ... $F,5 | Floating-point value with a decimal comma. 1 to 5 specifies the number of digits after the comma |
| $S | Number of the selected state |
| $X | Value in HEX format |
| $$ | Dollar sign |
| $P | (Levels only) Percentage of the Level's maximum value |
| $H | (Levels only) Maximum value of the Level |
| $A | (Levels only) Current value minus the Level's minimum value |
| $L | (Levels only) Minimum value of the Level |
| $R | (Levels only) Level range: maximum minus minimum |
Enter the template in the graphic item's text field. It can be combined with other text and symbols (comments or units of measurement)
Macros
Several commands can be bound to one graphical item. They are sent to the equipment in order, from top to bottom, without a delay. Only 1 feedback channel can be bound, otherwise incoming data is processed incorrectly.
To bind several commands to 1 graphical item, drag them onto the item one by one. Select the appropriate events (Press, Release, Move) in the binding dialog:

- Add a delay between commands through the macros editor. Select the folder
Otherand the commandDelay. Adding a delay is recommended to ensure that equipment processes commands reliably.

System event notifications
A notification is a message, sound, or action that informs the user of changes in the system. Notifications work when the i2 Control application is running in the foreground on the control panel. They are configured using iRidi Script and can perform any action available in iRidi Script.
Notifications in the background (when the application is minimized or closed) are currently not supported.
The iRidi notification system MUST NOT be used as the primary means of notifying users about important and potentially dangerous situations! iRidi notifications may be used as a secondary system alongside SMS, e-mail, notifications from the site's security (operations) service, or other systems.
A notification can:
- display a text message on a graphical item;
- display a popup or page with a notification
- play a sound;
- automatically invoke a command for the controlled system (turn on a light, turn off the radio when the intercom rings,...)
With iRidi Script, you can define any conditions and the actions to perform when those conditions occur.
Usage examples:
- display the video intercom dialog when an incoming call is received;
- display a notification when a leak sensor is triggered.

Configuring notifications:
- Create a Panel Project and configure its user interface and drivers (following the instructions for your equipment)
- Create a script file
- In the script file, create handlers for the driver events that should trigger notifications
Notify when connected to equipment (Online)
Event : : successful connection to equipment ("My Driver"). The equipment can be any driver in the Panel Project.
Action : : on the graphical item ("Item 1") on the page ("Page 1"), display text describing the event (for example, " System Online") and its time in 24-hour format ("System.Time.24"). Change the displayed text color to green.
Example: :
/* * * * * online notification ****/
IR.AddListener(IR.EVENT_ONLINE, IR.GetDevice("My Driver"), function()
{
// notification
IR.GetItem("Page 1").GetItem("Item 1").Text = IR.GetVariable("System.Time.24") + " Online";
// text color
IR.GetItem("Page 1").GetItem("Item 1").GetState(0).TextColor = 0x00FF00FF;
});
Notify when disconnected from equipment (Offline)
Event : : disconnection from equipment ("My Driver"). The equipment can be any driver in the Panel Project.
Action : : on the graphical item ("Item 1") on the page ("Page 1"), display text describing the event (for example, " System Offline") and its time in 24-hour format ("System.Time.24"). Change the displayed text color to red.
Example :
/* * * * * offline notification ****/
IR.AddListener(IR.EVENT_OFFLINE, IR.GetDevice("My Driver"), function()
{
// notification
IR.GetItem("Page 1").GetItem("Item 1").Text = IR.GetVariable("System.Time.24") + " Offline";
// text color
IR.GetItem("Page 1").GetItem("Item 1").GetState(0).TextColor = 0xFF0000FF;
});
Automatically open a popup when a channel is activated
Event : : receipt of a value (1 and 2) from the channel ("Channel 10") of the driver ("My Driver"). The equipment can be any driver in the Panel Project.
Action :
-
When 1 is received, open the popup ("Popup 1") and display text describing the event (for example, " Lamp in Garden broken") and its time in 24-hour format ("System.Time.24") in the popup's text field ("Item_Display").
-
When 2 is received, open the popup ("Popup 1") and display text describing the event (for example, " Lamp in Garden Response Failed. Please Check") and its time in 24-hour format ("System.Time.24") in the popup's text field ("Item Display").
Example: :
/* * * * * event notification (Tag Change) ****/
<!--T:54-->
var old_value1 = -1; // do not show notification if the previous state is the same
var old_value2 = -1;
<!--T:55-->
IR.AddListener(IR.EVENT_START, 0, function()
{
IR.AddListener(IR.EVENT_TAG_CHANGE, IR.GetDevice("My Driver"), function(name, value)
{
if (name == 'Channel 10' && value == 1 && value != old_value1) // Check the Value: 1 in "Channel 10"
{
IR.ShowPopup("Notify_danger");
IR.GetItem("Popup 1").GetItem("Item_Display").Text = IR.GetVariable("System.Time.24") + " Lamp in Garden Broken";
old_value1 = value;
}
else if (name == 'Channel 10' && value == 2 && value != old_value2) // Check the feedback "Channel 10'"
{
IR.ShowPopup("Notify_important");
IR.GetItem("Popup 1").GetItem("Item_Display").Text = IR.GetVariable("System.Time.24") + " Lamp in Garden Failed";
old_value2 = value;
}
});
});
Play a sound when a channel is activated
Event : : receipt of a value (1) from the channel ("Channel 11") of the driver ("My Driver"). The equipment can be any driver in the Panel Project.
Action :
- When 1 is received, play a notification sound and, in the graphical item ("Item 5") on the page ("Page 1"), display text describing the event (for example, " Incoming Call") and its time in 24-hour format ("System.Time.24").
Example :
/* * * * * event notification (Tag Change) ****/
IR.AddListener(IR.EVENT_START, 0, function()
{
IR.AddListener(IR.EVENT_TAG_CHANGE, IR.GetDevice("My Driver"), function(name, value)
{
if (name == 'Channel 11' && value == 1) // Check the Value = 1 in Feedback "Channel 11"
{
IR.PlaySound('BEEP1.WAV',1,70); // Play Sound ('name',slot,volume)
IR.GetItem("Page 1").GetItem("Item 5").Text = IR.GetVariable("System.Time.24") + " Incoming Call";
}
});
});
download:
KNX notification example: simple notifications and a notification center
iRidi variables (Tokens)
A special type of variable in the iRidi project's device tree. There are 3 token types:
-
System Tokens - system variables. Most are read-only, but some can be written. They provide parameters of the control panel running i3 pro: system time, battery charge, network status, etc.
-
Project Tokens - project variables. They support reading and writing. You can write a number, string, or array to a project token and then use it in the project. Tokens are not cleared when the project restarts if the Clear Token checkbox in Project Properties is not selected.
-
Driver Tokens - driver variables. They are read-only. They provide driver parameters: connection status, connection host and port, etc.
System Tokens - system tokens
System tokens are located in Project Device Panel. They return parameters of the device running the project. Some are writable; the rest are read-only.
A token can be linked to a graphical item.
For a list of system tokens, their purposes, and usage, see Tokens API
Project Tokens - project tokens
A project variable stores data that can be read and written. A graphical item, driver, or script can read and write the data.
- Variables are stored in the project's device tree (Project Device Panel)
- A variable can store a number or string (DEC or ASCII).
- Variables can be declared, deleted, copied, sorted, and grouped into folders.
- Variable data can either be retained or discarded when the iRidi application closes.
- Data can be written to a variable by a command from an item, a driver, or iRidi Script
Data can be written to Project Tokens using the Send to Token macro group in the Macros Editor of the graphical item:

- Send Number - write a decimal number to the token (DEC format)
- Send Text - write text to the token (ASCII format)
- Send Token - write data taken from graphical item parameters to the token (Value, coordinates, dimensions, text, etc. - variable values determined by the object's current properties)
To read data from Project Tokens, drag a Token onto a graphical item:
- In Text - write the token value to the item's Text property. The data is displayed on the item regardless of its type (string or number).
- In Value - write the token value to the item's Value property. The graphical item changes to the state corresponding to the number in the global variable (state numbering starts at zero). In this case, the global variable must contain a number. If the Text property of the graphical item contains the value display template $V , the global variable's value is also displayed on the item.
- More - write the token value to any user-selected Property of the graphical item. In this case, the global variable must contain a number.
For example, write the value of the project token Menu to the graphical item's Opacity property:
Project tokens can retain data after the iRidi application closes.
To clear project token values when the application closes, go to Project / Project Properites / System and select the checkbox for Clear Token .
Typical tasks:
- linking buttons without using a driver (equipment) or a script
- creating radio buttons (the Radio-Buttons menu)
- project demo mode (commands and feedback not linked to physical equipment)
- retaining useful data between project restarts
An example of creating a navigation menu using project tokens (the buttons interact as radio buttons: only one linked item is active at any given time):
-
Create three graphical items and set the following parameters in the Object Properties panel on the Programming tab:
-
Create the Menu token and drag it onto the graphical items, selecting the In Value binding.
-
For each graphical item, create a Send Number macro that writes the graphical item's ordinal number (1, 2, 3) to the global variable Menu.

download:
Token and Radio Button usage example
Driver tokens - driver tokens
They show the equipment connection status and are read-only. Drag a token onto a graphical item as a feedback channel: the token value can be displayed in a text field or used to change the item's state.

- Online - connection state to the controlled system (Online/Offline = 1/0)
- Status - system connection status (Offline/Connecting/Online/Waiting = 0...3)
- Host - the remote system's domain name
- HostPort - the port on the remote system to which i3 pro connects
- IP - the control panel's IP address
- HostIP - the IP address of the remote system to which i3 pro is connected
- Port - the client's local port used to communicate with the remote device