iRidi server UMC C2
Installing and starting iRidi server for iRidi pro on a UMC C2 controller
Documentation updated 12.04.2019
General information
This page describes using iRidi server UMC for iRidi pro. For iRidi server UMC for iRidi lite, follow this link: i3 lite
Comparison of UMC family controller specifications: General information about UMC Technology controllers
First startup
Since 01.06.2018, UMC C2 controllers obtain their IP address automatically from a DHCP server by default. Earlier controllers are configured with a static IP address.
- Connect the UMC controller to the LAN containing the PC and router using an Ethernet cable in the LAN port, and apply 24 V power. Wait about 30 seconds after power is applied; the
PWRLED should light up green.
The router must have a DHCP server enabled.
-
Determine the UMC controller's IP address using iRidi transfer or a standard LAN scanner (for example, Advanced Port Scanner).
-
Use this address to open the server web interface in a browser:
- http://192.168.1.254:8888/ (enter your UMC controller's address!)
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:
- Enter the username and password for the integrator account in which you created the site containing the server project
- Set a service password for access to the server settings. The default is 2007
- You will then see the sites and server projects from iRidi Cloud. 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)
- In the server web interface, the Cloud section lets you download a project to the server (Projects) or deactivate the server (Deactivate Server). With Test Mode enabled on the server, you can upload projects from iRidi Transfer




Changing the IP address
Change the controller's IP address to suit your network infrastructure. 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):

Static IP address:

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 Reset to factory settings to restore the default IP address settings.
Each device must have a unique MAC address!
Updating the server
Open the server web interface under System > Info and click Update. A field opens; paste the server update download link into it.
You can copy the link from the iRidi mobile website under downloads.
Link to the latest iRidi server UMC version for iRidi pro:
https://www.iridiummobile.net/redirects/?go=iRidium_Server_UMC
Paste the link into the field and click UPDATE.

The server web interface will be unavailable for several minutes, then the updated server will start automatically.
Do not disconnect controller power during the update! With a large database, the update can sometimes take up to several tens of minutes!
Reset to factory settings
To reset the UMC controller to factory settings, perform the following steps.
- for controllers with firmware from 01.06.2018 onward:
-
With the controller powered off, press the white
FNCbutton. -
While holding the white
FNCbutton, apply power to the controller. -
Continue holding the white
FNCbutton until the controller'sOUTLED flashes several times and turns off (after 20-30 seconds). -
The controller then resets to factory settings: automatic address assignment (DHCP) is enabled.
- for controllers with older firmware, before 01.06.2018:
-
With the controller running, press the white
FNCbutton. -
While holding the white
FNCbutton, press the redRSTbutton once. -
Continue holding the white
FNCbutton until all controller LEDs flash (after 30-40 seconds). -
The controller then resets to factory settings: it is assigned the factory IP address marked on its enclosure, or automatic address assignment (DHCP) is enabled.
Restoring operation
If you cannot open the UMC web interface (the server does not start or the web interface does not work), follow the emergency startup, firmware update, or downgrade instructions. This requires access to the device command line.
Access through the console
-
Determine the controller's IP address using a convenient method (for example, iRidi transfer or a LAN scanner).
-
Download and start PuTTY.
-
Configure the program as follows:
- Host Name (or IP address):
<UMC controller IP address> - Port: 22
- Connection Type: SSH\
- click
Open.


- In the console that opens, enter:
- Login as: root
- root@XXX.XXX.XXX.XXX's password: root (the password is not displayed as you type)
- If the username and password are correct, the UMC welcome message appears. The command line becomes available for forced server startup, updating, and downgrading.
Forced server startup
- Open the /iridiumserver/ folder:
cd /iridiumserver/
2 Enter the command to start the server in the background (so it does not stop when PuTTY closes)
./iridium --force --hidden
- If successful, the server starts and is ready for operation.

Updating and downgrading
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.
-
Download the latest iRidi Server UMC version to the controller's root folder:
wget -O iridiumserver.ipk http://www.iridiummobile.net/redirects/?go=iRidium_Server_UMC -
Check the folder contents (make sure the .ipk file is present):
ls -
Install a newer or the same server version:
opkg-cl install iridiumserver.ipk
Or downgrade the server to an older version:
opkg-cl install --force-downgrade iridiumserver.ipk
When installing an older version, installation will not proceed without --force-downgrade.

