Skip to main content

iRidi Pro Server (ProAV Control Processor)

Installing and starting iRidi Pro Server on ProAV Control Processor controllers

Documentation updated 01.01.2024

General information​

iRidi Pro Server (ProAV Control Processor) is an implementation of iRidi Pro Server that runs as a daemon or console application on controllers, including the ProAV Control Processor.

The instructions in this article apply to the following products:

  • ProAV Control Processor Basic (PX-VM20-Basic);
  • ProAV Control Processor Advanced (PX-VP100-Advanced).

Specifications​

For current technical specifications, see the article for the corresponding controller:

First startup​

  1. Connect the controller to the local network and power supply according to the instructions.

  2. Use iRiditransfer or a standard LAN scanner (such as Advanced Port Scanner) to determine the IP address of the ProAV Control Processor.

  3. Use this address to open the server web interface in a browser:

The server obtains its license and project from the cloud after the developer (integrator) signs in to the server web interface using an account on iridi.com. To do this, start the server, open the web interface, and activate the server:

  1. Enter the username and password for the integrator account in which you created the site containing the server project
  2. Set a service password for access to the server settings. The default is 2007
  3. You will then see a list of sites and server projects from iRidiCloud. Select the project that should run on the server and click it to download it (skip this step if you have not used the cloud yet)
  4. On the Cloud tab of the server web interface, you can download a project to the server (Projects) or deactivate the server (Deactivate Server). When Test Mode is enabled, you can upload projects from iRidiTransfer to the server

CloudServerAuthorize.png CloudServerServicePass.png CloudServerProj.png CloudServerWebCloudTools.png

Note

The router must have its DHCP server enabled. If obtaining an IP address fails, the static address 192.168.77.77 is assigned.

Changing the IP address​

Change the controller's IP address to match your network infrastructure's addressing scheme. The settings are available in the server web interface under SYSTEM > Network .

You can assign:

  • A dynamic address (DHCP), or
  • A static address

DHCP address (assigned automatically):

HS_Server12.png

Static IP address:

HS_Server13.png

Note

To apply the settings, click Save, return to the web interface home page, and click Reboot System. The web interface will then be available at the new address. If you lose access to the web interface, follow the Factory reset instructions to restore the default IP address settings.

Security settings​

The Security page under SYSTEM in the iRidi Server web interface contains the server's security settings.

Password​

This function changes the password used to access the server web interface.

To change the password, enter your current password, enter a new password, and repeat it.

After you click Change service Password, the new password will be used to access the server web interface.

Sec_psw.png

Secure connection​

This function enables a secure HTTPS (SSL) connection for accessing the iRidi Server web interface.

To enable a secure connection, select the Enable secure connection checkbox on the Security tab of the web interface and click Save.

Sec_con.png

After this function is enabled, the server changes the web interface access port to 8443 (server IP address:8443).

To disable SSL access, clear the checkbox and click Save. The server restores its standard port 8888 for web interface access (server IP address:8888).

SSH Connection​

This function controls whether the server can be accessed over SSH.

To restrict SSH access to the server, select the corresponding checkbox on the Security page and click Save.

Sec_SSH.png

Note

Access is restricted only if a project has been uploaded to the server!

To restore SSH access to the server, clear the checkbox and click Save.

Updating the server​

  1. Open the server web interface under SYSTEM > Info, then click Update.

  2. Select Get latest version from the iRidium website (selected by default) and click UPDATE. The latest server version will be installed automatically from iridi.com.

Note
  • If required, you can install a specific server version using a link to the update file. To do this, clear Get latest version from the iRidium website, paste the file download link into the input field, and click UPDATE

  • The link can be copied from iridi.com under Downloads.

HS_Server14.png

The server web interface will be unavailable for several minutes, then the updated server will start automatically.

Important

Do not disconnect controller power during the update! With a large database, the update can sometimes take up to several tens of minutes!

Factory reset​

To reset the iRidi Pro Server (ProAV Control Processor) controller to factory settings, follow the instructions:

Note

Before resetting the controller to factory settings, disconnect all connected interfaces, including network interfaces.

Recovery​

If you cannot open the iRidi Pro Server web interface (the server does not start or the web interface does not work), follow these emergency startup, firmware update, and rollback instructions for the controller. This requires connecting to the device (controller) over ssh.

Connecting to the device (controller) over SSH​

  1. Determine the controller's IP address using a convenient method (for example, iRidi transfer or a LAN scanner).
  2. Download and start PuTTY.
  3. Configure the program as follows:
  • Host Name (or IP address):
  • Port: 22
  • Connection Type: SSH and click Open.
  1. In the console that opens, enter:
  • Login as: root
  • root@XXX.XXX.XXX.XXX's password: iridi (the password is not displayed while you type)

HS_Server6.png

  1. If the login and password are correct, you will see the welcome message IRIDI. A command line becomes available for forcing the server to start, updating it, and rolling it back.

Connecting to the device (controller) over SSH using RNDIS​

Note

Connecting to the device over SSH using RNDIS is available only for ProAV Control Processor Advanced.

  1. Connect the microUSB interface on the front panel of the controller to a USB-A interface on your PC using a suitable cable.

  2. An additional Remote NDIS network adapter will appear among your PC's network interfaces.

ProAV_Advanced7.png

  1. Connect to the controller over SSH using IP address 192.168.177.77

Changing the password​

  1. To change the default password, use the passwd command while connected over SSH .

Password1.png

  1. The system prompts for a new password. Enter the new password.

Password2.png

Note

Bad password warnings do not prevent the entered password from being saved. Even if a warning appears, the system will ask you to re-enter the password.

Password3.png

If the passwords match, you will see a message confirming that the password was changed successfully: password for root changed by root .

Forcing the server to start​

  1. Go to the /iridiumserver/ directory: cd /iridiumserver/

  2. Enter the command to start the server in the background (so it keeps running after PuTTY is closed) ./iridium --force --hidden

  3. If successful, the server starts and is ready for operation.

HS_Server9.png

Updating and rolling back the version​

Perform these steps if access to the server web interface is completely lost. If internet access is unavailable, follow Updating and downgrading without internet access.

  1. Download the latest version of ProAV Control Processor Basic to the controller's root directory: wget -O iridiumPro.ipk --no-check-certificate https://iridi.com/redirects/?go=iRidium_Server_HS_Server

  2. Check the directory contents (make sure the .ipk file is present): ls

  3. Start installing a newer server version: opkg install iridiumPro.ipk

Or downgrade the server to an older version: opkg install --force-downgrade iridiumPro.ipk

Note

When installing an older version, installation will not proceed without --force-downgrade.

HS_Server22.png

  1. After installation, the server starts automatically and is ready for operation.

Updating and downgrading without internet access​

  1. Install and start WinSCP:
  • Select "Новое подключение" (new connection) and configure:
  • "Протокол передачи" (file protocol): SCP
  • "Имя хоста" (host name):
  • "Порт" (port): 22
  • "Имя пользователя" (user name): root
  • "Пароль" (password): iridi

Click Login ("Войти" in the pictured Russian interface; sign in).

HS_Server17.jpg

  1. Using WinSCP, copy the ProAV Control Processor server installation file (.ipk) to the /root directory of the iRidi Pro Server (ProAV Control Processor) controller.

HS_Server18.jpg

  1. At the command prompt, check the root directory contents (make sure the .ipk file is present): ls

  2. Start installing a newer or the same server version: opkg install .ipk

Or downgrade the server to an older version: opkg install --force-downgrade .ipk

Note

When installing an older version, installation will not proceed without --force-downgrade.

HS_Server19.jpg

  1. After installation, the server starts automatically and is ready for operation.

Server configuration​

  1. Once ProAV Control Processor is ready, start developing its configuration and logic: Server project in iRidi Studio.

  2. Upload the completed project to iRidi Server: Starting the iRidi server configuration.

Configuring the ProAV Control Processor driver​

ProAV Control Processor is a driver that lets you create an interface for controlling and configuring the AV processor.

ProAV Control Processor has a range of input and output ports for controlling various equipment:

  • Inputs: universal R, V inputs (0-50 kOhm, 0-12VDC). Configured as Button by default;
  • Relays: low-current relays (NO, 3A, 24VDC);
  • IR: IR outputs on the rear panel for controlling equipment, and an IR input on the front panel for learning IR commands.

The purpose and functions of the inputs and outputs are defined by the server project containing the ProAV Control Processor driver.

Only one ProAV Control Processor driver can be added to a server project.

The input profiles and processor model can be selected only when adding the ProAV Control Processor driver from the driver database. These settings cannot be changed after the driver is added to the project.

Configuration in iRidi Studio​

  1. On the Devices tab of the server project you created, add the driver ProAV Control Processor .

ProAVDriver1.png

  1. In the window that opens, select your ProAV Control Processor model and the required input profile (Inputs).

ProAVDriver2.png

Profile:

  • Button,
  • Temperature Sensor,
  • Voltage Sensor.
  1. Configure the required driver settings.

Network configuration​

ProAVDriver3.png

  • Protocol - Serial;
  • Log Level - logging level;
  • Device model - device model (PX-VM20-basic);
  • COM 1 Mode - COM 1 mode:
    • RS-232 + RS-485 ;
    • RS-232(CTS+RTS) ;
  • Driver Version - driver version.
Note

The network configuration may vary depending on the selected model.

Configuring I/O interfaces​

ProAV Control Processor has a range of input and output ports for controlling various equipment:

  • Inputs: universal R, V inputs (0-50 kOhm, 0-12VDC). Configured as Button by default;
  • Relays: low-current relays (NO, 3A, 24VDC);
  • IR: IR outputs on the rear panel for controlling equipment, and an IR input on the front panel for learning IR commands.

The purpose and functions of the inputs and outputs are defined by the server project containing the ProAV Control Processor driver.

Note
  • Only one ProAV Control Processor driver can be added to a server project.
  • The input profiles and processor model can be selected only when adding the ProAV Control Processor driver from the driver database. These settings cannot be changed after the driver is added to the project.
Inputs​

Inputs are configured only when adding the ProAV Control Processor driver to a server project. The following configurations are supported:

Button

A dry-contact input, used by default if the device has not been configured by the ProAV Control Processor driver. Inversion can be enabled in the subdevice settings.

ProAV8.png

  • Name - device name,
  • Driver Type - ProAV Control Processor,
  • Inversion - input inversion (true, false).

Temperature sensor

Allows you to connect one of the supported temperature sensors:

  • VT.AC501
  • B57164-K_103-J_10
  • iRidiNTC.

