Skip to main content

iRidi for KNX

A toolkit for creating interfaces to control KNX equipment

Documentation updated 01.01.2024

Description​

iRidi for KNX is a toolkit for creating a home or office control interface based on KNX equipment.

iRidi for KNX allows a control panel (iOS, Android, Windows, Mac) to connect to KNX TP1 through any KNX interface or router that supports IP Unicast (KNXnet/IP Tunneling): Jung IPS 100/200 REG, Jung IPR 100/200 REG, Evika Logic Machine 2, 3, Reactor, Weinzierl KNX IP BAOS 770/771/772/777, ABB, Siemens, Gira, Mean Well KSR-01IP, and others.

For information about working with KNX through KNX IP BAOS Object Server (Datapoints), see KNX IP BAOS.

iRidi for KNX licensing (details)

Supported group address types:

  • 1.* 1-bit
  • 2.* 2-bit controlled
  • 3.* 3-bit controlled
  • 4.* Character
  • 5.* 8-bit unsigned value
  • 6.* 8-bit signed value
  • 7.* 2-byte unsigned value
  • 8.* 2-byte signed value
  • 9.* 2-byte float value
  • 10.* Time
  • 11.* Date
  • 12.* 4-byte unsigned value
  • 13.* 4-byte signed value
  • 14.* 4-byte float value
  • 16.* Character string
  • 17.* Scene number
  • 18.* Scene control
  • 20.* 1-byte
  • 229.* 4-1-1 byte combined information
  • 232.* 3-byte colour RGB
  • 251.* Colour RGBW

Connection​

Equipment configuration and settings required for iRidi to control equipment on the KNX bus.

Ways to connect to KNX​

Different bus connection methods support different numbers of simultaneous control panel connections. The selected KNX IP interface affects the number of connections available.

KNX_scheme.png

Drivers for connecting i3 pro to KNX:

  • KNX Router (KNXnet/IP) / Serial (UMC) - supports 3 protocols: UDP, Serial, USB.
  • KNX IP BAOS 770 / KNX IP BAOS 771-774/777 - for connecting through Weinzierl IP BAOS configured for Object Server mode (via datapoints).

Drivers for connecting iRidi Server to KNX:

  • KNX Router (KNXnet/IP) / Serial (UMC) - for any server. Supports 3 protocols: UDP, Serial, USB.
  • KNX IP BAOS 770 / KNX IP BAOS 771-774/777 - for any server. For connecting through Weinzierl IP BAOS configured for Object Server mode (via datapoints);
  • KNX LMx (Logic Machine) - only for a server running on a Logic Machine controller. Uses the physical TP1 interface to access the bus;
  • KNX I2C (available for iRidi Studio 1.3.8) - only for a server running on a Победа controller. Uses the physical TP1 interface to access the bus;
  • KNX kBerry BAOS - only for a server running on Raspberry with a physical TP1 interface to access the bus.
  1. Any KNX IP interface or router provides one simultaneous iRidi connection to the KNX bus. This means that a typical KNX IP interface can accept only 1 KNXnet/IP connection at a time, so simultaneous control from two tablets is not possible. Some KNX interfaces support more than 1 connection; see the interface documentation.

  2. KNX IP BAOS and Logic Machine KNX interfaces are recommended when simultaneous bus control from 5 or more devices is needed. KNX IP BAOS supports up to 5 connections; Logic Machine (2, 3, ReActor...) supports up to 10 connections.

  3. iRidi Server provides unlimited connections to the KNX bus by connecting to the bus via KNXnet/IP while control panels connect to the server using the iRidi protocol without loading the bus.

KNX Router (KNXnet/IP) / Serial (UMC)​

The KNX Router (KNXnet/IP) / Serial (UMC) supports several protocols:

  • UDP - for any server. For connecting to a KNX IP interface or router over IP in Unicast mode;
  • Serial - only for a server running on a UMC controller. Uses the physical TP1 interface to access the bus;
  • USB - only for iRidi Server on Win or a Panel Project. Uses a USB interface to access the bus.

If you choose KNXnet/IP Tunneling (UDP), consider the following:

  • The iRidi control panel and KNX IP interface must be on the same IP subnet;
  • The KNX IP interface must support KNXNet/IP Tunneling;
  • iRidi does not support IP multicast (routing mode); only IP unicast can be used;
  • Most KNX IP interfaces support only 1 Unicast connection;
  • For Internet operation, NAT mode must be enabled in the iRidi KNXnet/IP driver settings and port forwarding must be configured on the Internet router;
  • iRidi explicitly polls KNX group addresses whenever the visualization starts. This is required to obtain the initial states of KNX variables. In ETS, select the "Read" checkbox in the properties of each address that should update when the application starts;
  • Using several separate access points when setting up a Wi-Fi network is NOT recommended. Switching between access points temporarily interrupts the connection to the KNX IP router, causing the KNX connection to be lost for 1 to 2 minutes. This is due to KNX interface protection against unexpected disconnections. Use Wi-Fi repeaters to create a seamless network, or a router that supports multiple connections;
  • If a project has >100 group addresses, some data may not reach the control panel during the initial poll. This does not affect ongoing operation (event-driven changes). Set Send time: 15 to slow polling, although this still does not guarantee reliable polling. It is recommended to use iRidi Server or KNX IP BAOS (datapoint mode) when working with a large number of KNX variables.

USB bus connection considerations:

Important
  • Not all USB KNX devices work with this driver type.

Tested equipment:

  • WEINZIERL / KNX USB Interface 311
  1. Connect the KNX HID device to the computer;
Important

After connecting the device to the computer, make sure it works and Windows reports no driver errors before using it.

  1. Find the device in Device Manager ;
  2. Open Properties > Details ;
  3. Under Property, select Device instance path ;
  4. In the HID/PID values (between "_" and "&"), find Vendor ID and Product ID; VID is the Vendor ID, and PID is the Product ID .

KNX_HID1.png

  1. In the driver settings, enter the obtained Vendor ID and Product ID .

With additional configuration, KNX HID can also act as a KNX/IP gateway:

  1. Connect KNX HID to the KNX bus through the USB interface;
  2. In iRidi studio, create a new iRidi server project: File > New > New Server Project ;
  3. Manually configure the KNX Router (KNXnet/IP) / Serial (UMC) driver to connect KNX HID to the bus over USB (the Vendor ID and Product ID parameters are described above);
Note

You do not need to enter a physical address for the KNX/IP gateway. It is automatically derived from the KNX HID device's physical address.

  1. Create an empty script file (JS > New Script) and paste the following into it:
IR.AddListener(IR.EVENT_START,0,function() 
{
var KNXSerial = "KNX HID"; // name of KNX Router (KNXnet/IP) / Serial (UMC) 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
});
});
  1. After starting the project with the configured driver and script on the server, you can find KNX HID in ETS and use it as a bus access interface. You can also program devices on the bus using KNX HID .

Detecting bus polling start and end events​

There are two ways to detect the start or end of polling:

  1. Using the driver's TagUpdate token. 1 indicates the start of polling; 0 indicates the end of polling.

KNX_tagupdate.png

  1. Using the polling start and end listeners (IR.EVENT_TAG_UPDATE_START, IR.EVENT_TAG_UPDATE_END). You can log this information to track the polling time.

Contact iRidi technical support for more detailed recommendations.

Importing group addresses from ETS​

Attention

Importing protected ETS6 projects is not supported!

iRidi connects to the KNX bus and can interact with bus devices by setting and reading group address values. You can import a list of group addresses from an ETS5 project (*.knxproj) and add all or some of them to your iRidi project. Importing additional addresses and updating group address settings are supported. Importing KNX IP BAOS datapoints is also supported.

To import group addresses from an ETS5 project (*.knxproj):

  1. Start iRidi studio, create a project, and open the IMPORTED DATA and DRIVERS TREE side panels:

Import_OpenPanels.png

  1. In the IMPORTED DATA panel, click the Import button and select a *.knxproj file

Import_SelectFile.png

  1. When file processing is complete, specify the synchronization settings between the ETS file and the driver panel (you can keep the defaults):

Import_SelectSyncProps.png

See the synchronization settings for the ETS file and the KNX driver in iRidi. You can return to the synchronization settings by clicking the settings button in the import panel.

When you reimport or update the imported ETS database, an import settings dialog appears with the following options:

KNX_ETS_Повторный_импорт.png

  • Add as a new file - import the ETS project as a new project;
  • Merge with - merge with the current project database;
  • Synchrinize updates with a corresponding driver automatically - synchronize with the driver when import is complete;
  • Update checkboxes with "smart import": - select how smart import works
    • All - update all checkboxes (custom command and feedback creation settings will be reset);
    • Only new - update only new checkboxes (custom command and feedback creation settings will be preserved).

Selecting a new source file for an existing KNX driver Synchronize the driver with the project using the context menu option or the button on the project's driver structure toolbar:

  1. Synchronizing the driver using the "Select file ..." option in its settings

Knx_select_file.png

Choose "Select file ..." and select a *.knxproj file in the dialog that opens

  1. Synchronizing the driver using the synchronization option in the context menu

Синхронизация_драйвера.png

Select the source ETS project and the device to synchronize

СинхронизацияKNX.png

Select "Select file ..." to load a new source file

Select_file.png

After you select the source and device, a dialog appears for deleting obsolete or missing items from the old source

KNX_IP_Router.png

How group address flag analysis works: flags from all communication objects associated with a group address are combined, and their presence determines whether to add a command and feedback. Flags:

  • Communication - without this flag, neither a command nor feedback is created
  • Write - a command is added
  • Transmit - feedback is added. The "Read on start" option is disabled if the Read flag is absent
  • Read - enables the "Read on start" option in the settings of the created feedback
  • Update - not analyzed
  1. When import is complete and the synchronization settings are specified, add the addresses to the project (a driver of the corresponding type is created):

Import_AddDriverAddAddresses.png

You can add all or some of the addresses and organize them into folders:

  1. To add all addresses from the ETS file, drag the file by its header to the driver panel
  2. To add some addresses from the ETS file, drag an address folder or a group of addresses from the list
  3. You can add addresses directly to folders. Create a folder in the driver: select the driver, click (+) on the driver panel, and choose "Add command/feedback folder". Drag the selected addresses into the folder; both commands and feedbacks for those addresses are added there.

Use the synchronization button to update driver addresses according to the synchronization settings (see the settings in the import panel), or drag addresses to the driver panel for partial synchronization.

  1. To update the address list after changing the ETS project, export the file from ETS and import it again; the data is merged.

New addresses added from the ETS file are marked with a [new] icon. Addresses removed from the ETS file are marked with a trash icon; they should be removed from the driver through synchronization.

  1. The ETS project file does not store the KNX IP interface address. Make sure you have specified the KNX IP interface's current IP address:

Import_CheckIP.png

IMPORTED DATA panel tools​

ImportedData_PanelSettings.png

  1. Import - add a new ETS file to the import database, or update the contents of an existing file. ETS5 files (*.knxproj) are supported.
  2. Synchronize - synchronizes the ETS project file with the corresponding driver in the panel. Click button (4) to view synchronization settings. You can also synchronize by dragging the file from the import panel onto the driver.
  3. Delete ETS project data - deletes all imported data. Individual parts of a file's data cannot be deleted.
  4. Synchronization settings - settings for synchronizing group address data between the import panel and the driver (see the parameter descriptions in step 3 of the import instructions).
    1. Update properties - update group address settings during synchronization.
      1. Group address names - update names.
      2. Group address types - update data types.
    2. Add and delete - add and delete group addresses during synchronization.
      1. Add new group addresses from ETS file - add new addresses to the driver.
      2. Delete Group addresses removed from file - remove addresses absent from the ETS file from the driver (after confirmation).
    3. Object flags - analyze flags of group objects associated with the group address; analyze BAOS group objects.
      1. Analyze object flags to create command, feedback and read requests of Group address - based on flag analysis, only supported methods of working with the group address are added to the driver (a command for writing to the address, feedback for reading the address state, and the ability to request the state when the project starts).
  5. Switch between the group address database and BAOS Datapoints. The ETS file stores addresses and datapoints, which are used in different drivers and support different sorting methods.
  6. Group address sorting method. Sorting as in ETS is supported: "Group Addresses", "Devices", "Building".
  7. The Name field displays group addresses organized into folders according to the selected sorting method (6). Names consist of three components: the group address, its name (as in ETS), and the combined flags of associated group objects. Only the address name is used to name the command and feedback in the driver.
  8. The Type field displays the group address data subtype from ETS. If an address is not associated with group objects, it is not added to the project, and its type is undefined (Unknown).
  9. The Status field shows a [new] icon for addresses added when the ETS file is reimported. It shows a trash icon for addresses removed from the ETS project file but not yet removed from the driver.
  10. The In Use field shows an icon indicating whether the driver has a command and feedback for the corresponding address.

Commands & Feedbacks​

The import result contains:

  • KNX Router (Interface) - a driver that contains the list of group addresses on the bus;
  • Commands and Feedbacks - commands and feedback channels for controlling group addresses. Commands are writable group addresses; feedback channels are readable group addresses.

Commands and feedback channels must be linked to the project's graphic items to control equipment:

  • A command is linked to a graphical item with the value to send to the bus address when the graphical item is pressed;
  • Link a feedback channel to a graphic item to display the group address state.

To link a command or channel to a graphic item, use drag&drop - dragging an object onto another.

Examples of commands for controlling different address types are provided below.

Configuring the bus connection​

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

Local connection​

KNX_Router_1.png

  • Host - KNX IP interface IP address (IPv4)
  • Port - UDP port for connecting to the KNX interface: 3671
  • Reconnect time (ms) - wait time after an unexpected disconnection: 60000 or 120000 ms (depending on the KNX interface)
  • Send time (ms) - pause between commands sent to the bus, used to reduce bus load when buttons, scripts, or schedules send many commands in succession
  • Ping time (ms) - interval for sending Ping commands to check the connection to the interface
  • Nat - NAT mode; enable it when working over the Internet or with another IP subnet
  • DelayBetweenPolls (ms) - interval between group address status requests when the driver connects to the bus. All addresses in Feedback with "Read on start" enabled are polled. A DelayBetweenPolls of at least 100 ms is recommended for more than 100 addresses to reduce bus load. When polling more than 1000 addresses, a delay of at least 500 ms is optimal.

Internet and inter-network connection​

KNX_Router2.png

  • Host - public IP address of the Internet router
  • Port - UDP port for connecting to the KNX interface. It must be accessible from the Internet, so configure port forwarding using the Port Forwarding service on the Internet router
  • Reconnect time (ms) - wait time after an unexpected disconnection: 60000 or 120000 ms (depending on the KNX interface)
  • Send time (ms) - pause between commands sent to the bus, used to reduce bus load when buttons, scripts, or schedules send many commands in succession
  • Ping time (ms) - interval for sending Ping commands to check the connection to the interface
  • Nat - NAT mode; enable it when working over the Internet or with another IP subnet
  • DelayBetweenPolls (ms) - interval between group address status requests when the driver connects to the bus. All addresses in Feedback with "Read on start" enabled are polled. A DelayBetweenPolls of at least 100 ms is recommended for more than 100 addresses to reduce bus load. When polling more than 1000 addresses, a delay of at least 500 ms is optimal.

For Internet operation, specify the public IP address of the router to which the controller is connected and configure Port Forwarding.

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

Physical connection (Serial)​

ETS_Remote.png

  • Protocol - Serial;
  • Log Level - logging level;
  • Host - port used for communication between the server and the bus;
  • Used with iRidi device sets the host for the corresponding equipment (selecting this parameter disables the Host field);
  • Delay between polls (ms) - interval between group address status requests when the driver connects to the bus. All addresses in Feedback with "Read on start" enabled are polled. A DelayBetweenPolls of at least 100 ms is recommended for more than 100 addresses to reduce bus load. When polling more than 1000 addresses, a delay of at least 500 ms is optimal;
  • Baud Rate - data transfer rate;
    • This parameter is hidden if "Used with iRidi device" is set to a value other than [None];
  • Data Bits is the number of data bits in a frame;
    • This parameter is hidden if "Used with iRidi device" is set to a value other than [None];
  • Parity is the parity check;
    • This parameter is hidden if "Used with iRidi device" is set to a value other than [None];
  • Stop Bits - stop bit in the frame;
    • This parameter is hidden if "Used with iRidi device" is set to a value other than [None];
  • Update Time (ms) - data update interval;
  • Physical Address - physical address;
  • ACK all telegrams - True/False values.
Note
  • The ACK all telegrams parameter is shown in Studio only if "Used with iRidi device" is set to a value other than [None].

This parameter controls whether the server, acting as a KNX device, acknowledges telegrams received over the physical bus.

If the parameter is True, the server acknowledges all telegrams it receives at the TP1 physical layer, so devices do not retry sending the packet.

ACKAllTelegrams01.png

If the parameter is False, the server does not acknowledge telegrams received at the TP1 physical layer. As a result, the device on the KNX bus makes 3 more attempts to send the packet if NO device other than the server works with the requested group address.

If the parameter is False, the server does not acknowledge telegrams received at the TP1 physical layer. As a result, the device on the KNX bus makes 3 more attempts to send the packet if NO device other than the server works with the requested group address.

ACKAllTelegrams02.png

Remote connection (ETS Remote)​

ETS Remote provides remote access to the KNX bus. It requires a server with a KNX module and a server project loaded, a WIN client with a Panel Project loaded, and a purchased license with the following add-on: ETS Remote .

  1. In the server project, add the KNX Router (KNXnet/IP) / Serial driver and configure it for your server.

  2. In the Studio project settings, enable Cloud Gate.

  3. In the server web interface (home page => Other), set Server working mode to None .

  4. After starting the server and panel, upload their projects through the cloud.

  5. In the Panel Project's system menu (F8), turn ETS Remote on.

  6. The iRidi ETS Remote device then appears among the ETS5 interfaces with your device's IP and MAC addresses. You can access the bus through this interface just as through a regular KNX gateway.

When the connection succeeds, the client logs "KNX_REMOTE Open stream successfully".

Note
  • The server can run a KNX driver in Serial mode and a KNX gateway simultaneously, but only through a script. To access the bus while on site, you can use ETS Remote with a local server connection or a scripted gateway. To enable local ETS Remote operation, open the iRidi Server driver settings in the Panel Project (F8 > driver settings > iRidium Server). Disable Cloud Gate mode and specify the server's IP address. The service is available only through an integrator account. An end user cannot access this function from the Panel Project menu.

The following errors may occur when using ETS Remote:

ErrorDescription
ETS Remote driver was not found on the serverThis error appears as a popup in the active i3 pro project window if you try to enable ETS Remote while connected to a server whose project has no KNX driver. ETS Remote turns off automatically after this error.
ETS Remote connection is already in use from another PC. If you continue, the other connection will be closedThis error appears as a popup in the active i3 pro project window if you try to enable ETS Remote on a 2nd client while another client has an active connection. ETS Remote turns on, but operation is unstable. After 1 minute, one client turns ETS Remote off with the error "Server has been offline longer than 60 seconds. ETS Remote is deactivated".
Connection to the server is lostThis error appears in the client log (F4) if the client loses its connection to the server while ETS Remote is running. After a minute, if the client has not reconnected to the server, the following error appears on the client. If the connection is restored, ETS Remote continues running.
Server has been offline longer than 60 seconds. ETS Remote is deactivatedThis error appears as a popup in the i3Pro client workspace if the connection between client and server has not been restored 1 minute after it was lost. ETS Remote turns off automatically after this error.
Server is OfflineThis error appears as a popup in the active i3 pro project window if you try to enable ETS Remote when there is no connection to the server. After ETS Remote is enabled, the server waits for 1 minute. If the connection becomes available, ETS Remote operates normally; otherwise, this error appears.
Selected server does not support ETS RemoteThis error appears as a popup in the active i3 pro project window if you try to enable ETS Remote while connected to any server other than one with ETS Remote mode enabled. ETS Remote turns off automatically after this error.

