iRidi Studio
Project for iRidi Server
This section describes creating an iRidi Server project in iRidi Studio. iRidi Server processes data from automation equipment, saves it to a database and passes information to control panels. A server project has no graphic part; it consists of scripts and a list of equipment to communicate with.
Create a new project for iRidi Server:
iRidium Studio > File > New > **New Server Project**

Server project workspace
After starting iRidi Studio and creating a new Server Project , you will see a workspace consisting of:

- Studio settings *
drop-down menus providing access to editor settings: File, Project, Tools, Help, View - Server project overview (Project Overview) *
navigation between input/output settings and server parameters -
I/O * - select this server project section to view server tags and driver tags
-
Config * - select this section to view server settings
- Server tags (Server Tags) *
a list of variables used to generate the iRidi Server driver in the Panel Project. You can create virtual tags not linked to physical equipment (populated by a script) - Server tag settings
iRidi Server tag parameters (name, units, database storage, JS function binding, etc.) - Driver tags (Driver Tags) *
equipment variables to which iRidi Server must connect. All variables on this tab are mapped to server tags. The control panel accesses the equipment through server tags - Driver tag settings
parameters of drivers used by iRidi Server. Creating a driver variable automatically creates a server tag with the same name - Device database (Device Base) *
a repository of built-in iRidi drivers (products). Includes user tools for creating drivers and additional script driver databases. - GC Cloud (IR Database) *
an IR command database for use with Global Caché converters
Server project overview (Project Overview)
Project Overview lets you navigate between server settings windows:

| I/O - inputs/outputs; opens server tags and driver tags for editing | Config - server project settings |
Server tags and driver tags (I/O)
This tab opens when you click I/O in Project Overview

1. Virtual variables (Virtual) - variables to which you can write any data produced by scripts (numbers, strings, arrays). Virtual variables can be changed from the control panel.
- Virtual > Channels - writable variables
- Virtual > Tags - readable variables
2. Server tags (Server Tags) - variables generated automatically when controlled equipment is added to Driver Tags. The tag name matches the driver variable name in Driver Tags
- Driver > Driver Tokens - equipment connection information, read-only
- Driver > Commands - writable variables
- Driver > Feedbacks - readable variables
3. Tag settings - configure virtual tags and server tags.
-
write settings
-
- Name - short name
-
- Full Name - full name for access from scripts
-
- Description - optional description
-
- Script - execute a JavaScript function without arguments whenever the tag is activated
-
read settings
-
- Name - short name
-
- Full Tag Name - full name for access from scripts
-
- Description - optional description
-
- Store In DB - store all changed values in the database
-
- Access - variable type: Public - can be changed from the control panel; Private - can only be changed from the server
-
- Deadband - a change tolerance to disregard when plotting a chart from tag data. For example, with Deadband: 0.5, a variable change of 0.3 is not displayed on the chart in the client application
-
- Script - execute a JavaScript function without arguments whenever the tag is activated
4. Driver tags (Driver Tags) - equipment variables to which iRidi Server must connect. All variables on this tab are automatically mapped to server tags.
5. Tag settings - configure variables of equipment controlled by the server. These settings are specific to the driver type used by the server.
Server configuration (Config)
This tab opens when you click Config in Project Overview

1. Job Notes - project information. Displayed in Panel Projects linked to this server project *Customer/Order - customer, invoice *Project Name - project name *Address - automation site address *Phone - customer's phone number *Email - customer's e-mail address
2. Description - project progress notes and version history. Displayed in Panel Projects linked to this server project
3. General - basic project parameters *Project Name - server project name
4. Settings - settings for the server and the iRidi Server driver that links the server project to the Panel Project. This information is displayed in all Panel Projects linked to this server project:
*Server host - server IP address *Server port - server connection port (default: 30464) *Login (future functionality) - login for connecting panels to the server *Password (future functionality) - password for connecting panels to the server *System ID (future functionality) - unique server identifier for the push notification system and DDNS server
5. Debugging Log Level - level of detail displayed in the server log:
*Global - sets the upper logging limit shared by all log subcategories. No subcategory displays information above the level specified in Global *Core - generated by the server core *Database - generated by the database *Script - generated by scripts *Webserver - generated by the web server
Logging levels:
- EMERGENCE - the application cannot be used
- ALERT - immediate action is required
- CRITICAL - critical errors; the application cannot operate
- ERROR - errors; the application can operate
- WARNING - warnings; the application can operate
- NOTICE - significant notices; the application can operate
- INFO - basic information
- DEBUG - all information
Click Save at the bottom of the settings window to save the server settings.
Script editor (JS Editor)
A tool for creating JavaScript programs that run on the server. Scripts define the server's operating logic. The server supports its own set of JavaScript methods and properties.
open the iRidi script editor

| Icon | Action / Description |
|---|---|
| New script file: * create a script file * open a script file (*.js) | |
| Delete the script file selected in the list | |
| Move up / move down | |
| Set a password for viewing and editing the script file (save and reopen the project for the password to take effect) | |
| Apply script changes | |
| Save to a *.js file | |
| Open in an external editor * Encrypted scripts cannot be opened in an external editor * If no external editor is selected in the settings, clicking opens the external editor settings | |
| Undo / redo a change | |
| Insert a color value in the editor | |
| Show / hide help on IR methods and events | |
| Search for a word or string (Ctrl+F) | |
| Enable the script in the client | |
![]() | Disable the script in the client (disabled scripts are marked with a gray icon) |
| Enter the password | |
| Reset the password (leave Set new password empty to remove it) |
- Script tab settings (tab size, external editor) are located in Studio settings: Tools > Studio settings > Script
Device database (Device Base)
This is a database of drivers, commands, and script modules for controlling various equipment. It stores all supported iRidi devices that you can use in your projects.

| Add* - add a driver from the database to the project. Use drag and drop: drag the driver from the Device tab to the Project tab | |
| width = "4%"| | Edit* - edit the database. This professional tool lets you create custom databases and modify existing ones. It cannot be used with the main iRidi database. |
Database editor (DataBase Editor)
A tool for creating preconfigured drivers, commands, and channels based on the AV & Custom Systems driver.
This professional tool lets you configure control of any AV equipment, media server, converter, or other device. For details, see data processing.
Edit - open the database editor
| width = "4%"| | New* - create a new database. Used for professional equipment configuration and creating custom devices based on the AV & Custom Systems driver |
| Attach* - add a new database to the GUI Editor list | |
| Detach* - remove the selected database from the GUI Editor list |
GC Cloud (IR Database)
GC Cloud is an online IR command database for the Global Cache.
Click the refresh button to load the list of manufacturers and commands (an Internet connection is required)
Database structure:
- Brands - equipment manufacturers
- Device Types - equipment categories for a manufacturer
- Codesets & Commands - models and their IR commands
Drag the command folder onto the IR output of the Global Cache driver in your project. The commands are preconfigured and do not need editing:
Commands and folders can be dragged between the IR outputs of GC modules in the project.
Project encryption
Full project encryption (saving in a protected format)
An iRidi project (**.irpz, .sirpz ) can be saved in a protected format that prevents third parties from modifying the project or accessing its settings and resources (icons, sounds, images, equipment channels).
A protected project (.pirpz, '.psirpz ) cannot be opened in Studio, but can be uploaded to a control panel, where the application automatically unpacks it and runs the interface.
Project encoding is an irreversible process . A file saved in *.pirpz format cannot be converted back to *.irpz or edited. It can only be uploaded to a control panel. The encoded project is saved alongside the source project; only the source project can be edited.
There are also methods of protecting data within an *.irpz project without encoding the entire project:
Encoding a script file
You can restrict viewing and editing of a script (iRidi Script) by setting an access password:
Studio settings
Commands available in the drop-down menus
| Open Project | Open a previously saved project in the editor (*.irpz) | ||||
|---|---|---|---|---|---|
| Save Project | Save the selected project (*.irpz) | ||||
| Save Project As... | Save the project under a different name | ||||
| Close Project | Close the selected project | ||||
| Close All Projects | Close all projects open in the editor | ||||
| Reopen | A list of recently opened projects. Click a project to open it | ||||
| Save Protect Project | Save an encrypted project (*.pirpz) that can be uploaded to a panel but cannot be edited. The encrypted file is saved alongside the source file. It cannot be converted to *.irpz and modified. Details | ||||
| Import | Import data from controller configuration files or other iRidi projects into the open project: | pr3, pr4, pr5, knxproj - import group addresses from ETS (for KNX equipment) | csv - import registers for Modbus (a special Modbus CSV table in iRidi format) | smw - import joins for Crestron | irp, irpz - import drivers with all commands and settings from other iRidi projects |
| Exit | Close the editor and all projects open in it. Prompts you to save project changes. |
| Section | Description |
|---|---|
| Languages | Select the editor interface language |
| Studio settings | Basic iRidi GUI Editor settings: - Emulator settings - Image import settings for the gallery - Object display - Update checks - Network scan settings - Project backups Open the settings: Tools > Options "Emulator" - i3 pro Emulator settings: - Client Fullscreen - start the Emulator in full-screen mode - Client Sound On - play sounds in the Emulator - Show log at Emulator start - open the log window (F4) "Showing" - editor workspace display settings: - Channels Count - display the number of commands linked to an item - Font - size and type of the font displayed for items - Show Items In Tree - show graphical items in the project's page tree - Grid - enable and configure the grid - Grid Color - grid color - Render - rendering type "Scan" - network scan settings for HDL Buspro - Scan Count - number of network scan cycles - Scan Timeout, ms - duration of one scan cycle "File Operating" - project autosave and backup: - Backup, Backup Path - create a backup version of the project whenever it is saved - Check updates at start - check for updates when the editor starts - Check BETA-builds - check for beta versions - Divider for file group operations - delimiter when importing an animated object "Default Control Settings" - font settings for a new item: - Font - font type and size - Font Color - text color - State 1 - first state color - State 2 - second state color "Script" - script settings tab: - Tab size - Tab size - External editor - select an external script editor External editor: - Update without request - automatically update the script - Procedure for adding an external editor: 1. Click the "+" button 2. Select the program and click OK 3. Click OK in the External editor window 4. Click OK in the Studio settings window |
| Certificates | Generate certificates for the app store (under development) |
| Default Panels Size | Restore the default layout of editor panels and windows |
| Update Editor | Check for editor updates. Updating modifies the editor and its accompanying applications. Settings are retained. |
|---|---|
| Send Bug Report | Send a bug report to the technical support portal |
| About | Editor version information |
