Skip to main content

Remote CLI Tool

Overview​

The DALION Remote CLI (command-line interface) Tool is a Windows tool to help with multiple configurations and setups of the DALION lighting controller.

Commands​

A list of the available commands and parameters.

help​

Lists the available commands and parameters.

Example

--help

version​

Displays the tool version.

Example

--version

ip​

IP address of the DALION controller.

Example

--ip 192.168.0.210

channel​

DALI channel number between 1 and 4. It is possible to use a single channel or have multiple channels.

Example

# single channel
--channel 1
# multiple channels
--channel [1, 2]

channelcsvfile​

This parameter is a path to a CSV (comma-separated values) file. CSV file can be created in a spreadsheet software like Microsoft Excel or directly as a text file.

It is possible to use a single channel or have multiple channels.

Example

# single channel
--channelcsvfile "[\"C:\\channel1_lamps.csv\"]"
# multiple channels
--channelcsvfile "[\"C:\\channel1_lamps.csv\", \"C:\\channel2_lamps.csv\"]"

channelgroupscsvfile​

This parameter is a path to a CSV (comma-separated values) file. CSV file can be created in a spreadsheet software like Microsoft Excel or directly as a text file.

It is possible to use a single channel or have multiple channels.

Example

# single channel
--channelgroupscsvfile "[\"C:\\channel1_groups.csv\"]"
# multiple channels
--channelgroupscsvfile "[\"C:\\channel1_groups.csv\", \"C:\\channel2_groups.csv\"]"

channelinputscsvfile​

This parameter is a path to a CSV (comma-separated values) file. CSV file can be created in a spreadsheet software like Microsoft Excel or directly as a text file.

It is possible to use a single channel or have multiple channels.

Example

# single channel
--channelinputscsvfile "[\"C:\\channel1_inputs.csv\"]"
# multiple channels
--channelinputscsvfile "[\"C:\\channel1_inputs.csv\", \"C:\\channel2_inputs.csv\"]"

action​

Action to perform on the DALION.

ActionDescription
setup_channelPre-commissioning of DALI lamps
get_backupDownload backup files from the controller
put_backupUpload backup files to the controller
push_firmwareAllows upgrading of the controller firmware

firmwarefile​

Path to a firmware file.

backupfileouttype​

Type of backup output; directory or zip. The default value is directory.

directory​

Backup files are created in the directory.

zip​

A ZIP file containing all the backup is created in the directory.

backupconfig​

Select the backup. By default all backups are used. Multiple configurations can be passed.

ValueDescription
systemconfigController system configuration
dali1Configuration and commissioning of DALI channel 1
dali2Configuration and commissioning of DALI channel 2
dali3Configuration and commissioning of DALI channel 3
dali4Configuration and commissioning of DALI channel 4

Example

--backupconfig "[\"systemconfig\", \"dali2\"]"

backupfileout​

The directory where the backup files are copied.

Example

backupfileout "C:\backup\"

backupfilein​

The ZIP or TAR configuration file to upload to the controller.

Example

backupfilein "C:\backup\backup_DALION.zip"

Channel Lamps CSV File Format​

The format of the CSV file is as follows.

#DALION DALI CHANNEL CSV,,,,,,,,,,,
#dali-channel-csv-version: 1,,,,,,,,,,,
#channel,lampIndex,shortAddress,name,groups,powerOnLevel,systemFailureLevel,minLevel,maxLevel,fadeRate,fadeTime,scenes
4,1,1,AABBCC,"[1,4]",10,30,0.1,100,4,2,"[100, 20, null, 80]"

First line​

File description.

#DALION DALI CHANNEL CSV,,,,,,,,,,,

Second line​

File content version. The version number should be 1.

#dali-channel-csv-version: 1,,,,,,,,,,,

Third line​

File content header. Should have the following columns.

#channel,lampIndex,shortAddress,name,groups,powerOnLevel,systemFailureLevel,minLevel,maxLevel,fadeRate,fadeTime,scenes
Column
channel
lampIndex
shortAddress
name
groups
powerOnLevel
systemFailureLevel
minLevel
maxLevel
fadeRate
fadeTime
scenes

Columns​

The lamp data columns.

channel​

The DALI channel number of the DALION, starting at zero (0).

lampIndex​

The DALI lamp index in the DALION starting at zero (0). Number between 0 and 63.

shortAddress​

The DALI lamp short address between 0 and 63. A value of null can be used not to modify the short address.

name​

The name of the DALI lamp that will appear in the DALION and BACnet network.

groups​

The DALI groups that the lamp takes part of. The format is "[GROUP_NUMBER, GROUP_NUMBER]". Replace GROUP_NUMBER by any group number between 0 and 15.

DALI default value is "[]".

powerOnLevel​

The DALI lamp parameter "POWER ON LEVEL" in percent. For DALI MASK use the value null.

DALI default value is 100.

systemFailureLevel​

