Skip to main content

iRidi for Domintell

Tools for creating interfaces to control Domintell equipment

Documentation updated 01.01.2024

Description​

iRidi for Domintell is a set of tools for creating a home or office control interface based on Domintell equipment.

iRidi for Domintell allows a control panel () to connect to Domintell through the DETH02 interface. DETH02 limits the number of connections to one at a time. The number of connections can be increased using iRidi Server.

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), DMR02 (MR2), DTRP01 (TRP), DLED01 (LED)
  • DTRV01 (TRV), DTRP02 (TPV), DTRVBT01 (V24)
  • DDIM01 (DIM), DOUT10V01 (D10), DINTDALI01 (DAL)
  • DLCD03 (LC3), DPBRLCD02 (PRL), DTEM01 (TE1), DTEM02 (TE2), DTSC01_03 (TSB), DTSC04 (LT4)
  • DMOV01 (DET), DIN10V01 (I10), DIN10V02 (I10), DISM04 (IS4), DISM08 (IS8)
  • SOFT_VAR (VAR), SYS_VAR (SYS), MEM (MEM), SFE (SFE), ZON (ZON)
  • DFAN01(FAN), DMV01 (DMV)
  • DPBC01 (CL1), DPBC02 (CL2), DPBC04 (CL4), DPBC06 (CL6), DENV01 (EV1), DDMX02 (DX2)
  • DIN10V02 (I10)

Connection​

Equipment configuration and settings required for iRidi to control Domintell.

Connection methods for Domintell​

Different connection methods provide local and Internet access to the Domintell network through a DETH02 module.

Domintell_scheme.png

  1. A local connection works only within the automation site's local network. It uses the UDP protocol. The connection is established between the panel and DETH02 through a network router.

Domintell_Inet_scheme.png

  1. An Internet connection provides access to Domintell over the Internet. In this mode, the network router must have a static IP address or use a DDNS service.
Important

You can connect to Domintell only through DETH02. Control through DETH03, DETH04, or DETH07 is not possible!

Scanning the network​

Scanning works only on the local network and lets you quickly add all Domintell devices to an iRidi project.

Important

Before scanning, close all applications connected to DETH02.

  • Create a new project and select Scanner / Import > Domintell network scanner in PROJECT DEVICE PANEL
  • Leave the checkboxes selected for the devices you plan to control

Domintell_scan_function.png

Domintell_scan_result.png

If you cannot scan the network, add Domintell Network (UDP) and the devices manually from DEVICE BASE

Domintell_Scan2.png

To work with a DGQG04 module or other modules using WebSocket, in the Transport field select WebSocket and enter the values required to scan the PLC.

Scanning produces three levels in the Domintell network:

  • Domintell Network (UDP) - the Domintell bus containing all controlled devices (relays, sensors, etc.). The bus has an IP address for external control through DETH02
  • Domintell Devices - devices on the bus. They have unique addresses
  • Commands and Feedbacks - commands and feedback channels within devices for controlling their individual parameters.

Configuring the connection (TCP, UDP, WebSocket (TCP))​

Select the default connection settings. You can change them while working on the project.

Domintell_connection.png

TCP :

  • Host - DETH02 IP address (IPv4);
  • Port - TCP port for connecting to DETH02 (17481);
  • Password - password for secure access;
  • Keep Alive - TCP connection check interval;
  • Update Time (ms) - device polling interval for updating state data.

UDP :

  • Host - IP address;
  • Port - UDP connection port;
  • Password - password for secure access;
  • Update Time (ms) - device polling interval for updating state data.

WebSocket (TCP):

Note

For use with the DGQG04 module

  • Host - IP address;
  • Port - Web Socket connection port;
  • Login - user login;
  • Password - password for secure access.

For Internet access, specify the public IP address of the router to which DETH02 is connected and configure forwarding for the control port (Port Forwarding).

You can find the router's public IP address using, for example, Yandex.Internet

Changing connection settings​

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.

  1. Download the template (*.js) (right-click and save the target), then add it to the script editor using (+) Add Script from file

  2. Configure the script parameters as shown in the example:

function Internal_1() {
IR.GetDevice("Domintell Network (UDP)").SetParameters({Host: "192.168.0.100", Port: 17481, Password: "pass", PingTime: 1000});
}
function External_1() {
IR.GetDevice("Domintell Network (UDP)").SetParameters({Host: "215.110.10.10", Port: 17481, Password: "pass", PingTime: 1000});
}

Copy the driver name from Project Device Panel; copy the parameter list exactly as shown in the example.

  1. 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:

Script call internal-external.png

Each button press now applies the corresponding connection settings.

Equipment control​

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.

The available command and feedback channel settings are shown below:

Push Buttons​

Push Buttons devices support simulated presses of wall panel buttons and can display button states in the visualization interface.

Push Buttons device list:

  • DPBUT1 (BU1) - 1 Push Button
  • DPBUT2 (BU2) - 2 Push Button
  • DPBUT4 (BU4) - 4 Push Button
  • DPBUT6 (BU6) - 6 Push Button

Commands to send to Push Buttons:

Command:

Channel1 ... nPush Buttons output number (corresponds to the button number)
CommandValue *
none—Toggle the output state
%P1Simulate the start of a short button press
%P2End of a short press
%P3Start of a long press
%P4End of a long press
  • Value - specify this when dragging the command onto a graphical item

Feedback:

Channel1 ... nPush Buttons output number (corresponds to the button number)
CommandValue *
I0Button state: pressed
I1Button state: released
O0Output state: open
O1Output state: closed
  • Value - received by the feedback channel; use it to display the value on items

Sound Module​

Supports volume and playback source control and selection of the radio frequency.

Device list:

  • DAMPLI01 (AMP) - Sound Module

Commands to send to the Sound Module:

Command:

Channel1 ... 4audio output number
CommandValue *
%D0 ... 100Set the volume value
%I%D0 ... 100%Increase volume by the specified percentage
%O%D0 ... 100%Decrease volume by the specified percentage
A1Select the AUX1 source
A2Select the AUX2 source
A3Select the AUX3 source
A4Select the AUX4 source
A5Select the TUNER source
%F1015000Radio frequency, 1015000 = 101.5 MHz, 500 Hz step
  • Value - specify this when dragging the command onto a graphical item

Feedback:

Channel1 ... naudio output number
CommandSAudio output state
PropertyValue *
Volume0 ... 100%Volume
Auxiliary1 ... 5Audio source
Frequency1015000Radio frequency
  • Value - received by the feedback channel; use it to display the value on items

Relays​

Relay channel control: toggle, close, and open a relay channel.

Note

Some devices use the new generation of LightProtocol and require different command and feedback settings.

Old generation of LightProtocol:

Device list:

  • DBIR01 (BIR) - 8 bipolar relays
  • DMR01 (DMR) - 5 monopolar relays
  • DTRP01 (TRP) - 4 pulse relays
  • DLED01 (LED) - 4 leds driver

Command:

Channel1 ... nrelay output number
CommandValue *
none—Toggle the output
%I—Close the output
%O—Open the output
  • When dragging the command onto a graphical item, leave Value empty

Feedback:

Channel1 ... nrelay output number
CommandValue *
none0Output open
none1Output closed
  • Value - received by the feedback channel; use it to display the value on items

New generation of LightProtocol:

Note

Note that in the new generation of the protocol, values must be sent for commands.

Device list:

  • DMR02 (MR2) - 8 monopolar relays

Command:

Channel1 ... nrelay output number
CommandValue
%TOR0Open the output
%TOR1Close the output
%TOR2 .. nToggle the output

Feedback:

Channel1 ... nrelay output number
CommandValue *
%TOR0Output open
%TOR1Output closed
  • Value - received by the feedback channel; use it to display the value on items

Shutter inverters​

Curtain control: open, close, stop, and reverse direction

Device list:

  • DTRV01 (TRV) - 4 shutter inverters (up/down)
  • DTRP02 (TPV) - 4 shutter inverters(up/down)
  • DTRVBT01 (V24) - 1 DC shutter command (up/down)

Commands to send to curtain drives:

Command:

Channel1 ... ncurtain drive number
CommandValue *
none—Reverse the curtain's direction of movement
%H—Open the curtain
%L—Close the curtain
%O—Stop the curtain
  • Leave Value empty when dragging the command onto a graphical item

Feedback:

Channel1 ... ncurtain drive number
CommandValue *
none0Curtain open
none1Curtain closed
  • Value - received by the feedback channel; use it to display the value on items

Dimmers​

Dimmer control supports setting an arbitrary brightness, incrementing it, and starting and stopping dimming.

Device list:

  • DDIM01 (DIM) - 8 dimmer commands
  • DOUT10V01 (D10) - 0/1-10V dimmer module

Configure the control commands:

Command:

Channel1 ... ndimmer channel number
CommandValue *
none—Toggle the state (on/off)
%D0...100Set the brightness value
%I%D0 ... 100%Increase brightness by the specified percentage
%O%D0 ... 100%Decrease brightness by the specified percentage
%DB—Start dimming
%DE—Stop dimming
  • Value - specify this when dragging the command onto a graphical item

Feedback:

Channel1 ... ndimmer channel number
CommandValue *
none0...100Dimmer brightness
  • Value - can be used to display the state on graphical items

DMX​

Control of dimmers and RGB and RGBW lighting.

Device list:

  • DMX01 (DMX) - dmx control.

Configure the color control commands:

Command:

Device1 ... nDevice number
Channel1Red
Channel2Green
Channel3Blue
Channel4White
CommandValue *
none0/1Toggle the state (on/off)
%X0...255Set the value for the selected color
  • Value - specify this when dragging the command onto a graphical item.

Feedback:

Device1 ... nDevice number
Channel1Red
Channel2Green
Channel3Blue
Channel4White
CommandValue *
none0/1State (on/off)
%X0...255Selected color value
  • Value - received by the feedback channel; use it to display the value on items

Control:

  • Trigger Button - turn lighting on/off;
  • Level - control the brightness and saturation of individual colors;
  • Joystick - adjust the color using Color Picker.

To control RGB lighting using Color Picker, use a script. First, create commands and feedback channels and add graphical controls (Button, Level, etc.) to the project. In the script, specify the channel names and the paths to the graphical items used in the project.


////////////////////Copy the equipment control code from under the script.//////////////////
var Driver = IR.GetDevice("Domintell"); // Driver in project
var ColorPicker = IR.GetPage("Page 1").GetItem("ColorSelector"); // Item "Color Picker"
IR.AddListener(IR.EVENT_ITEM_RELEASE, ColorPicker, function (){
//To send the value to the controller, convert the color to HEX:
var Red = (ColorPicker.Color >> 24) & 0xFF;
var Green = (ColorPicker.Color >> 16) & 0xFF;
var Blue = (ColorPicker.Color >> 8) & 0xFF;

Driver.Set("DMX:Red", Red) //Send to red channel
Driver.Set("DMX:Green", Green) //Send to green channel
Driver.Set("DMX:Blue", Blue) //Send to blue channel
})

////////////////////////////////Item "Display"///////////////////////////////////////////////
IR.AddListener(IR.EVENT_TAG_CHANGE, Driver, function (in_sName, in_sValue) {
if (in_sName == "DMX:Red" || in_sName == "DMX:Green" || in_sName == "DMX:Blue") {
IR.GetPage("Page 1").GetItem("FeedbackColor").GetState(0).FillColor = Driver.GetFeedback("DMX:Red") << 24 |
Driver.GetFeedback("DMX:Green") << 16 | Driver.GetFeedback("DMX:Blue") << 8 | 0xFF
}
})

Temperature​

Temperature control supports setting the mode and temperature value

Device list:

  • DTEM01 (TE1) - temperature sensor
  • DTEM02 (TE2) - temperature sensor with 2*16 char LCD
  • DENV01 (EV1) - Outdoor environmental data measurement module
  • DPBC01 (CL1) - 1-key push-button, with RGBW LED and T° probe
  • DPBC02 (CL2) - 2-key push-button, with RGBW LED and T° probe
  • DPBC04 (CL4) - 3-key push-button, with RGBW LED and T° probe
  • DPBC06 (CL6) - 4-key push-button, with RGBW LED and T° probe

Configure the control commands:

Command

CommandValueDescription
%T0...nHeating Setpoint Temperature - heating mode temperature setpoint (degrees)
%U0...nCooling Setpoint Temperature - cooling mode temperature setpoint (degrees)
%R0OFF - Regulation Mode
%R1HEATING - Regulation Mode
%R2COOLING - Regulation Mode
%R3MIXED - Regulation Mode
%M1ABSENCE - Temperature Mode
%M2AUTO - Temperature Mode
%M5COMFORT - Temperature Mode
%M6FROST - Temperature Mode
  • Value - specify this when dragging the command onto a graphical item

Feedback:

PropertyValueDescription
Theating mode feedback
Ucooling mode feedback
PropertyValue *
Measured Temp0...nsensor temperature
Setpoint Temp0...ncurrent temperature setpoint (degrees)
Mode0...7Regulation mode (Command: U):
0 - Off
1 - Heating
2 - Cooling
3 - Mixed
Temperature mode (Command: T):
1 - Absence
2 - Auto
5 - Comfort
6 - Frost
Range Value0...ncurrent temperature value (degrees)
  • Value - can be used to display the state on graphical items

Inputs​

Displays the states of modules equipped with digital or analog inputs. This list includes IS4 and IS8 devices, which can also be controlled using the commands under #Push Buttons.

Device list:

  • DIN10V01 (I10) - analog 0-10V input module
  • DISM04 (IS4) - 4 inputs module
  • DISM08 (IS8) - 8 inputs module
  • DPBC01 (CL1) - 1-key push-button, with RGBW LED and T° probe (protocol feature)
  • DPBC02 (CL2) - 2-key push-button, with RGBW LED and T° probe (protocol feature)
  • DPBC04 (CL4) - 3-key push-button, with RGBW LED and T° probe (protocol feature)
  • DPBC06 (CL6) - 4-key push-button, with RGBW LED and T° probe (protocol feature)

Inputs cannot be controlled, so the command list remains empty.

Feedback:

CommandValue *Description
Channel1...ninput number
I0...1digital input state
D0...100analog input state
  • Value - can be used to display the state on graphical items

DIN10V02(I10)​

Commands

  • %T - (0...n) Heating Setpoint Temperature - heating mode temperature setpoint (degrees)
  • %M:
    • 1 ABSENCE - Temperature Mode
    • 2 AUTO - Temperature Mode
    • 5 COMFORT - Temperature Mode
    • 6 FROST - Temperature Mode
  • %R:
    • 0 OFF - Regulation Mode
    • 1 HEATING - Regulation Mode
    • 2 COOLING - Regulation Mode
    • 3 MIXED - Regulation Mode
  • %U - (0...n) Cooling Setpoint Temperature - cooling mode temperature setpoint (degrees)

Feedbacks

  • D - 0...100 analog input state
  • T - heating mode feedback
ParameterValueDescription
Measured Temp0...nsensor temperature
Setpoint Temp0...nCurrent temperature setpoint (degrees)
Mode4...7Regualation mode (Command: U)
0 - Off, 1 - Heating, 2 - Cooling, 3 - Mixed
Temperature Mode (Command: T): 1 - Absence, 2 - Auto. 5 - Comfort, 6 - Frost
Range Value0...ncurrent temperature value (degrees)
Reference-A reference can be assigned only after scanning the network
  • U - cooling mode feedback
ParameterValueDescription
Measured Temp0...nsensor temperature
Setpoint Temp0...nCurrent temperature setpoint (degrees)
Mode4...7Regualation mode (Command: U)
0 - Off, 1 - Heating, 2 - Cooling, 3 - Mixed
Temperature Mode (Command: T): 1 - Absence, 2 - Auto. 5 - Comfort, 6 - Frost
Range Value0...ncurrent temperature value (degrees)
Reference-A reference can be assigned only after scanning the network

Fan controller​

Air conditioner control

Device list:

  • DFAN01 - Fan controller

Commands to send to the relay:

Command:

ChannelCommandMode to be set:
1%IFan Speed 1
2%IFan Speed 2
3%IFan Speed 3
4%ISet Mode - Heating
5%ISet Mode - Cooling
6%ISet Mode - Manual
6%OSet Mode - Automatic
  • When dragging the command onto a graphical item, leave Value empty

Feedback:

CommandValueDescription
Channel0...6air conditioner parameter
O0...1parameter value
  • Value - received by the feedback channel; use it to display the value on items

System Functions & Variables​

Control and display of the states of Domintell virtual variables that can be created when configuring devices of different types.

Function and variable list:

  • SOFT_VAR (VAR) - virtual programmed status
  • SYS_VAR (SYS) - system status
  • MEM (MEM) - MEMO Groups
  • SFE (SFE) - Sfere
  • ZON (ZON) - Zone

Configure the control commands (a subset of the commands is available for each variable type):

Command:

CommandValueDescription
Channel0no channel number is specified for a variable; leave 0
none-change the state
%I-turn on
%O-turn off (stop)
%D0...100set a value
%H-open
%L-close
%I%D0...100%increase the value by the specified percentage
%O%D0...100%decrease the value by the specified percentage
%R0OFF - Regulation Mode
%R1HEATING - Regulation Mode
%R2COOLING - Regulation Mode
%R3MIXED - Regulation Mode
%M1ABSENCE - Temperature Mode
%M2AUTO - Temperature Mode
%M5COMFORT - Temperature Mode
%M6FROST - Temperature Mode
  • Value - specify this when dragging the command onto a graphical item

Feedback:

CommandValueDescription
Channel0channel number for receiving data from Command: None, D, T, U (values 0/1)
Channel1channel number for receiving data from Command: O (values 0...100)
None0/1variable state (Channel: 0)
D0/1variable state (Channel: 0)
O0/100variable state (Channel: 1)
T-- heating mode feedback (Channel: 0)
U-- cooling mode feedback (Channel: 0)
PropertyValue
Measured Temp0...nsensor temperature
Setpoint Temp0...ncurrent temperature setpoint (degrees)
Mode4...7Regualation mode (Command: U): 0 - Off, 1 - Heating, 2 - Cooling, 3 - Mixed
Temperature mode (Command: T): 1 - Absence, 2 - Auto, 5 - Comfort, 6 - Frost
Range Value0...ncurrent temperature value (degrees)
Reference-reference to a tag (available only for the MEM module).
A reference can be assigned only after scanning the network.
  • Value - can be used to display the state on graphical items

Unsupported devices​

If a module is not listed under Domintell Light Protocol, the Domintell protocol does not support external control of that module. Control the module through the button panel under #Push Buttons.

For example, the DIREMIT01 module does not support Domintell Light Protocol. To send IR commands through this module, configure links between DIREMIT01 and Input in Domintell Programation. To send a command, simply simulate Input activation.