Limitations

Firmware programming is currently not supported for the following devices:

  • Akuvox HyPanel Series control panel
  • ABB ABL/S2.1 logic module

If an error occurs when programming these devices, use a direct connection to the KNX bus, for example through a USB interface. It is also recommended to check whether the device can be programmed locally through ETS and contact the device manufacturer if necessary.

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 template (*.js) (right-click to save the target), then add the template to the script editor Icon_Scripts.png using (+) Add Script from file

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

function Internal_1() {
IR.GetDevice("KNX Router (KNXnet/IP)").SetParameters({Host: "192.168.0.100", Port: 3671, Login: "", Password: "",
ConnectionWaitTime: 60000, SendWaitTime: 0, PingTime: 30000, NAT: 0});
}
function External_1() {
IR.GetDevice("KNX Router (KNXnet/IP)").SetParameters({Host: "215.110.10.10", Port: 3671, Login: "", Password: "",
ConnectionWaitTime: 60000, SendWaitTime: 0, PingTime: 30000, NAT: 1});
}

Copy the driver name from the Devices panel; copy the parameter list exactly as shown in the example.

  1. Select the button that switches between Internal and External parameters. Open Macros editor for the Release event (Programming > Release), select Script call and add it by double-clicking. Select the function the button calls:

KNX_Router3.png

Each button press now applies the corresponding connection settings.

Configuring multiple client connections​

There are several ways to connect multiple control panels to the KNX bus.

  1. iRidi Server
  • capabilities: unlimited bus connections
  • requirements: install the application on a PC or use a hardware solution. Requires changing the licensing method and adapting the project.

Using iRidi Server reduces visualization costs and improves bus connection stability. This solution is preferable if your project includes more than 5 control panels. The server's own protocol provides a secure, stable bus connection with minimal bus load. Bus event logging and charting are available.

learn more >>

  1. KNX IP BAOS or Logic Machine
  • capabilities: up to 5 simultaneous connections through KNX IP BAOS, up to 10 connections through Logic Machine
  • requirements: purchase a KNX IP interface from the specified manufacturer

Configure the connection as follows:

2.1. Logic Machine, KNXnet/IP Tunneling protocol

No additional configuration is required. The Logic Machine controller can accept up to 10 KNXnet/IP connections by default.

2.2. KNX IP BAOS, KNXnet/IP Tunneling protocol

KNX IP BAOS routers support up to 5 KNXnet/IP Tunneling connections, but only one is active in the factory settings. Its physical address is 15.15.250. To activate the other tunnels, press and hold the router's programming button (Learn Button) for >1 second. The remaining 4 tunnels are activated by 4 long presses of the programming button and receive physical addresses based on the first tunnel's address. Example:

1. Tunneling connection 1 (15.15.250)
Press and hold the programming button for >1 sec.
(a flashing LED indicates that the additional tunnel is configured and activated)
2. Tunneling connection 2 (15.15.251)
Press and hold the programming button for >1 sec.
3. Tunneling connection 3 (15.15.252)
Press and hold the programming button for >1 sec.
4. Tunneling connection 4 (15.15.253)
Press and hold the programming button for >1 sec.
5. Tunneling connection 5 (15.15.254)

