iRidi for Helvar
A toolkit for creating interfaces to control Helvar equipment
Documentation updated 01.01.2024
Description
iRidi for Helvar is a toolkit for creating an interface to control lighting based on Helvar equipment.
You can connect to Helvar using several methods (drivers): HelvarNet (TCP), HelvarNet (UDP), HelvarNet Internal (UDP), and Helvar AV (RS232).
Make sure your Helvar router supports the HelvarNet protocol; otherwise, a software and firmware update is required. Use DIGIDIM 910/920 for IP connections.
iRidi for Helvar licensing (details).
Connection
Equipment configuration and settings required for iRidi to control Helvar.
Helvar connection methods
Helvar drivers have specific features to consider when choosing a control method:
Local connection:HelvarNet (TCP), HelvarNet (UDP), HelvarNet Internal (UDP), HelvarAV (RS232)

Internet connection:HelvarNet (TCP)
- HelvarNet (TCP)
- supports a Site license
- updates device statuses only at the control panel's request
- supports 1 connection on the local network
- supports 1 connection over the Internet
- HelvarNet (UDP)
- supports a Site license
- updates device statuses only at the control panel's request
- receives only the changes requested by the control panel
- supports multiple connections on the local network
- does not support Internet connections
- HelvarNet Internal (UDP)
- uses UDP broadcasting within an IP network segment
- does NOT support a Site license
- receives state change information without an explicit request
- supports multiple connections on the local network
- does not support Internet connections
- Helvar AV (RS232)
- uses RS232 transport to connect to DALI
- does NOT support a Site license
- supports 1 connection on the local network
- does not support Internet connections
Importing the Helvar driver into iRidi
Import lets you add a csv file exported from Designer to the project. This is the fastest and most convenient way to add a driver to a project. All imported commands and feedback channels have preset settings that you can change if necessary.
To import:
- Open Designer and go to Tools > Grouping Report...

- Generate a grouping report:

- Go to the Reports tab, right-click the report to open its menu, and click Save As :

- In iRidi Studio, click Scanner / Import and select Import Helvar (*.csv).

- Select the required csv file.

- Select all devices you need to import.

- A driver with commands and feedback channels organized into folders appears in the project.

Adding the Helvar driver manually
In addition to importing, you can add and configure the Helvar driver manually:

Configuring the Helvar connection
Select the driver and its default connection settings. You can change them while working with the project.