A calibration value can be specified in the subdevice settings.

ProAV9.png

  • Name - device name,
  • Driver Type - ProAV Control Processor,
  • "Тип датчика" (sensor type) - sensor type,
  • Calibration value (°C) - the permissible error when measuring ambient temperature.
  • Deadband (°C) - the minimum change from the current sensor reading that triggers a change event on the Value feedback channel, regardless of the Pulse setting
  • Pulse (min) - the interval at which the value is sent to the bus (in minutes). 0 disables it; the minimum is 1, and the maximum is one hour.

Voltage sensor

Allows you to measure the input voltage in the 0-12VDC range

ProAV10.png

  • Name - device name,
  • Driver Type - ProAV Control Processor,
  • Deadband (mV) - the minimum change from the current sensor reading that triggers a change event on the Value feedback channel, regardless of the Pulse setting
  • Pulse (min) - the interval at which the value is sent to the bus (in minutes). 0 disables it; the minimum is 1, and the maximum is one hour.
Relay​

Normally open by default. The subdevice settings allow you to change the startup behavior, enable inversion, and set the switch-off time. The startup behavior takes effect when power is next applied after the entire device has been powered off.

ProAV11.png

  • Name - device name,
  • Driver Type - ProAV Control Processor,
  • Inversion - input inversion (true, false),
  • Auto off time (ms) - the time after which the relay is opened by software,
  • Behavior on start - startup behavior.
IR​

Allows you to control equipment using IR commands. You can configure command repetition and the delay between transmissions. IR commands must be learned before control can be configured.

Note

Repeat codes are not supported; only the entire command can be repeated using the Repeat (times) parameter.

Learning IR commands

  1. Start iRidi Studio.

  2. Go to the IR device

  3. For the required subdevice, such as IR1 (the number of IR outputs depends on the AV processor model), create the required number of commands.

  4. Select a convenient command format to display in iRidi Studio after learning.

ProAv_Server_Pro_01.png

  1. Right-click the subdevice and select IR learning from the menu (you can also learn each command individually: right-click the required command and select IR learning).

ProAV12.png

Note

Note that the driver does not depend on the device used to learn the commands. Commands for the AV Control Processor driver can be recorded using I-PX-IR3 and vice versa.

  1. Select the learning device and enter its IP address.
Note

Before starting IR learning, make sure the following ports are open on the device:

  • ProAV Сontrol Processor: 30600
  • I-PX-IR3: 1001 (default; can be changed in the web interface)

IR_1.png

To select a specific manufacturer when learning through AV Control Processor, select the "Use IR frequency standard" checkbox. The manufacturer list becomes available.

IR_2.png

If the required manufacturer is not listed, select "Other" and specify the required frequency manually.

IR_3.png

  1. Click Start.

  2. Point the IR signal source at the IR receiver on the front panel of the ProAV Control Processor.

  3. Send the required command.

  4. Repeat steps 8-9 for the remaining commands.

  5. After all commands have been learned, the learning process ends automatically.

  6. To interrupt learning, click "Stop" in the "Learning" window.

After learning, connect the IR transmitter to the output for which the commands were learned and upload the prepared project to iRidi Server on the ProAV Control Processor. You can now configure graphical items in i3Pro to send IR commands through the iRidi Server driver.

Changing the command format in iRidi Studio when IR commands are already available

Note

Conversion is possible only for commands in iRidi Hex or Pronto Hex format

  1. Start iRidi Studio.

  2. Create a server project and add the ProAV Control Processor driver to it.

  3. For the required subdevice, such as IR1 (the number of IR outputs depends on the AV processor model), create the required number of commands.

  4. Select iRidi Hex as the command display format in iRidi Studio.

ProAV_Control_Processor01.png

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

ProAV_Control_Processor02.png

  1. Change the display format to Pronto Hex in the Data Type field

ProAV_Control_Processor03.png

Configuring the RS-232/485 interface​

The operating mode of this interface is defined by the ProAV Control Processor driver.

The number of RS-232/485 interfaces varies by model:

  • ProAV Control Processor Basic (PX-VM20-Basic) - 1 (COM1)
  • ProAV Control Processor Advanced (PX-VP100-Advanced) - 2 (COM1, COM2)
  1. Simultaneous RS-485 and RS-232 operation (without HRDW Flow Control). The pin sequence from left to right is:
PinRS-232RS-485
GNDGNDGND
TXTXX
RXRXX
RTSXВ
CTSXА
  1. Only RS-232 with HRDW Flow Control. The pin sequence from left to right is: GND - TX - RX - RTS - CTS This mode is used by default.

To select the operating mode:

  1. Start iRidi Studio.

  2. Create a server project and add the "ProAV Control Processor" driver to it.

  3. In the driver settings, change "COM 1 Mode", for example, to RS-232 + RS-485 .

ProAV14.png

  1. Upload the project to iRidi Server.

These steps switch the COM 1 output to the selected mode, allowing you to connect the corresponding equipment and control it through this output.

Note

The following example configures the RS-485 interface for Modbus RTU. Other protocols (drivers) are configured similarly.

  1. In iRidi Studio, create a new iRidi Server project: File> New > New Server Project… and add the "ProAV Control Processor" driver to it. Alternatively, use an existing project containing the "ProAV Control Processor" driver.

  2. Add the Modbus RTU driver to the project.

  3. Set "Used with iRidi device" to the RS-485 port, for example, ProAV Processor Basic COM 1 (RS-485) .