To change the physical address range of the configured tunneling connections, use ETS (change the first connection's address and repeat the setup procedure for the remaining 4). Example:

1. Tunneling connection 1 (1.1.1)
2. Tunneling connection 2 (1.1.2)
3. Tunneling connection 3 (1.1.3)
4. Tunneling connection 4 (1.1.4)
5. Tunneling connection 5 (1.1.5)

2.3. KNX IP BAOS, BAOS protocol

BAOS routers support multiple client connections using BAOS (Bus Access and Object Server), which in practice provides up to 5 TCP/IP connections to the router.

Configuration in ETS is required to provide:

  • Reduced bus load, since the bus does not need to be polled when variables are initialized at startup
  • Stable Internet operation (TCP protocol)
  • Fast reconnection after interruptions caused by switching between Wi-Fi access points

learn more >>

  1. iRidi Gate
  • capabilities: approximately 5 simultaneous connections
  • requirements: install the application on Windows

iRidi Gate is a Windows PC application that transfers data between control panels and a KNX IP interface. By default, a KNX IP interface cannot accept more than 1 connection, so Gate forwards commands from all control panels to the KNX interface and distributes status feedback among the panels.

Within certain limits (approximately 5 panels controlling 100-150 group addresses), Gate is sufficient to provide multiple client access. Using more devices and variables may overload the bus and cause some data and commands to be lost.

learn more >>

Sending commands​

Without iRidi Server, commands are sent directly to the KNX bus when graphical items in the visualization interface are pressed. Each control panel connects to the bus independently.

To send a command to the KNX bus, create a graphical interface for the control panel. The interface consists of pages, popups, and graphical items; see graphical interface creation basics.

To simplify your work, use ready-made interfaces.

SendRecieve.png

To control equipment, configure commands (Commands) and status feedback channels (Feedbacks). To send a command, drag it onto a graphical item and specify the value (Value) to send. To display status feedback, drag the channel onto a graphical item and select where to display the value (Value).

KNX driver commands have an additional Command type parameter:

  • Read request - calling the command polls the bus without writing a value. If the device state was changed mechanically, the driver receives the updated state as it does at the start of polling;
  • Write value - calling the command writes a value to the bus.

All existing and newly created commands are assigned the "Write value" type.

Important

Important: when using this function, set the Send time parameter in the driver settings.

The following sections describe the group address types supported by iRidi and the graphical item settings suitable for controlling these address types.

KNX Type: 1.1-bit​

Command:

Type1.1-bitKNX group address type
Sub Typemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0 / 11.001 Switch0 = Off, 1 = On
0 / 11.002 Bool0 = False, 1 = True
0 / 11.003 Enable0 = Disable, 1 = Enable
0 / 11.004 Ramp0 = No ramp, 1 = Ramp
0 / 11.005 Alarm0 = No alarm, 1 = Alarm
0 / 11.006 Binary Value0 = Low, 1 = High
0 / 11.007 Step0 = Decrease, 1 = Increase
0 / 11.008 Up/Down0 = Up, 1 = Down
0 / 11.009 Open/Close0 = Open, 1 = Close
0 / 11.010 Start/Stop0 = Stop, 1 = Start
0 / 11.011 State0 = Inactive, 1 = Active
0 / 11.012 Invert0 = Not inverted, 1 = Inverted
0 / 11.013 DIM Send Stype0 = Start/Stop, 1 = Cyclically
0 / 11.014 Input Source0 = Fixed, 1 = Calculated
0 / 11.015 Rest0 = No action (dummy), 1 = Reset command (trigger)
0 / 11.016 Ack0 = No action (dummy), 1 = Acknowledge command (trigger) e.g. for alarming
0 / 11.017 Trigger0, 1 = Trigger
0 / 11.018 Occupancy0 = Not occupied, 1 = Occupied
0 / 11.019 Window/Door0 = Closed, 1 = Open
0 / 11.021 Logical Function0 = OR, 1 = AND
0 / 11.022 Scene A/B0 = Scene A, 1 = Scene B
0 / 11.023 Shutter Blinds Mode0 = only move Up/Down mode (shutter), 1 = Move Up/Down + Step/Stop mode (blind)
0 / 11.100 Coolinig/Heating0 = Coolinig, 1 = Heating

* - specify when dragging the command onto a graphical item

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 2.1-bit controlled​

Command:

Type2.1-bit controlledKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0 / 1allNo Control
2allControl. Function Value 0
3allControl. Function Value 1

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 3.3-bit controlled​

Command:

Type3.3-bit controlledKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0allStop
1all100% Decrease (Down)
2all50% Decrease (Down)
3all25% Decrease (Down)
4all12,5% Decrease (Down)
5all6,25% Decrease (Down)
6all3,125% Decrease (Down)
7all1,56% Decrease (Down)
8allStop
9all100% Increase (Up)
10all50% Increase (Up)
11all25% Increase (Up)
12all12,5% Increase (Up)
13all6,25% Increase (Up)
14all3,125% Increase (Up)
15all1,56% Increase (Up)

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 4.Character​

Command:

Type4.CharacterKNX group address type
Subtype4.002 ASCII/ISO 8859-1KNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...255ISO_8859_1send an ASCII character; see the table.

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNXCharacterTypeTable.png

Convert the HEX value from the table to decimal and send it using a button.

KNX Type: 5.8-bit unsigned value​

Command:

Type5.8-bit unsigned valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...255VALUE, PERSENT, DECEMINAL FACTORvalue within the range
0...1005.001 Percentage (0..100%)(%) converted value
0...3605.003 Angleangle
0...2555.004 Percentage (0..255%)value within the range
0...2555.005 Ratiovalue within the range
0...2555.006 Tariffvalue within the range
0...2555.010 Counter Pulsesvalue within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

For ASCII and ISO-8859_1 subtypes, see KNX Type: Character

KNX Type: 6.8-bit signed value​

Command:

Type6.8-bit signed valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
-128...127allcontrol within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 7.2-byte unsigned value​

Command:

Type7.2-byte unsigned valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...65535allcontrol within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 8.2-byte signed value​

Command:

Type8.2-byte signed valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
-32768...32768allcontrol within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 9.2-byte float value​

Command:

Type9.2-byte float valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
-273... 6704339.001 Temperature Ctemperature control
-671088... 6704339.002 Temperature Diff,
9.003 Kelvin/Hour
(K, K/h) temperature control
0... 6704339.004 Lux,
9.005 Speed,
9.006 Pressure,
9.007 Humidity,
9.008 Air Quality
control within the range
-671088... 6704339.010 Time 1,
9.011 Time 2,
9.020 Voltage,
9.021 Current,
9.022 Power Depensity,
9.023 Kelvin/Percent,
9.024 Power,
9.025 Volume Flow,
9.026 Rain Amount
control within the range
-459... 6704339.027 Temperature Ftemperature control
0... 6704339.028 Wind Speedventilation speed control

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 10.Time, 11.Date​

Command:

Type10.Time, 11.DateKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
DD Month YYYY 00:00:0011.001 DateSet the date on the KNX bus (day, month, year)
00:00:0010.001 Timeset the time on the KNX bus (hours: minutes: seconds)

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

Time and date can only be sent using a script (see the attached example). The argument for sending time or date is an instance of the Date object. If the driver is used in a server project, date and time cannot be sent through the web interface.

KNX Type: 12.4-byte unsigned value​

Command:

Type12.4-byte unsigned valueKNX group address type
Subtype12.001 ValueKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...429496729512.001 Valuecontrol within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 13.4-byte signed value​

Command:

Type13.4-byte signed valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
-2147383648 ... 2147483647allcontrol within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 14.4-byte float value​

Command:

Type14.4-byte float valueKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
3,4E–38 ... 3,4E+38allcontrol within the range

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 16.Character string​

Command:

Type16.Character stringKNX group address type
Subtypemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
KNX is OK16.000 ASCII,
16.001 ISO 8859-1
send a string of up to 14 characters (ENG) or up to 7 characters (RUS)

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 17.Scene Number​

Command:

Type17.Scene NumberKNX group address type
Subtype17.001 Scene NumberKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...6317.001 Scene Numberactivate a scene

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 18.Scene Control​

Command:

Type18.Scene ControlKNX group address type
Subtype18.001 Scene ControlKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...6318.001 Scene Controlactivate a scene
128...19118.001 Scene Controllearn a scene from 0 to 63 (learn scene 0 = 128)

* - specify when dragging the command onto a graphical item.

ParameterCommand / ActionPurpose
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value 0…63Action + scene number (0-63/128-191)Activate a scene from 1 to 64 (scene numbering starts at 0; scene 1 = 0, scene 64 = 63)
Value 128…191Action + scene number (0-63/128-191)Learn a scene from 1 to 64 (scene numbering starts at 128; scene 1 = 128, scene 64 = 191)
1…64Activate the scene (1-64)Activate a scene from 1 to 64 (scene 1 = 1, scene 64 = 64)
1…64Learn the scene (1-64)Learn a scene from 1 to 64 (scene 1 = 1, scene 64 = 64)

* - specify when dragging the command onto a graphical item

Note
  • To activate a scene using "Action + scene number (0-63/128-191)", specify the scene number with an offset of -1: to activate scene No. 1, send 0 to the control channel; to activate scene No. 8, send 7 to the control channel; to activate scene No. 64, send 63 to the control channel.
  • To relearn a scene using "Action + scene number (0-63/128-191)", scene numbering starts at 128: to learn scene No. 1, send 128 to the control channel; to learn scene No. 7, send 134 to the control channel; to learn scene No. 64, send 191 to the control channel.
  • To activate a scene using "Activate the scene (1-64)", specify the scene number as is, without an offset: to activate scene No. 1, send 1 to the control channel; to activate scene No. 8, send 8 to the control channel; to activate scene No. 64, send 64 to the control channel.
  • To learn a scene using "Learn the scene (1-64)", specify the scene number as is, without an offset: to learn scene No. 1, send 1 to the control channel; to learn scene No. 8, send 8 to the control channel; to learn scene No. 64, send 64 to the control channel.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 20.1-byte​

Command:

Type20.1-byteKNX group address type
Sub Typemultiple valuesKNX group address subtype
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints)
Value *SubtypePurpose
0...220.002 SCLO Mode/Building Mode/Occupied0 - building occupied,
1 - building unoccupied,
2 - building protected.
0...320.004 Priority0 - high priority,
1 - medium priority,
2 - low priority,
3 - "empty".
1...320.007 Alarm Class1 - simple alarm,
2 - basic alarm,
3 - extended alarm.
0...1820.011 System Error Class0 - no error,
1 - general device fault,
2 - communication error,
3 - configuration error,
4 - hardware error,
5 - software error,
6 - insufficient nonvolatile memory,
7 - insufficient volatile memory,
8 - a command to allocate memory of size 0 was received,
9 - CRC error,
10 - watchdog reset detected,
11 - invalid opcode detected,
12 - general protection fault,
13 - maximum table length exceeded,
14 - undefined load command received,
15 - group address table not sorted,
16 - invalid connection number (TSAP),
17 - invalid group object number (ASAP),
18 - group object type exceeds (PID_MAX_APDU_LENGTH - 2).
0...420.012 HVAC Error Class0 - no fault,
1 - sensor fault,
2 - process fault / controller fault,
3 - actuator fault,
4 - other fault.
0...1220.014 Beaufort Wind Force Scalewind force scale.
0...420.102 HVAC Mode0 - Auto,
1 - Comfort,
2 - Standby,
3 - Economy,
4 - Building Protection.
0...420.103 DHW Mode0 - Auto,
1 - LegioProtect,
2 - Normal,
3 - Reduced,
4 - Off/FromProtect.
0...220.104 Load Priority0 - none,
1 - change load priority,
2 - absolute load priority.
0...17, 2020.105 HVAC Control Mode0 - Auto,
1 - Heat,
2 - Morning Warmup,
3 - Cool,
4 - Night Purge,
5 - Precool,
6 - Off,
7 - Test,
8 - Emergency Heat,
9 - Fan only,
10 - Free Cool,
11 - Ice,
12 - Maximum Heating Mode,
13 - Economic Heat / Cool Mode,
14 - Dehumidification,
15 - Calibration Mode,
16 - Emergency Cool Mode,
17 - Emergency Steam Mode,
20 - NoDem.
0...520.106 HVAC Emergency Mode0 - Normal,
1 - EmergPressure,
2 - EmergDepressure,
3 - EmergPurge,
4 - EmergShutdown,
5 - EmergFire.
0...220.107 Changeover Mode0 - Auto,
1 - CoolingOnly,
2 - HeatingOnly.
1...520.108 Valve Mode1 - heating stage A,
2 - heating stage B for two-stage heating (A+B),
3 - cooling stage A,
4 - cooling stage B for two-stage cooling (A+B),
5 - heating / cooling for applications.
1...420.109 Damper Mode1 - Fresh air,
2 - Supply air,
3 - Discharge air,
4 - Extract air.
1...320.110 Heater Mode1 - Heat Stage A On/Off,
2 - Heat Stage A Proportional,
3 - Heat Stage B Proportional.
0...220.111 Fan Mode0 - not running,
1 - running continuously,
2 - running intermittently.
0...220.112 Master/Slave Mode0 - standalone,
1 - master,
2 - slave.
0...220.113 Status Room Setpoint0 - normal setpoint,
1 - alternative setpoint,
2 - building protection setpoint.
1...220.120 ADA Type1 - Air Damper,
2 - VAV.
0...120.121 Backup Mode0 - backup value,
1 - retain the last state.
0...220.122 Start Synchronization0 - position unchanged,
1 - closing,
2 - opening.

