iRidi for INELS BUS
Tools for creating a visualization interface
The driver controls INELS Bus equipment. Use the sample project to get started:
download examples:
Description
iRidi for INELS BUS is a toolkit for creating a home or office control interface based on equipment of the same name. It implements INELS BUS protocol commands.
Connection
- Control panels (iOS, Android, Windows, Mac) can control INELS BUS equipment only through a controller. The CU3-01(02)M controller is recommended.

To work in Studio, you need the channel addresses and types. Export the project file from the IDM3 Central unit editor and open it in a text editor (Notepad++). The file contains devices with their input/output sets and types. Enter these values from the file in the Studio driver to send commands and receive status feedback.
- Use the IDM3 Central unit editor to add and configure the devices in the project.

- Open the Project tab and open Device manager. Right-click and select Select all for export .

- In the main menu, select Create iNELS 3 export file and save the export file.

- Open the file in a text editor (Notepad++). Each line contains the module name, its address in the project, the data type, and the address for the command or feedback. To configure tags in iRidi Studio, identify the Type and Address .

Then switch to iRidi Studio and add the iNELS driver.
Adding the driver manually
-
Start iRidi Studio and create a new iRidi project.
-
Open the Devices side panel. Select the INELS BUS driver.

Specify the controller address in the iRidi project; otherwise, it will not work.
Configuring connection parameters
Configure connection settings after adding the driver.

- Log Level - logging level;
- Host - controller IP address;
- Port - port for connecting to the controller;
- Keep Alive is the TCP connection check interval. If a Keep Alive request receives no response, the driver is forcibly disconnected;
- Separator - separator used between instructions, the address, and the value;
- Type Send - command transmission format (Decimal - decimal, Hexadecimal - hexadecimal, Hexadecimal without 0x - hexadecimal without 0x before the byte);
- Address Format - device address format (Decimal - decimal, Hexadecimal - hexadecimal).
Changing connection parameters
You need to change connection parameters when you disconnect from the automation site's Wi-Fi network and start using 3G or another Wi-Fi network. For control to continue working, switch from the local IP address to the Internet router's public IP address.
Switching is not automatic; you need to press the connection mode selection button. For remote access, the automation system's control ports must be made public. To do this, configure Port Forwarding on the Internet router. A VPN can provide a secure connection.
-
Download the template (*.js) (right-click and save the target), then add it to the script editor using (+) Add Script from file
-
Configure the script parameters as shown in the example:
function Internal_1() {
IR.GetDevice('INELS BUS').SetParameters({Host: "192.168.0.95", Port: 5001, Separator: 32, TypeSend: 0} //В качестве разделителя надо указать код ASCII в hex'e (к примеру: " " - 0x20, " " " - 0x22 ...));
}
function External_1() {
IR.GetDevice('INELS BUS').SetParameters({Host: "215.110.10.10", Port: 5001, Separator: 10, TypeSend: 1});
}
Copy the driver name from Project Device Panel; copy the parameter list exactly as shown in the example.
- Select the button that will switch between the Internal and External parameters. Open the macros editor for the Press event (Object Properties > Programming), select the Script call command, and double-click to add it. Select the name of the function the button will call:

Each button press now applies the corresponding connection settings.
Commands & Feedbacks

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.
Configure a command or feedback by setting these fields:
- Type - data type;
- Address - device address configured in INELS3 Designer & Manager
To fill in Type and Address, open the export file, select the type from the Studio mapping table, and then enter the Address.

| Type for tags in iRidi Studio | Type from the import file |
|---|---|
| Analog Out | 0104 |
| Digital Out | 0102 |
| Temperature | 0105 |
| Digital In | 0101 |
| Analog In | 0103 |
| Special | 0106 |
| Trouble | 0107 |
| Analog Sensor In | 0108 |
| Zone Satus Output | 010A |
| Gsm SMS In | 010B |
| Gsm SMS Out | 010C |
| Gsm Tel In | 010D |
| Gsm Tel Out | 010E |
| RFTP Status Input | 010F |
| RFPM Counter Input | 0110 |
| Heat Cool Control Out | 0111 |
| Analog Sensor Out | 0112 |
| Email Out | 0113 |
| Status In | 0114 |
| System Integer | 0202 |
| System Bits | 0203 |
Example:
To configure the temperature channel of a DA3-22M device, select Type from the table: 0x0105 = Temperature, Address 0004 = 4.
Manufacturer website links: