Материал из for iRidium developers
Перейти к: навигация, поиск
Эта страница является переводом страницы ElkoEp. Перевод выполнен на 100%.

Other languages:
English • ‎русский

The driver is meant to control ELKO EP iNels Bus System equipment. To understand the driver, use the project example:

download the examples:


iRidium for ELKO EP iNels is a set of tools to create an interface to control Smart home or office on the basis of ELKO EP iNels equipement. It realizes commands of ELKO EP iNels protocol.


Control panels (iOS, Android, Windows, Mac) can control ELKO EP iNels equipment only via a controller.


Adding the driver manually

  1. Launch iRidium Studio and create a new iRidium project
  2. Open DEVICE BASE side panel and find ELKO EP iNels V3 driver. Drag and drop ELKO EP iNels V3 to PROJECT DEVICE PANEL

Adding ELKO EP iNels V3 driver

Indicate the controller address in iRidium project otherwise it will not work.

Connection settings

When the driver is added to the project, specify the connection settings.

  • Host - controller IP address
  • Port - port to connect to controller
  • Separator - a separator is used between instructions, address and value
  • Type Send - a format to send commands (Decimal, Heximal -, Heximal without 0x - Heximal without 0x before a bite)

Change of Connection Settings

You need the possibility to change connection properties when you disconnect from the Wi-Fi network of the automation object and start using 3G or another Wi-Fi network. To maintain control of the object you need to switch from the local to public IP-address of the Internet router.

The switch is not automatic. You have to select the connection mode. For remote acces you have to make ports for controlling the automation system public. In order to do that you have o set up the Port Forwarding service on your Internet router. VPN can provide protected connection.

1 Download the template (*.js) (right-click button: "Save object as ..."), add the template in the script editor with the buttonIcon Scripts.png (+) Add Script from file

2 Set up script properties as it is shown in the example:

function Internal_1() {
IR.GetDevice('ELKO EP iNels V3').SetParameters({Host: "", Port: 5001, Separator: 32, TypeSend: 0} //Indicate ASCII code as a separator in hex (e.g.: " " - 0x20, " " " - 0x22 ...));
function External_1() {
IR.GetDevice('ELKO EP iNels V3').SetParameters({Host: "", Port: 5001, Separator: 10, TypeSend: 1});

Copy the driver name from Projeсt Device Panel - the list of properties has to be copied from the example.

3 Select the button which will be responsible for the switch of Internal and External properties. Open Macros Editor for the Press event (Object Properties > Programming), select the Script Call command and add it by double-clicking on it. Select the name of the function which will be activated by the button:

Script call internal-external.png

Now each pressing on the button will apply the corresponding connection properties.

Commands & Feedbacks

Commands and feedback channels have to be assigned to graphic items to control equipment:

  • A command is assigned to a graphic item.
  • Feedback channel is assigned to a graphic item to display the variable state.

To assign commands or channels to graphic items use the drag&drop method.

To send a command, drag it on a graphic item. To display feedback, drag the channel on the graphic item and indicate where to output the value (Value):



To set commands and feedback channels set value in the following fields:

  • Type - type of device
  • Address - address of a device set in INELS3 Designer & Manager

At the moment the following types of variables are supported:


type description
Dimmer Dimmer
Relay Relay
Temperature inputs input for temperature sensor
Analog Analogue input