- iRidi Studio 2019
- Importing data into iRidi Studio from various automation systems
Importing data into iRidi Studio
This section covers import specifics for data from various sources
Adding a driver
For details on drivers, their purpose, features and configuration, see Drivers for professional systems. This section covers import specifics for data from various sources.
You can add a driver to an i3 pro interface or iRidi Server:
- by importing a file containing your equipment configuration, or by scanning the local network. The following are supported (see iRidi Studio for the current list):
- AMX (TPDesign, *.TP4, *.TP5) - not shown in driver import, but a TP4 project can be opened in Studio just like *.irpz; the *.TP4 file is automatically converted to the i3 pro format;
- BACnet - import from SBO Workstation;
- Crestron (SIMPL, *.smw) - file import; creates a list of joins;
- Domintell - network scanning;
- DuoTecno - network scanning;
- HDL-BUS Pro - network scanning;
- iRidi project (iRidi Studio, *.irpz, *.sirpz) - file import; adds drivers from one project to another;
- KNX (ETS, *.knxproj) - file import; creates a list of IP interfaces and group addresses;
- Larnitech - PLC scanning;
- Universal import from CSV file (*.csv) - imports a driver from a *csv file into iRidi;
- Universal import from JS (*.js) - imports a driver from a *.js file into iRidi;
- Velbus - network scanning.
- from the database , which contains drivers of different types that you can use in your project. Commands and feedbacks must be created manually
- by creating it through JavaScript . It is not shown in the device tree, but works when i3 pro runs, in the way defined by the developer. See JS API.

AMX. Using a TPDesign project
TPDesign files (*.TP4, *.TP5) are not shown in driver import, but a TP4 project can be opened in Studio just like *.irpz; the *.TP4 file is automatically converted to the i3 pro format and becomes editable. Reverse compatibility is not supported: you cannot save an iRidi project in TP4 or TP5 format, since iRidi uses many components that have no AMX equivalents. Studio opens the project with editable graphic items and sounds.
-
Use
File > Opento create an i3 pro interface based on an AMX interface. -
After importing the file, iRidi Studio also offers to import sounds linked to items (SingleBeepSound) from the TPDesign project:

BACnet. Importing from SBO Workstation
The equipment configuration can be saved as xml and imported into iRidi.
- Save the project file as *.xml (BACnet Project)
- Sign in to StruxureWare Building Operation Workstation
- In StruxureWare Building Operation, right-click Enterprise server and select Import... from the drop-down menu
- Create a project in iRidi Studio, open
File > Importand select *.xml (BACnet Project) for import - The file is used to create a driver with channels and tags

Crestron. Importing from SIMPL Windows
- You must add any panel to the SIMPL Windows project and configure its IP ID; iRidi control devices use this IP ID to connect to the Crestron controller:

Create a project in iRidi Studio and use File > Import, or click the import button in the device pane. Select a SIMPL Windows project (*.smw ) for import:

Select the join folders intended for the control panel. The resulting driver contains writable joins (Commands) and readable joins (Feedbacks):
You can also add an empty Crestron driver and create the join list manually.
Domintell. Scanning the network
The Domintell bus can only be scanned on the local network over UDP, by specifying the IP address of the DETH02 used for scanning. Before starting, close all active connections to DETH02.
Create a project in iRidi Studio and use File > Import, or click the import button in the device pane. Select the Domintell network scanner and enter your DETH02 IP address. 
If you cannot scan the network, add Domintell Network (UDP) and its controlled devices manually:

Supported Domintell Light Protocol devices:
- DPBUT1 (BU1), DPBUT2 (BU2), DPBUT4 (BU4), DPBUT6 (BU6), DISM04 (IS4), DISM08 (IS8), DISM20 (I20)
- DPBR02 (BR2), DPBR04 (BR4), DPBR06 (BR6)
- DPBL01 (B81), DPBL02 (B82), DPBL04 (B84), DPBL06 (B86)
- DAMPLI01 (AMP)
- DINTMB01 (MBD)
- DBIR01 (BIR), DMR01 (DMR), DTRP01 (TRP), DLED01 (LED)
- DTRV01 (TRV), DTRP02 (TPV), DTRVBT01 (V24)
- DDIM01 (DIM), DOUT10V01 (D10), DINTDALI01 (DAL)
- DLCD03 (LC3), DPBTLCD0x (PBL), DPBRLCD0x (PRL), DTEM01 (TE1), DTEM02 (TE2), DTSC01_03 (TSB), DTSC04 (LT4)
- DMOV01 (DET), DIN10V01 (I10), DISM04 (IS4), DISM08 (IS8)
- SOFT_VAR (VAR), SYS_VAR (SYS), MEM (MEM), SFE (SFE), ZON (ZON)
- FAN01 (FAN), DMV01 (DMV)
HDL-BUS Pro. Scanning the network
Scanning the local network automatically creates a list of devices available for control, like Search in HDL setup tool. Specify the scan duration (ms) and the number of scan attempts. If not all network devices are found, increase the duration and scan again:

After adding devices, a window opens where you can set the device polling interval:
- On Start Update - set the interval for all channels with Use Timer enabled by default. Select the checkbox and specify the request interval in seconds; it is applied to all channels that request device status.
- Every Channel - set the polling interval for commands whose timer is disabled by default
- The same dialog appears when loading a project created in iRidium v2.
To add controlled devices (subdevices) to an HDL driver manually, add HDL Network and select "Add subdevice":

iRidi database (iRidi Studio, *.irdb). Importing a driver from a database.
*iRidi database (iRidi Studio, .irdb) lets you import a driver from a database created in the old Studio.
Example:
- Select iRidi database (iRidi Studio, *.irdb) from the list and specify the file path.

- The list displays the drivers specified in the import file.

KNX. Importing from ETS
iRidi Studio supports import from ETS5 in *.knxproj and *.csv formats. Using English in the project name is recommended. The Windows language must match the project language for names to import correctly.
A dedicated tool for importing ETS5 projects into i3 pro is ETS import . For details, see the article on ETS Import.
- If the ETS project is password-protected, save it without a password; otherwise, import fails
- Save the project file as *.knxproj.
- Create a project in iRidi Studio, open
File > Importand select the ETS project to import - Project extraction begins. In the extraction dialog, specify the IP interfaces to add:
- KNX Router (Interface) - contains all 3-level group addresses in the ETS project
- KNX IP BAOS - contains Datapoints, intermediate addresses linked to group addresses. Control through Datapoints has specific configuration requirements (see the BAOS information)
- A dialog lists addresses whose data size could not be determined during import; these are not added! Check that these addresses are fully configured in ETS and contact support
- Complete the import; the interfaces with imported addresses appear in your project
- In ETS, set the Read checkbox for group addresses that must be polled when i3 pro or iRidi Server starts (depending on where the driver runs). Polling takes place once at project startup (with up to 3 attempts) to update group address statuses. Startup polling can be disabled in each address's settings; the Read flag in ETS allows addresses to respond to polling.

Larnitech. Scanning the controller
Larnitech scanner queries the Larnitech controller for available devices and adds them to the iRidi Studio driver list.
- Select Larnitech scanner in the import list.

- Enter the settings:

- IP address - IP address of the Larnitech gateway or controller;
- Port - 8888 by default;
- Key for API - access key. To find it, open the gateway or controller web interface (LT Setup), then open the plugins tab.
- Then configure the devices in iRidi Studio using the article.
Universal import from CSV File (*.csv)
Universal import from CSV File lets you import drivers from a table in CSV format.
CSV (Comma-Separated Values) is a text format for tabular data. A table row corresponds to a text line containing one or more comma-separated fields. Most Excel spreadsheets can be represented as csv. This format is convenient for repeatedly importing drivers with similar settings into projects.
Example:
File structure

- Driver settings (marked in green):
- Name - driver name;
- Driver Type - driver type and connection protocol;
- Parameters - connection settings (Host, Port and other driver-specific settings).
- Command settings (marked in yellow): a table is created with command parameters in its headers and their values below.
- Feedback settings (marked in blue): a table is created with feedback parameters in its headers and their values below.
- All driver parameters and possible values can be found in iRidi Studio.

-
When creating a CSV file, use a semicolon as the field separator and double quotation marks as the row separator.
-
Periods and colons must not be used in channel and feedback names. They are reserved for parsing.
-
CSV import is not applicable to drivers marked "Network".

Importing a CSV file
- Select Universal import from CSV file (*.csv) from the list and specify the file path.

- After import, new drivers are added to the project.
Universal import from JS (*.js)
Universal import from JS imports drivers from a js text file containing a json data structure. Json describes the list of drivers to import. The file lets you specify driver connection properties and create commands and feedbacks.
For complete driver import instructions, see here.