ProAV15.png

  1. Configure the connection parameters:
  • Host: /oem/hal/485_1_port;
  • Update Time: data update interval in milliseconds;
  • Baud Rate: baud rate in bits/s (depends on the bus device settings; typically 9600);
  • Data Bits: number of data bits (depends on the bus device settings; typically 8);
  • Parity: parity checking (depends on the bus device settings; typically None);
  • Stop Bits: number of stop bits (depends on the bus device settings; typically 1);
  • Coil Write Function: Modbus function type for sending binary data to the bus (depends on whether the bus devices support the Modbus multiple-write function);
  • Holding Write Function: Modbus function type for sending analog data to the bus (depends on whether the bus devices support the Modbus multiple-write function).
Note

The web interface displays stop bits as follows:

iRidi studio:Web interface:
10
1,51
22

Read the operating manuals for the other devices on the RS-485 bus: set the same baud rate, Data Bits, Parity, and Stop Bits on all devices. Each device on the bus must also have a unique identifier (Device ID).

  1. Configure the required number of channels. Specify the Modbus RTU parameters for each channel:
  • Device ID: slave device identification number;
  • Type: data type (Coil, Discrete Input, Holding Register, Input Register);
  • Address: address of the data in the slave device.

ProAV16.png

  1. The project is now configured to transfer data using Modbus RTU.
Enabling HRDW Flow Control (RS-232)​

HRDW Flow control is a flow-control mechanism that forms part of the RS-232 standard. It uses two additional pins on the RS-232 connector: RTS (Request to Send) and CTS (Clear to Send). These lines let the receiver and transmitter signal their status to each other. By asserting and deasserting these lines, device drivers that implement hardware flow control can maintain a reliable data connection between the transmitter and receiver. The advantage is that data corruption during transmission does not affect the flow-control mechanism (as it does with Xon/Xoff).

Note

The HRDW Flow Control mode can be enabled only when:

  • using the AV&Custom System driver with the Serial protocol type,
  • the Used with iRidi device parameter selects an RS-232 port with physical CTS and RTS pins (for example, ProAV Processor Basic COM 1 (RS-232) or ProAV Processor Advanced COM 1 (RS-232)).

To enable HRDW Flow Control:

  1. In iRidi Studio, create a new iRidi Server project: File> New > New Server Project… and add the "ProAV Control Processor" driver to it. Alternatively, use an existing project containing the "ProAV Control Processor" driver.

  2. Add the AV&Custom System driver to the project.

  3. Select the Serial protocol type.

  4. Set "Used with iRidi device" to RS-232, for example, ProAV Processor Basic COM 1 (RS-232) .

  5. Set "HRDW Flow control" to Enable .

  6. Configure the remaining parameters according to the requirements of the connected equipment.

ProAV17.png

  1. The project is now configured to use COM 1 in RS-232 with HRDW Flow Control .

Configuring the RS-232 interface​

ProAV Control Processor has additional built-in RS-232 ports that can be used, for example, to exchange data over Modbus RTU or Modbus ASCII.

Note

The following example configures the RS-232 interface for Modbus RTU. Other protocols (drivers) are configured similarly.

  1. In iRidi Studio, create a new iRidi Server project: File> New > New Server Project… and add the "ProAV Control Processor" driver to it. Alternatively, use an existing project containing the "ProAV Control Processor" driver.

  2. Add the Modbus RTU driver to the project.

  3. Set "Used with iRidi device" to the RS-232 port, for example, ProAV Processor Basic COM 2 (RS-232) .

ProAV18.png

  1. Configure the connection parameters:
  • Host: /oem/hal/232_2_port;
  • Update Time: data update interval in milliseconds;
  • Baud Rate: baud rate in bits/s (depends on the bus device settings; typically 9600);
  • Data Bits: number of data bits (depends on the bus device settings; typically 8);
  • Parity: parity checking (depends on the bus device settings; typically None);
  • Stop Bits: number of stop bits (depends on the bus device settings; typically 1);
  • Coil Write Function: Modbus function type for sending binary data to the bus (depends on whether the bus devices support the Modbus multiple-write function);
  • Holding Write Function: Modbus function type for sending analog data to the bus (depends on whether the bus devices support the Modbus multiple-write function).
Note

The web interface displays stop bits as follows:

iRidi studio:Web interface:
10
1,51
22

Read the operating manuals for the other devices on the RS-232 bus: set the same baud rate, Data Bits, Parity, and Stop Bits on all devices. Each device on the bus must also have a unique identifier (Device ID).

  1. Configure the required number of channels. Specify the Modbus RTU parameters for each channel:
  • Device ID: slave device identification number;
  • Type: data type (Coil, Discrete Input, Holding Register, Input Register);
  • Address: address of the data in the slave device.

ProAV19.png

  1. The project is now configured to transfer data using Modbus RTU.

Configuring the Bus77 interface (TCP\IP)​

The Bus77 interface is enabled by default, so you can start working with Bus77 equipment immediately:

  1. In the web interface, on the SYSTEM > Other tab, make sure the CAN 0 (TCP Port 30467) (enabled by default) and CAN 1 (TCP Port 30468) (enabled by default on ProAV Control Processor PX-VP100) connections are enabled.

  2. In iRidi Studio, create a new Bus77 project: File> New > New Bus77 Project.

  3. Connect to and scan the Bus77 bus.

  4. Add the discovered devices to the Bus77 project.