The DALI lamp parameter "SYSTEM FAILURE LEVEL" in percent. For DALI MASK use the value null.

DALI default value is 100.

minLevel​

The DALI lamp parameter "MIN LEVEL" in percent. For DALI MASK use the value null.

maxLevel​

The DALI lamp parameter "MAX LEVEL" in percent. For DALI MASK use the value null.

DALI default value is 100.

fadeRate​

The DALI lamp parameter "FADE RATE". Should be a number between 1 and 15.

DALI default value is 7.

ValueFade Rate (steps/seconds)
1358
2253
3179
4127
589.4
663.3
744.7
831.6
922.4
1015.8
1111.2
127.9
135.6
144.0
152.8

fadeTime​

The DALI lamp parameter "FADE TIME". Should be a number between 0 and 15.

DALI default value is 0.

ValueFade Time (seconds)
0No fade
10.7
21.0
31.4
42.0
52.8
64.0
75.7
88.0
911.3
1016.0
1122.6
1232.0
1345.3
1464.0
1590.5

scenes​

The values in percent of the different light intensity scenes of the lamp. For DALI MASK use the value null. The format is "[SCENE_VALUE, SCENE_VALUE]". Replace SCENE_VALUE by the scene value in percent. Each index represents the value of the scene X for that index.

DALI default value is "[]".

Channel Groups CSV File Format​

The format of the CSV file is as follows.

#DALION DALI CHANNEL GROUPS CSV,,
#dali-channel-groups-csv-version: 1,,
#channel,groupIndex,name
0,0,"DALI 1-4-BD1-G0"

First line​

File description.

#DALION DALI CHANNEL GROUPS CSV,,

Second line​

File content version. The version number should be 1.

#dali-channel-groups-csv-version: 1,,

Third line​

File content header. Should have the following columns.

#channel,groupIndex,name
Column
channel
groupIndex
name

Columns​

The group data columns.

channel​

The DALI channel number of the DALION, starting at zero (0).

groupIndex​

The DALI group index in the DALION starting at zero (0). Number between 0 and 15.

name​

The name of the DALI group that will appear in the DALION and BACnet network.

Channel Inputs CSV File Format​

The format of the CSV file is as follows.

#DALION DALI CHANNEL INPUTS CSV,,,,,,,,,,,,,,,,,,
#dali-channel-inputs-csv-version: 1,,,,,,,,,,,,,,,,,,
#channel,inputIndex,shortAddress,name,numberOfInstances,instancesType,instancesResolution,instancesClassButtonRepeatTime,instancesClassButtonOptions,instancesClassButtonPressTime,instancesClassButtonDestination,instancesClassButtonCommand,instancesClassButtonValue1,instancesClassButtonValue2,instancesClassOccupancySensorHoldTime,instancesClassOccupancySensorDeadTime,instancesClassOccupancySensorReportTime,instancesClassLightSensorHysteresis,instancesClassLightSensorHysteresisMin
0,1,7,Input Button 1,7,"[1, 1, 1, 1, 1, 1, 1]","[0, 0, 0, 0, 0, 0, 0]","[1, 1, 1, 1, 1, 1, 1]","[0, 0, 0, 0, 0, 0, 0]","[0, 0, 0, 0, 0, 0, 0]","[1, 1, 1, 1, 1, 1, 1]","[1, 1, 1, 1, 1, 1, 1]","[0, 0, 0, 0, 0, 0, 0]","[0, 0, 0, 0, 0, 0, 0]",[],[],[],[],[]

First line​

File description.

#DALION DALI CHANNEL INPUTS CSV,,,,,,,,,,,,,,,,,,

Second line​

File content version. The version number should be 1.

#dali-channel-inputs-csv-version: 1,,,,,,,,,,,,,,,,,,

Third line​

File content header. Should have the following columns.

#channel,inputIndex,shortAddress,name,numberOfInstances,instancesType,instancesResolution,instancesClassButtonRepeatTime,instancesClassButtonOptions,instancesClassButtonPressTime,instancesClassButtonDestination,instancesClassButtonCommand,instancesClassButtonValue1,instancesClassButtonValue2,instancesClassOccupancySensorHoldTime,instancesClassOccupancySensorDeadTime,instancesClassOccupancySensorReportTime,instancesClassLightSensorHysteresis,instancesClassLightSensorHysteresisMin
Column
channel
inputIndex
shortAddress
name
numberOfInstances
instancesType
instancesResolution
instancesClassButtonRepeatTime
instancesClassButtonOptions
instancesClassButtonPressTime
instancesClassButtonDestination
instancesClassButtonCommand
instancesClassButtonValue1
instancesClassButtonValue2
instancesClassOccupancySensorHoldTime
instancesClassOccupancySensorDeadTime
instancesClassOccupancySensorReportTime
instancesClassLightSensorHysteresis
instancesClassLightSensorHysteresisMin