* - specify when dragging the command onto a graphical item

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 229.*4-1-1 byte combined information​

Command:

Type229.*4-1-1 byte combined informationKNX group address type
Subtype229.001 metering value(value, encoding, cmd)KNX group address subtype.
Unitsenergy, 0.001 Whunit of measurement.
Alarm un ackfalse/trueobject alarm status is unacknowledged.
In alarmfalse/trueobject is in alarm.
Overridenfalse/truemain value is rejected.
Faultfalse/truemain value is corrupted due to a fault.
Out of servicefalse/truevalue is out of service.
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints).
Value *SubtypePurpose
-2147483648 ... 2147483647001 metering value(value, encoding, cmd)control within the range.

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 232.3-byte colour RGB​

Command:

Type232.3-byte colour RGBKNX group address type
Subtypemultiple valuesKNX group address subtype.
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints).
Value *Result viewPurpose
0...16777215Fullchange the color.
0...255Red,
Green,
Blue
change part of the color.

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

KNX Type: 251.* Colour RGBW​

Command:

Type251.* Colour RGBWKNX group address type
Subtype251.600 RGBW value 4×(0..100%)KNX group address subtype.
Value paramCeil,
Partial
change the color value (fully / partially).
Red informationValid / Invalidinclude / exclude this value when forming the color.
Green informationValid / Invalidinclude / exclude this value when forming the color.
Blue informationValid / Invalidinclude / exclude this value when forming the color.
White informationValid / Invalidinclude / exclude this value when forming the color.
Color partRed,
Green,
Blue,
White
select the value for a partial color change.
Address1/1/1KNX group address (Address: 1 - for BAOS Datapoints).
Value *Value paramPurpose
0...16777215Ceilchange the color.
0...255Partialchange part of the color.

* - specify when dragging the command onto a graphical item.

Feedback:

The settings are the same as for the command. Value is received in Feedback and can be used to display register status on items.

Emulator: testing the project​

Emulator - an application for testing a project in iRidi Studio.

Important
  • The Emulator only works after you sign in using your iRidi Mobile website login and password.

Configure Emulator modes in Tools > Options > Emulator:

  • Show log at Emulator start - open the log window automatically (otherwise, press F4 to open it).

KNX_Router4.png

Keyboard shortcuts:

  • F4 - open the log;
  • F5 - start the Emulator;
  • F7 - open the account and project management menu;
  • F8 - open system settings (enter the password 2007 ).

Synchronizing with a control panel​

As an integrator, you can quickly run the visualization interface on a control panel: smartphone, tablet, or PC. Install i3 pro and sign in with your iRidi Mobile integrator login and password.

Use i3 pro for iOS, Android, Windows, Mac in test mode by uploading projects through iRidi Transfer (available only to integrators):

iRidi Transfer settings

Commercial use of iRidi is possible only when visualization projects are uploaded through the cloud service iRidi Cloud on the iRidi Mobile website (see the instructions).

Note
  • Only a registered integrator can configure iRidi Cloud. After configuration, users can be invited to control the automation site.