Note

If you disable CAN 0 (TCP Port 30467) in the web interface, you will not be able to connect to the Bus77 bus over IP. This mode can be useful for restricting TCP connections to the bus during commissioning (the bus can only be scanned and configured over TCP).

HS_Server7.jpg

Configuring the Bus77 interface (CAN bus)​

To work with the Bus77 bus directly from the iRidi Server application through the CAN interface:

HS_Server8.png

  1. In the web interface, on the SYSTEM > Other tab, disable CAN 0 (TCP Port 30467) (enabled by default).
  2. In iRidi Studio, create a new server project: File> New > New Server Project.
  3. Add the Bus77 driver to the project by importing devices from Bus77 Home or by using a Bus77 project in iRidi Studio.
  4. Upload the completed server project to iRidi Server on the ProAV Control Processor.

To control both Bus77 outputs on ProAV Control Processor PX-VP100 from a single server project:

  1. Open iRidi Studio and create two Bus77 projects.

  2. In the first project, click "Устройство не найдено" (device not found).

  3. Enter the device IP address and specify port 30467 (for the CAN0 output).

  4. Drag the discovered device to the "Device in project" tab.

  5. Save the project.

  6. Switch to the second Bus77 project. 7. Repeat steps 2-5, specifying port 30468 (for the CAN1 output).

  7. Create a server project.

  8. Import both saved Bus77 projects into it.

  9. Change the protocol type of the Bus77 drivers to CAN.

  10. For the driver from the second Bus77 project, scanned using port 30468, change the port to CAN1.

Configuring the KNX interface​

The iRidi Pro Server (ProAV Control Processor) controller can operate as a KNX bus device, receiving and sending commands through the KNX TP1 interface. iRidi Pro Server (ProAV Control Processor) can also act as a KNX/IP gateway, connecting Engineering Tool Software (ETS) to the bus and supporting KNXnet/IP clients (only after configuration).

Note

KNX gateway operation is enabled on the server by default.

Server as a KNX device​

The iRidi Pro Server (ProAV Control Processor) controller can connect to any remote KNX IP interface or gateway to control equipment over KNXnet/IP (UDP) on the network. However, if ProAV Control Processor is connected to the bus through KNX TP1, communication with the bus must use that interface.

  1. Connect iRidi Pro Server (ProAV Control Processor) to the KNX bus through the KNX TP1 interface
  2. Save the project file in *.pr3, *.pr4, *.pr5, *.knxproj, or *.csv format. Using Latin letters in the project name is recommended. The Windows language must match the project language for group address names to be imported correctly.
  3. In iRidi Studio, create a new project for iRidi Server: File> New > New Server Project...
  4. Click Scanner/ Import in the driver panel, select your ETS project, and import it. A list of available KNX IP interfaces and group addresses will be created from the ETS project.

KNX1.png

  1. After importing the project, change the driver's Protocol setting to Serial to connect iRidi Pro Server (ProAV Control Processor) to the KNX TP1 interface. The KNX connection settings will change completely.

KNX_Serial1.png

  1. Configure the connection parameters.
Note

To configure the driver quickly, select your device in Used with iRidi device .

  • Host: /oem/hal/knx_port
  • Baud Rate: 38400
  • Data Bits: 8
  • Parity: None
  • Stop Bits: 1
  • Physical Address: physical address of iRidi Pro Server as a bus device
Note

The web interface displays stop bits as follows:

iRidi studio:Web interface:
10
1,51
22
  1. Configuration is complete. When the project starts on the server, it will connect to the bus through TP1. iRidi Pro Server (ProAV Control Processor) will be recognized as a bus device with its own physical address, but it will not have its own group addresses.
Note

This configuration does not enable iRidi Pro Server (ProAV Control Processor) to operate as a KNX/IP gateway. Follow the steps below to enable that mode.

For other iRidi Server and KNX driver settings, see:

Server as a KNX device and KNX/IP gateway​

With additional configuration, iRidi Pro Server (ProAV Control Processor) can also act as a KNX/IP gateway:

  • connects ETS to the bus (discovered and added in ETS as a KNX interface)
  • allows clients to connect to the bus using KNXnet/IP
  • forwards multicast packets from other KNX IP interfaces to the bus
  1. Connect iRidi Pro Server (ProAV Control Processor) to the KNX bus through the KNX TP1 interface.
  2. In iRidi Studio, create a new project for iRidi Server: File> New > New Server Project...
  3. Import and configure (see the previous section) or manually configure the KNX Router (KNXnet/IP) / Serial driver to connect iRidi Pro Server (ProAV Control Processor) to the bus through KNX TP1. Select KNX IP Gateway: True

AV_Processor.png

  • Host: /oem/hal/knx_port
  • Baud Rate: 38400
  • Data Bits: 8
  • Parity: None
  • Stop Bits: 1
  • Physical Address: physical address of iRidi Pro Server (ProAV Control Processor) as a bus device
Note

The web interface displays stop bits as follows:

iRidi studio:Web interface:
10
1,51
22
  1. After the project with the configured driver and script starts on iRidi Pro Server (ProAV Control Processor), you can discover ProAV Control Processor in ETS and use it as a bus access interface.