- Host - the router's IP address on the local network (or the Internet router's public IP address)
- Port - the port for connecting to the router (TCP / UDP). The TCP port is always 50000; the UDP port is 50001
For Internet operation, specify the public IP address of the router to which the controller 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.
-
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("HelvarNet (TCP)").SetParameters({Host: "10.254.1.2", Port: 50000});
}
function External_1() {
IR.GetDevice("HelvarNet (TCP)").SetParameters({Host: "215.110.10.10", Port: 50000});
}
Copy the driver name from the Devices 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.
Equipment control

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, channel, and graphical item settings are shown below:
Direct Level, Query Load Level
Direct Level is used to turn a device (Device) or group (Group) on/off or set its brightness.
Query Load Level is a feedback channel that periodically queries the controlled device's status (Device) and provides it to the interface.
Command (Direct Level Device)
| Command | Direct Level Device | set the device state (on/off/brightness) |
|---|---|---|
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | 0...100 | specified brightness value |
Command (Direct Level Group)
| Command | Direct Level Group | set the device state (on/off/brightness) |
|---|---|---|
| Group | 1...16383 | address of a device group in the Helvar system |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | 0...100 | specified brightness value |
Value is specified when dragging the command onto a graphical item. In Helvar, the range is 0-100: a dimmer processes all values, while a relay responds to zero and nonzero values. A relay has an activation threshold below which it does not turn on.
Feedback (Query Load Level)
| Command | Query Load Level | query and display the device state (brightness). For Device only |
|---|---|---|
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Use Timer | Yes/No | query device status on a timer (HelvarNet does not provide status without a request) |
| Timer | 0...n | (ms) device status query interval |
| Value | 0...100 | current device brightness value |
Value is received by the feedback channel and used to display the state.
Recall Scene
Use Recall Scene Device / Group to recall a scene programmed for a device or device group in the Helvar system.
A scene recall command can only be sent to loads (dimmers, relay modules, ballasts, etc.).
Command (Recall Scene Device)
| Command | Recall Scene Device | recall a scene for a device |
|---|---|---|
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| CL | 0...1 | Constant Light: 1 = On, 0 = Off |
| Block | 1...8 | scene block number (Scene 1.2 = block 1 scene 2) |
| Fade Time | 0...6553.5×10³ | (ms) transition time |
| Value | 1...n | scene number |
Command (Recall Scene Group)
| Command | Recall Scene Group | recall a scene for a device group |
|---|---|---|
| Group | 1...16383 | device group address |
| CL | 0...1 | Constant Light: 1 = On, 0 = Off |
| Block | 1...8 | scene block number |
| Fade Time | 0...6553.5×10³ | (ms) transition time |
| Value | 1...n | scene number |
Feedback: information about the current scene cannot be obtained.
Direct Proportion
Sets a proportion. The value is defined as the difference between the last set level and the device's maximum output level.
Command (Direct Proportion Device)
| Command | Direct Proportion Device | set a proportion for a device |
|---|---|---|
| Cluster | 1...253 | device address |
| Router | 1...254 | device address |
| Subnet | 1...4 | device address |
| Device | 1...255 | device address |
| Fade Time | 0...6553.5×10³ | (ms) transition time |
| Value | 0...100 | proportion value |
Command (Direct Proportion Group)
| Command | Direct Proportion Group | set a proportion for a group |
|---|---|---|
| Group | 1...16383 | device group address |
| Fade Time | 0...6553.5×10³ | (ms) transition time |
| Value | 0...100 | proportion value |
Feedback:
The current device state is received through Query Load Level
How the proportion value is calculated
Result of writing a positive proportion: if the last scene set 44% brightness and you write 50 to "Direct Proportion Device", the resulting brightness is 72%:
44 + (100 - 44)*50/100 = 72%
Result of writing a negative proportion: if the last scene set 44% brightness and you write -50 to "Direct Proportion Device", the resulting brightness is 22%:
44*50/100 = 22%
Modify Proportion
Modifies a proportion. The result can be calculated using the formulas in "#Direct Proportion", but "Modify Proportion" affects the proportion itself rather than the result of applying it. Thus, starting with the 50% added through "Direct Proportion", you can add 5% through "Modify Proportion" (55% in total) and obtain the result using the original formula.
Command (Modify Proportion Device)
| Command | Modify Proportion Device | modify the proportion for a device |
|---|---|---|
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | 0...100 | proportion value |
Command (Modify Proportion Group)
| Command | Modify Proportion Group | set a proportion for a group |
|---|---|---|
| Group | 1...16383 | address of a device group in the Helvar system |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | 0...100 | proportion value |
Value is specified when dragging the command onto a graphical item.
Feedback:
The current device state is received through Query Load Level
How the proportion value is calculated Result of writing a positive modification: take the "Direct Proportion" example from the previous section. After sending that command, a subsequent proportion modification of 5% produces 75% brightness because it applies to the previous "Direct Proportion" value:
44 + (100 - 44)*(50 + 5)/100 = 75%
Result of writing a negative modification: take the "Direct Proportion" example from the previous section. After sending that command, a subsequent proportion modification of -5% produces 19% brightness because it applies to the previous "Direct Proportion" value:
44*(50 - 5)/100 = 19%
Emergency Test Control Commands
"Emergency Function Test Device" and "Emergency Duration Test Device" are emergency state queries to be sent only to DALI interfaces. Non-emergency devices in the system will not respond.
Command (Device)
| Command | Emergency Function Test Device | query the device's emergency functions |
|---|---|---|
| Command | Emergency Duration Test Device | query the duration of the emergency state |
| Command | Stop Emergency Tests Device | stop all emergency tests |
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | - | not used; leave 0 or an empty value |
Command (Group)
| Command | Emergency Function Test Device | query the DALI device's emergency functions |
|---|---|---|
| Command | Emergency Duration Test Device | query the duration of the emergency state |
| Command | Stop Emergency Tests Device | stop all emergency tests |
| Group | 1...16383 | address of a device group in the Helvar system |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | 0...100 | not used; leave 0 or an empty value |
Feedback (Device)
| Command | Emergency Function Test Device | DALI device faults |
|---|---|---|
| Command | Emergency Duration Test Device | duration of the emergency state |
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Fade Time | 0...6553.5×10³ | (ms) transition time from the current state to the specified state |
| Value | 0...n | current state |
Feedback (Group)
| Command | Emergency Function Test Device | DALI device faults |
|---|---|---|
| Command | Emergency Duration Test Device | duration of the emergency state |
| Group | 1...16383 | address of a device group in the Helvar system |
| Value | 0...n | current state |
Query Commands
Helvar device status queries are created in the Feedbacks tab and run cyclically at an interval set by Timer.
If your chosen Helvar protocol supports automatic system status change notifications, create the Feedback without a timer.
Feedback:
| Type | Command | Description |
|---|---|---|
| Section | General Query Commands | |
| Command | Query Clusters | all element identifiers (Cluster Member) present in the cluster |
| Command | Query Routers | all identifiers in the specified cluster |
| Command | LSIB - Last Scene In Block | last scene recalled in the specified block |
| Command | Query Device Type | type of the queried device. 1 - DALI, 2 - Digidim, 4 - SDIM, 8 - DMX |
| Command | Query Description | device/group description |
| Section | Device State Query Commands | |
| Command | Query Device State | list of device flags (parameters) |
| Command | Query Device Is Disabled | device disabled state |
| Command | Query Lamp Failure | lamp failure |
| Command | Query Device Is Missing | device missing state |
| Command | Query Device Is Faulty | device faulty state |
| Command | Query Emergency Battery Failure | emergency battery failure |
| Section | Measurement / Input / Level Query Commands | |
| Command | Query Measurement | change in an analog parameter, such as light (Analogue Input Unit) |
| Command | Query Inputs | digital input state |
| Command | Query Load Level | device status |
| Section | Power Consumption Query Commands | |
| Command | Query Power Consumption | device power consumption |
| Command | Query Group Power Consumption | power consumption of all devices in the group |
| Section | Emergency Test Query Commands | |
| Command | Query Emergency Function Test Time | emergency test time |
| Command | Query Emergency Function Test State | emergency test status. Pass - 0, Lamp Failure - 1, Battery Failure - 2, Faulty - 4, Failure - 8, Test Pending - 16, Unknown - 32 |
| Command | Query Emergency Duration Test Time | emergency test duration |
| Command | Query Emergency Duration Test State | duration of the emergency state |
| Command | Query Emergency Battery Charge | remaining emergency battery charge |
| Command | Query Emergency Battery Time | total emergency battery operating time |
| Command | Query Emergency Total Lamp Time | total lamp operating time from any power source |
| Section | System Query Commands | |
| Command | Query Time, Longitude, Latitude, Time Zone, Daylight Saving Time, Software Version, HelvarNet Version | system parameters |
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Use Timer | Yes/No | query device status on a timer (if disabled, status is not updated) |
| Timer | 0...n (ms) | device status query interval |
| Subdevice | 1...255 | subdevice address |
| Value * | 0...100 | current parameter value |
- Value - received by the feedback channel; use it to display the value on items
The Query Load Color command is supported in the first and second protocol versions.
Query Device State
Each device in a Helvar lighting control system can report a number of its parameters (flags) on request. This can be used to monitor the lighting system's state.
To display device flags, create a feedback channel and specify the device address and flag query interval in its settings. Link the channel to a graphical item that displays the flag state (0 - inactive, 1 - active):
Feedback:
| Type | Command | Description |
|---|---|---|
| Command | Query Device State | query the state of a device parameter |
| Command Property | Disabled | Device or subdevice has been disabled, usually an IR subdevice or a DMX channel |
| Command Property | Lamp Failure | Unspecified lamp problem |
| Command Property | Missing | The device previously existed but is not currently present |
| Command Property | Faulty | Ran out of addresses (DALI subnet) / unknown Digidim control device / DALI load that keeps responding with multi-replies |
| Command Property | Refreshing | DALI subnet, DALI load or Digidim control device is being discovered |
| Command Property | Resting | Load is intentionally off whilst the control gear is being powered by the emergency supply |
| Command Property | Reserved | |
| Command Property | In Emergency | No mains power is being supplied |
| Command Property | In Prolong | Mains has been restored but device is still using the emergency supply |
| Command Property | FT In Progress | The Functional Test is in progress (brief test where the control gear is being powered by the emergency supply) |
| Command Property | DT In Progress | The Duration Test is in progress. This test involves operating the control gear using the battery until the battery is completely discharged. The duration that the control gear was operational for is recorded, and then the battery recharges itself from the mains supply |
| Command Property | DT Pending | The Duration Test has been requested but has not yet commenced. The test can be delayed if the battery is not fully charged |
| Command Property | FT Pending | The Functional Test has been requested but has not yet commenced. The test can be delayed if there is not enough charge in the battery |
| Command Property | Battery Fail | Battery has failed |
| Command Property | In Hi Bit | Prevents an emergency fitting from going into emergency mode |
| Command Property | FT Requested | Emergency Function Test has been requested |
| Command Property | DT Requested | Emergency Duration Test has been requested |
| Command Property | Unknown | Initial state of an emergency fitting |
| Command Property | Over Temperature | Load is over temperature/heating |
| Command Property | Over Current | Too much current is being drawn by the load |
| Command Property | Comms Error | Communications error |
| Command Property | Severe Error | Indicates that a load is either over temperature or drawing too much current, or both |
| Command Property | Bad Reply | Indicates that a reply to a query was malformed |
| Command Property | Device Mismatch | The actual load type does not match the expected type |
| Cluster | 1...253 | device address (@ address) |
| Router | 1...254 | device address (@ address) |
| Subnet | 1...4 | device address (@ address) |
| Device | 1...255 | device address (@ address) |
| Use Timer | Yes/No | query device status on a timer (if disabled, status is not updated) |
| Timer | 0...n (ms) | device status query interval |
| Subdevice | 1...255 | subdevice address |
| Value * | 0...100 | current parameter value |
- Value - received by the feedback channel; use it to display the value on items