Columns​

The input data columns.

channel​

The DALI channel number of the DALION, starting at zero (0).

inputIndex​

The DALI input index in the DALION starting at zero (0). Number between 0 and 31.

shortAddress​

The DALI lamp short address between 0 and 63. A value of null can be used not to modify the short address.

name​

The name of the DALI input that will appear in the DALION and BACnet network.

numberOfInstances​

The number of instances.

instancesType​

The type of instance. The format is "[INSTANCE_TYPE, INSTANCE_TYPE]". Replace INSTANCE_TYPE by one of the following supported instance type numbers.

NameNumber
Push-Button1
Occupancy Sensor3
Light Sensor4

instancesResolution​

The instance resolution number. The format is "[INSTANCE_RESOLUTION, INSTANCE_RESOLUTION]". Replace INSTANCE_RESOLUTION by the instance resolution number.

instancesClassButtonRepeatTime​

For push-button. The instance repeat time. The format is "[REPEAT_TIME, REPEAT_TIME]". Replace REPEAT_TIME by the instance repeat time.

instancesClassButtonOptions​

For push-button. The instance options. The format is "[OPTIONS, OPTIONS]". Replace OPTIONS by the instance options.

instancesClassButtonPressTime​

For push-button. The instance press time. The format is "[PRESS_TIME, PRESS_TIME]". Replace PRESS_TIME by the instance press time.

instancesClassButtonDestination​

For push-button. The instance destination. The format is "[DESTINATION, DESTINATION]". Replace DESTINATION by the instance destination.

instancesClassButtonCommand​

For push-button. The instance command. The format is "[COMMAND, COMMAND]". Replace COMMAND by the instance command.

instancesClassButtonValue1​

For push-button. The instance value 1. The format is "[VALUE_1, VALUE_1]". Replace VALUE_1 by the instance value 1.

instancesClassButtonValue2​

For push-button. The instance value 2. The format is "[VALUE_2, VALUE_2]". Replace VALUE_2 by the instance value 2.

instancesClassOccupancySensorHoldTime​

For occupancy sensor. The instance hold time. The format is "[HOLD_TIME, HOLD_TIME]". Replace HOLD_TIME by the instance hold time.

instancesClassOccupancySensorDeadTime​

For occupancy sensor. The instance dead time. The format is "[DEAD_TIME, DEAD_TIME]". Replace DEAD_TIME by the instance dead time.

instancesClassOccupancySensorReportTime​

For occupancy sensor. The instance report time. The format is "[REPORT_TIME, REPORT_TIME]". Replace REPORT_TIME by the instance report time.

instancesClassLightSensorHysteresis​

For light sensor. The instance hysteresis. The format is "[HYSTERESIS, HYSTERESIS]". Replace HYSTERESIS by the instance hysteresis.

instancesClassLightSensorHysteresisMin​

For light sensor. The instance hysteresis minimum. The format is "[HYSTERESIS_MIN, HYSTERESIS_MIN]". Replace HYSTERESIS_MIN by the instance hysteresis minimum.

Example of command​

DALI Pre-comminising configuration​

To perform offline pre-commissioning of DALI lamps of a channel the following parameters are used.

ParametersValue
actionsetup_channel
ipIP address of the controller
channelChannel to modify
channelcsvfileCSV file for the DALI lamps
channelgroupscsvfileCSV file for the DALI groups
channelinputscsvfileCSV file for the DALI inputs

Example

lwgwu-cli.exe --action setup_channel --ip 192.168.0.210 --channel 1 --channelcsvfile "[\"C:\\channel1.csv\"]"

Download Backup​

To download the backup files from the controller the following parameters are used.

ParametersValue
actionget_backup
ipIP address of the controller
backupfileouttypeType of backup output
backupconfigBackup config files to download
backupfileoutDirectory where the backup is copied

Example

lwgwu-cli.exe --action get_backup --ip 192.168.0.210 --backupfileouttype zip --backupfileout "C:\\backup\\"

Upload Backup​

To upload a backup file to the controller the following parameters are used.

ParametersValue
actionput_backup
ipIP address of the controller
backupfileinPath to the backup file to upload

Example

lwgwu-cli.exe --action put_backup --ip 192.168.0.210 --backupfilein "C:\\backup\\backup_DALI-ON.zip"

Firmware Upgrade​

  • MAKE SURE THE DALION HAS A STABLE POWER SUPPLY DURING THE FIRMWARE UPGRADE.
  • DO NOT REMOVE THE POWER SUPPLY FROM THE DALION DURING THE FIRMWARE UPGRADE.

To upgrade the firmware of the controller the following parameters are used.

ParametersValue
actionpush_firmware
ipIP address of the controller
firmwarefilePath to the firmware file to upload

Example

lwgwu-cli.exe --action push_firmware --ip 192.168.0.210 --firmwarefile "C:\\firmware\\DALION_1.0.0.bin"