Note

KNX gateway operation can be controlled from the Other page of the server web interface.

KNX_Web-Interface_Other01.png

KNX IP Gateway is the checkbox that enables or disables KNX gateway operation. It has 3 behaviors:

  1. If a KNX driver using Serial is loaded on the server, the gateway takes Physical Adress and KNX IP Gateway Port from the driver.

  2. If the server has no KNX driver using Serial, the default parameters are used (Physical Adress - 15.15.255, KNX IP Gateway Port - 3671).

  3. If KNX gateway operation was configured on the server using a script, attempting to enable the checkbox produces an error in the server log. After refreshing the page, the checkbox will be off.

KNX IP Gateway Port is the field for entering the numeric UDP port used by the KNX gateway.

Attention

Legacy gateway method. Script-based gateway configuration. Not recommended for use

Create an empty script file (the JS icon on the top toolbar, + New Script) and paste the script into it:

IR.AddListener(IR.EVENT_START,0,function() 
{
var KNXSerial = "KNX Router (KNXnet/IP) / Serial (UMC)"; // name of KNX Serial driver in your project

if(IR.GetDevice(KNXSerial)) {
IR.GetDevice(KNXSerial).SetParameters({ServerDevice: "KNX IP"});
}
IR.CreateDevice(IR.DEVICE_KNX_IP_SERVER,
"KNX IP",
{Port: 3671,
ClientDevice: KNXSerial
});
});
Server as a KNX/IP gateway​

There is also a simpler way to enable the KNX/IP gateway function without creating a driver and script (as described above). Simply enable KNX/IP gateway mode in the server web interface under Network > SYSTEM > Other > Server working mode .

KNX_gate.png

Note
  • The project must not contain a driver of the type "KNX Serial".
  • In this configuration, the server cannot operate as a KNX device.
Scanning and monitoring the KNX bus​

For monitoring and scanning, configure the server as a KNX/IP gateway.

Then start ETS to configure and debug KNX devices, open the Bus tab, and connect the required interface.

KNX_monitor1.png

Scanning the KNX bus​

A line scan shows devices connected to one of the KNX network lines.

To do this, open the corresponding tab in the menu:

KNX_scan1.png

Fill in Line Address and select the transmission medium

KNX_scan2.png

Click Scan.

The server scans the line and displays all connected device addresses.

KNX_scan3.png

Monitoring the KNX bus​

ETS provides two types of monitoring:

  • group monitoring;
  • bus monitoring.

KNX_monit.png

Group monitoring allows you to read a particular device's current value and assign a new value to it.

To do this, open Group Monitor and click Start.

KNX_monitor2.png

To read or write a device value, enter the device address in Group Address

KNX_monitor3.png

clicking Read displays the device's value from the bus in the table

KNX_monitor5.png

To change this value, enter a new value in Value and click Write.

KNX_monitor4.png

Monitoring the KNX bus using ETS​

iRidi Server pro version 1.2.11 and later supports KNX bus monitoring using Engineering Tool Software (ETS). To do this, enable the KNX/IP gateway as described in Server as a KNX/IP gateway.

  1. Start ETS. Go to Diagnostics .

  2. Then go to Bus Monitor .

  3. Select the GatewayKNXServerIP interface you want to monitor from the list.

  4. Click Start. You will see all data passing through the KNX/IP gateway in real time.

ETS_Bus_monitor.png

Configuring the HDL Buspro interface​

The HDL gateway connects the LAN and CAN ports. When the HDL gateway is enabled, devices on the CAN bus can exchange data with devices on the Ethernet network as if they were all on the same bus. TCP is used on the Ethernet side.

The RS-485 and LAN ports can be used to exchange data over HDL Buspro.

Activating the HDL gateway through the web interface​

The HDL gateway connects the LAN and RS-485 ports. When it is enabled, devices on the RS-485 bus can exchange data with devices on the Ethernet network as if they were all on the same bus. UDP is used on the Ethernet side.

The simplest method is to enable HDL gateway mode in the server web interface under Network > SYSTEM > Other > Server working mode .

Enabling the HDL gateway through the web interface works only with COM 1. To configure the gateway to use COM 2, follow Configuring HDL Buspro on the RS-485 side and Enabling the HDL gateway with a script.

HDL_gate.png

Note
  • The project must not contain drivers of the types "HDL-BUS Pro (Serial)" and "HDL-BUS Pro (UDP)".
  • In this case, iRidi Server cannot control HDL devices because the required drivers are absent from the project. ::
HDL gateway filter​

The HDL gateway can filter bus commands by Subnet ID.

To use this function:

  • open the server web interface under System/Other

system_other.png

  • in Server working mode, set the value to HDL

hdl_filter2.png

  • set Enable in the field Gateway HDL filter
  • in Gateway HDL subnetid filter field, enter the Subnet ID to use for filtering.

hdl_filter.png

When receiving data, the server now checks the Subnet ID of the device to which the data belongs. If it matches the filter value, the server processes the data; otherwise, it ignores the data.

Configuring HDL Buspro on the RS-485 side​
  1. In iRidi Studio, create a new iRidi Server project: File> New > New Server Project...
  2. Add the HDL Buspro Network driver and the required number of HDL Buspro devices to the project:

ProAV20.png

  1. Configure the common bus parameters.
Note