- After installation, the server starts automatically and is ready for operation.
Updating and downgrading without internet access
- Install and start WinSCP:
- Click New Site and configure:
- File Protocol: SCP
- Host name:
<UMC controller IP address> - Port number: 22
- User name: root
- Password: root
Click
Login.

- Copy the UMC server installation file (.ipk) to the UMC controller's root folder
/rootusing WinSCP.

-
At the command line, check the root folder contents (make sure the .ipk file is present):
ls -
Install a newer or the same server version:
opkg-cl install <file-name>.ipk
Or downgrade the server to an older version:
opkg-cl install --force-downgrade <file-name>.ipk
When installing an older version, installation will not proceed without --force-downgrade.

- After installation, the server starts automatically and is ready for operation.
Server configuration
Once the server is ready, proceed to developing its configuration and logic: Server project in iRidi studio
Upload the completed project to iRidi server: Starting the iRidi server configuration
Configuring the KNX interface
The UMC controller can operate as a KNX bus device: it receives and sends commands through KNX TP1.
UMC can also operate as a KNX/IP gateway, connecting Engineering Tool Software (ETS) to the bus and supporting KNXnet/IP clients (but only after configuration).
Server as a KNX device
The UMC controller can connect to any remote KNX IP interface or gateway for control over the network using KNXnet/IP (UDP). However, if UMC is connected to the bus through KNX TP1, this interface must be selected for the bus connection.
-
Connect UMC to the KNX bus through KNX TP1
-
Save the project file in *.pr3, *.pr4, *,pr5, *.knxproj, or *.csv format. Latin characters are recommended for the project name. The Windows language must match the project language for group address names to be imported correctly.
-
In iRidi studio, create a new iRidi server project:
File> New > New Server Project... -
From
File > Import, select your ETS project and import it. A list of available KNX IP interfaces and group addresses is generated from the ETS project.

- After importing the project, change the driver's
Driver Typesetting toKNX (Serial), the KNX driver that connects UMC to the KNX TP1 interface. The KNX connection settings change completely. Leave their defaults and specify onlyPhysical Address, the UMC physical address as a bus device.

Configuration is complete. When the project starts on the UMC server, a bus connection is established through TP1. UMC is recognized as a bus device (with its own physical address), although it has no group addresses of its own.
This configuration does not enable KNX/IP gateway mode on UMC. To do that, perform the steps described below.
For other iRidi server and KNX driver settings, see:
Server as a KNX device and KNX/IP gateway
After additional configuration, UMC can also provide KNX/IP gateway functions:
- 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 (routing)
-
Connect UMC to the KNX bus through KNX TP1
-
In iRidi studio, create a new iRidi server project:
File> New > New Server Project... -
Import and configure (see the previous section) or manually configure the
KNX Serial (UMC)driver to connect UMC to the bus through KNX TP1. Specify an unused physical address for UMC.

- Create an empty script file (the JS icon on the top toolbar, + New Script) and paste the following script:
IR.AddListener(IR.EVENT_START,0,function()
{
var KNXSerial = "KNX 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
});
});
After the project with the configured driver and script starts on UMC, you can discover UMC in ETS and use it as a bus access interface.
Server as a KNX/IP gateway
KNX/IP gateway operation can also be enabled more simply, without creating a driver and script as described above. Enable KNX/IP gateway mode in the server web interface under Network > SYSTEM > Other > Server working mode.
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.

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:

Fill in Line Address and select the transmission medium
Click Scan.
The server scans the line and displays all connected device addresses.

Monitoring the KNX bus
ETS provides two types of monitoring:
- group monitoring;
- bus monitoring.

Group monitoring lets you read a device's current value and assign it a new value. Open Group Monitor and click Start.
To read or write a device value, enter the device address in Group Address

clicking Read displays the device's value from the bus in the table
To change this value, enter a new value in Value and click Write.

Bus monitoring displays all data packets passing through the bus.
To do this, open the Bus Monitor tab and click Start.
Running a project in test mode
Test mode lets you upload and test projects directly from iRidi studio on the server without purchasing licenses. A project uploaded from iRidi cloud uses a commercial or Trial license.
Uploading a project from 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 <NAME> (Server)

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

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

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