To configure the interface quickly, use Used with iRidi device and select your device.

  • Host: /oem/hal/485_1_port
  • Baud Rate: 9600
  • Data Bits: 8
  • Parity: Even
  • Stop Bits: 1
  • Send Timeout: interval for sending data to the HDL Buspro bus, in milliseconds
Note

The web interface displays stop bits as follows:

iRidi studio:Web interface:
10
1,51
22
  1. Configure each device on the HDL Buspro bus.

ProAV22.png

  • Subnet ID: subnet number;
  • Device ID: unique device identifier.

Each device within a bus subnet must have a unique Device ID.

  1. Set the parameters for each channel:

ProAV21.png

The most important Command and Feedback parameters of the HDL Buspro driver:

  • Operation Code: operation (HDL Buspro protocol command)
  • Option: operation option
  • Channel: channel of a multichannel device
  • Parameter: parameter of a multifunction device
  • Need Confirm: whether acknowledgment is required (Disable is recommended)
  • Use Timer: cyclic command transmission (true to enable, false to disable)
  • Timer, s: cyclic command transmission interval in seconds

Read the HDL Buspro device's operating manual to configure the server correctly for data exchange with it. 6. The project is now configured to exchange data over HDL Buspro through the RS-485 port.

Configuring HDL Buspro on the LAN side​
  1. Add the HDL Buspro Network (UDP) driver and the required number of HDL Buspro devices to the project:

HS_Server28.png

  1. Configure the common network parameters:
  • Send Timeout: interval for sending data to the HDL Buspro network, in milliseconds
  • Connect Mode: connection method for the HDL Buspro network (Local for a local network, Internet for login/password authentication, Remote Server for using an HDL Remote Server)
  • Broadcast: IP broadcast address mask
  • Fast Feedback: fast feedback without waiting for feedback from the actual device
  • Host: server IP address
  • Port: server port
  • Remote Server Priority: remote server priority (true is recommended)
  • Login: login for accessing HDL Remote Server or the internet
  • Password: password for accessing HDL Remote Server or the internet
  • External Port: remote port
  • Project Name: project name
  • Group Name: group name
  1. Configure each device on the HDL Buspro bus and each of its channels (as in the previous section).

  2. The project is now configured to transfer HDL Buspro data through the LAN port.

Activating the HDL gateway using a script​

Create an empty script file (the JS icon on the top toolbar, + New Script) and paste the script into it:

IR.AddListener(IR.EVENT_START, 0, function() 
{
var HDL_UDP = IR.GetDevice("HDL Buspro Network (UDP)"); //name of HDL Buspro (UDP) driver in your project
var HDL_Serial = IR.GetDevice("HDL Buspro Network (RS-485)"); //name of HDL Buspro (RS-485) driver in your project

if (HDL_UDP && HDL_Serial) { //check for drivers existence in project
HDL_UDP.SetParameters({RouteDevice: HDL_Serial.Name});
HDL_Serial.SetParameters({RouteDevice: HDL_UDP.Name});
};
});

After the project with the configured HDL Buspro Network (UDP) , HDL Buspro Network (RS-485) drivers and the script starts, you can use the ProAV Control Processor LAN port as an access interface to the serial HDL Buspro bus.

Note

Because the HDL gateway logically joins two bus types (Ethernet/UDP and RS-485), it does not matter which interface ProAV Control Processor uses to control the devices: commands and responses pass freely through the gateway. Configuring channels in just one of the two drivers is sufficient.

Scanning HDL Buspro devices on the Ethernet network​

iRidi Studio provides a convenient way to avoid defining each device in the project manually. It queries the status of all devices on the Ethernet network over HDL Buspro, receives their responses, and saves the network configuration and each device's parameters in the project.

  1. To scan devices, click Scanner/ Import in the Driver tree panel, then click HDL-BUS Pro network scanner :

Drivers_scan.png

  1. Scanning starts, and the discovered devices appear after a few seconds:

HDL_Found_devices.png HDL_Found_devices2.png

  1. Use the checkboxes to select which devices to add to the project. After you click OK, the selected devices and all their parameters are saved in the project under the HDL Buspro Network (UDP) driver.
Note
  • If the project does not already contain an HDL Buspro Network (UDP) driver, it will be created automatically.
  • If the HDL gateway is enabled on ProAV Control Processor, scanning its LAN port will discover all HDL Buspro devices on the RS-485 bus. The controller and devices must be powered on.

Importing the driver into a Panel Project​

There are several ways to add the ProAV Control Processor driver to a Panel Project:

  • to a new Panel Project,
  • to an existing visualization project.

Adding the driver to a new Panel Project

Right-click the server project tab and select Create panel project:

Server8.png

A Panel Project is created with an empty page and an iRidi Server driver containing all server tags. You can use them as commands and feedback channels, link them to items for control and display, and process them using iRidi Script.

Server9.png

After changing the server project, you can quickly synchronize it with the Panel Project. Select the iRidi Server driver and click Synchronize .

You can change the server project file used for driver synchronization in Source Project.

Adding the driver to an existing visualization project

If you have already created a visualization project and want to add ProAV Control Processor to it:

Server10.png

  1. Add an iRidi Server driver from the database;
  2. Specify the path to the *.sirpz project containing the ProAV Control Processor driver;
  3. The iRidi Server driver is populated with the current commands and feedback channels.
Note
  • To open an existing server project, right-click the Panel Project and select Open Server Project .

OpenServerProject.png

  • If the required server project is not specified in the iRidi Server driver settings, a dialog prompts you to open it in iRidi Studio through the file browser.

OpenServerProject2.png

Configuring commands and feedbacks​

SendRecieve.png

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.

Input: Button​

Command or feedback nameTypeAllowed valuesDescription
Input: ButtonFeedbacks0 / 1Logic input state.

Example of receiving data through JS:

//Вывод состояния логического входа в лог:
var state = "Drivers.iRidium Server.ProAV Control Processor.Input 2: Button:State";
IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
if (name == state)
IR.LOG(value);
});
IR.SubscribeTagChange(state);

Input: Voltage Sensor​

Command or feedback nameTypeAllowed valuesDescription
VoltageFeedbacks0 / 1Sensor value.

Example of receiving data through JS:

//Вывод значения напряжения на элемент:
var voltage = "Drivers.iRidium Server.ProAV Control Processor.Input 1: Voltage Sensor:Voltage";
IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
if (name == voltage)
IR.GetPage("Page 1").GetItem("Item 1").GetState(0).Text = value;
});
IR.SubscribeTagChange(voltage);

Input: Temperature Sensor​

Command or feedback nameTypeAllowed valuesDescription
TemperatureFeedbacksAny valueAmbient temperature at the sensor (no temperature data is transmitted if an open circuit or short circuit occurs).

Example of receiving data through JS:

//Вывод температуры на элемент:
var temperature = "Drivers.iRidium Server.ProAV Control Processor.Input 1: Temperature Sensor:Temperature";
IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
if (name == temperature)
IR.GetPage("Page 1").GetItem("Item 1").GetState(0).Text = value;
});
IR.SubscribeTagChange(temperature);

Relay​

Command or feedback nameTypeAllowed valuesDescription
StateCommands0 / 1Sets the output state.
ToggleCommands0 / 1Toggles the output state.
StateFeedbacks0 / 1Output state.

Example of sending data through JS:

//Переключение реле по нажатию на кнопку:
IR.AddListener(IR.EVENT_ITEM_RELEASE, IR.GetItem("Page 1").GetItem("Item 1"), function ()
{
IR.GetDevice("iRidium Server").Set("ProAV Control Processor.Relay 1:Toggle", 1)
});

IR​

Command or feedback nameTypeAllowed valuesDescription
SendCommandsAny valueSends an IR command.

Example of sending data through JS:

//Отправка команды по нажатию на кнопку:
IR.AddListener(IR.EVENT_ITEM_RELEASE, IR.GetItem("Page 1").GetItem("Item 1"), function ()
{
IR.GetDevice("iRidium Server").Set("ProAV Control Processor.IR 2:Send", 1)
});

Testing the server​

Running a project in test mode​

Test mode allows projects to be uploaded to the server and tested directly from iRidi Studio without purchasing licenses. If a project is downloaded to the server from iRidi cloud, it uses a commercial or Trial license.

Uploading a project from iRidi Studio to the server requires iRidi transfer and test mode enabled on the server.

After configuring the server in iRidi transfer, click the search button. Transfer discovers a new device named (Server)

SetupOBserver1.png

Enable "Test mode ON" in the server settings to use its full functionality. For more information about operating modes, see Licensing policy.

ServerTestModeOn.png

Check that Test Mode is actually enabled by clicking the button in the lower-left corner.

Test_mode_checking.png

With Test Mode enabled, you can test cloud projects and upload projects from iRidi transfer (locally, without using iRidi cloud).

Testing a project in trial mode​

Use trial mode to test projects on the customer's devices. It gives end users 60 days of project testing. The trial period cannot be extended, but it is available for every new cloud site. After the trial period ends, the customer decides whether to purchase an iRidium license.

To activate a trial license:

  • open the account of the integrator;
  • select the required site from the list;
  • open pro > MY PROJECTS > Licenses ;
  • activate the temporary 2-month license "Get trial period (2 month) ".

Licenses.png

Note
  • A trial license can be applied to an object only once; it expires after 2 months.

  • Only 1 server can be linked to an object. Do not download a project from this cloud object to another server, as this may prevent remote connections and cause other problems.

  • To unlink a server from a cloud object, first deactivate the server, then upload the project to another server.

  • For details on selecting and activating a license, see "iRidium licensing policy".

Activating and deactivating the server​

Server activation and deactivation are described in:

Has control from panels stopped working?​

If control from panels suddenly stops working, rule out possible licensing issues:

  1. Make sure the server is activated.
Important

Activating more than 1 server in one cloud project causes the other servers to stop working. You can view the number of activated servers at a site in the integrator's account, on the MY PROJECTS > Users and Panels tab. If necessary, deactivate the unused server according to the instructions.

HS_Server5.png

  1. Make sure the number of panels does not exceed the commercial license limit (for details, see here).

  2. Check the connection to the server with a trial license.

If the previous steps did not help, activate the trial license to restore server operation and describe the situation to technical support at support@iridi.com, specifying:

  • server operating mode: cloud gate / direct connect;
  • server hwid;
  • account used to activate the server: integrator's email;
  • server version;
  • panels experiencing problems in the project:
    • panel hwid;
    • signed-in user's email;
  • installed application version
  • object name in the account;
  • additional files (if required): server log, screenshots, video recording, etc.