Skip to main content

iRidi for Velbus

A toolkit for creating interfaces to control equipment on the Velbus bus

Documentation updated 01.01.2024

Description​

iRidi for Velbus is a toolkit for creating an interface to control a home or office based on Velbus equipment.

iRidi for Velbus allows a control panel (iOS, Android, Windows, Mac) to connect to the Velbus bus.

Connection​

Ways to connect to Velbus.

iRidi Server software connects to the Velbus system through a USB or RS-232 interface module. Use a USB-to-LAN or RS 232-to-LAN adapter so that iRidi can read devices attached to the control bus by scanning over UDP/TCP (for more information, contact the developers at Velbus).

You can first connect to the Velbus device using the manufacturer's VelbusLink software. It helps you monitor controller status and view or change operating parameters that may be needed for diagnostics and work on the project in iRidi Studio.

After connecting to the controller, the device address and data channels are displayed.

VelbusLink allows you to change a device address. Right-click the device and select the address change option, or press F3. In the menu that opens, assign an address to match your project.

VelbusLink.png

Note

You can rename devices for convenience. This does not affect the iRidi project because iRidi Server uses their addresses.

VelbusLink2.png

Changing Connection Parameters.​

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 and save the linked file), then add the template to the script editor using (+) Add script from file

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

function Internal_1() {
IR.GetDevice('Velbus').SetParameters({Host: "192.168.0.85", Port: 27015});
}
function External_1() {
IR.GetDevice('Velbus').SetParameters({Host: "215.110.10.10", Port: 5001});
}

Copy the driver name from the project device pane; 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 in the object's programming settings, select Script call, 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.

After setup, you can proceed to the project in iRidi Server.

Working in iRidi Studio​

Create a project and open the scanner/import option in the driver catalog. Scanning works only on the local network.

ScanVelbus scans the network over UDP. After scanning, all available Velbus configuration modules in the subnet appear. Select the required modules from the list.

ScanVelbusTCP connects to the specified configuration module by IP address and port.

Velbus1.png

After scanning, a list of devices ready for use appears. Select the required devices.

Velbus2.png

Velbus Driver Properties​

  1. Control bus settings:
  • Log Level - logging level;
  • Host - Velbus controller IP address;
  • Port - main port (27015). System data, IR commands, sensor data, and relay commands pass through this port;
  • Login - login for protected access (optional);
  • Password - password for protected access (optional);
  • connection wait setting - timeout in ms for connecting to Velbus; the driver reconnects if it expires;
  • Wait for Data (ms) - timeout in ms for a response from the equipment; if it expires, the driver repeats the request and checks the connection. Set 0 to keep the driver connected to the equipment when no data is received;
  • SSL - connection encryption type. The default is Disable. Velbus devices support all available encryption versions.

Velbusdriver.png

  1. Driver system tokens.

SystemTokens.png

  1. Connected devices have the following parameters:
  • Name - device name;
  • Driver Type - driver type;
  • Address - device address on the bus;
  • Device Type - device type (relay, weather sensor, etc.).

Velbus3.png

Device Types​

The list includes devices available on the official Velbus website that are supported by iRidi.

You can change a device's command list after scanning or manually adding it to the project.

Contact support at [mailto:support@iridiummobile.ru support@iridiummobile.ru] if the list needs updating or you find an inaccuracy.

Input:

  • VMBVP1;
  • VMBVP1;
  • VMBLCDWB;
  • VMB8PBU;
  • VMB8PB;
  • VMB8IR;
  • VMB7IN;
  • VMB6PBN;
  • VMB6IN;
  • VMB4RF;
  • VMB4PD;
  • VMB2PBN.

Sensor:

  • VMBPIRO;
  • VMBPIRM;
  • VMBPIRC;
  • VMB4AN.

Temperature sensor:

  • VMBMETEO;
  • VMBGPOD;
  • VMBGPO;
  • VMBGP4PIR;
  • VMBGP1_2_4;
  • VMBELO;
  • VMBEL1_2_4;
  • VMB1TSW;
  • VMB1TS/

Dimmer:

  • VMBDMI_R;
  • VMBDMI;
  • VMBDME;
  • VMB4DC;
  • VMB1LED;
  • VMB1DM.

Relay:

  • VMB4RYNO;
  • VMB4RYLD;
  • VMB4RY;
  • VMB1RYNOS;
  • VMB1RYNO;
  • VMB1RY.

Blind :

VMB2BLE;

  • VMB2BL;
  • VMB1BLS;
  • VMB1BL.

Temperature controller:

  • VMB1TCW;
  • VMB1TC.

Configuring commands and feedbacks​

SendRecieve.png

Recommended ways to control devices on the Velbus bus follow the descriptions of the operation codes. Each operation code supports sending values within a specific range, which must be respected when configuring graphic items. Some operation codes support receiving feedback only, without sending commands. Ways to display feedback are also provided after each operation code.

To bind a command, drag it onto a graphic item and specify the value (Value) to send. To display feedback, drag the channel onto a graphic item and specify how to display the value (Value).

For more information about graphical items, see Graphical item types.

Dimmer Units

The dimmer can be turned on and off. Its brightness can be controlled only while it is on.

Command:

ChannelParameterValue
1None-
2LED status-
3Dimvalue (0-100%)0-100%
4Last used dimvalue-
5Stop dimming-
6Start dimming-
  • Value - specify this when dragging the command onto a graphical item

Feedback:

ChannelParameterValue
1None-
2Inhibited-
3Forced-
4Disabled-
5LED status-
6Blind status-
7Blind position-
  • Value - specify this when dragging the command onto a graphical item

Control Input Unit

The control module, also called an input module, can be physically connected to input modules (a motion sensor, doorbell, etc.). The module controls states and events.

Command:

ChannelParameterValue
1None-
2LED status-
3Lock/unlock local control-
4Current program-
5Channel programm status-
6Sunrise-
7Sunset-
8Push button-
9Slow blinking led-
10Fast blinking led-
11Very fast blinking led-
12Set blinking led-
  • Value - specify this when dragging the command onto a graphical item

Feedback:

ChannelParameterValue
1None-
2On/off-
3Disabled-
4Led status-
5Lock/unlock local control-
6Current program-
7Channel status-
8Inverted channel status-
9Channel programm status-
10Channel alarm status-
11Channel type status-
12Sunrise-
13Sunset-
14Interval time sensor-
15Test modus-
16Slow blinking led-
17Fast blinking led-
18Timer status-
19Edge color inhibited-
20Temperature sensor program-
21Open collector output program-
22Open collector output locked-
23Open collector output status-
24Oled display status-
25Screensaver-
26Display-
27Button disabled-
28Light sensor value-
29Dark or light output-
30Motion output status-
31Bell output status-
32Door output status-
33Virtual button status-
34Motion output locked-
35Bell output locked-
36Door output locked-
37Virtual button locked-
38Motion output program-
39Bell output program-
40Virtual button program-
41Operating mode-
42Learn transmiter mode-
  • Value - specify this when dragging the command onto a graphical item

Switch/Relay Units

A relay (switch) can be turned on and off.

Command:

ChannelParameterValue
1None-
2On/off-
3Inhibited-
4Forced-
5LED status-
6Current delay time-
7Start timer-
  • Value - specify this when dragging the command onto a graphical item

Feedback:

ChannelParameterValue
1None-
2On/off-
3Inhibited-
4Forced-
5Disabled-
6LED status-
7Current delay time-
8Start timer-
  • Value - specify this when dragging the command onto a graphical item

Sensor Units

Command:

ChannelParameterValue
1None-
2Led status-
3Lock/unlock local control-
4Temperature mode-
5Current program-
6Channel programm status-
7Sunrise-
8Sunset-
9Sensor value as a text string-
  • Value - specify this when dragging the command onto a graphical item

Feedback:

ChannelParameterValue
1None-
2Lock/unlock local control-
3Current program-
4Sleep timer-
5Channel status-
6Channel programm status-
7Channel alarm status-
8Channel type status-
9Sunrise-
10Sunset-
  • Value - specify this when dragging the command onto a graphical item

Temperature sensor

Command:

ChannelParameterValue
1None-
2Led status-
3Lock/unlock local control-
4Work mode-
5Temperature mode-
6Current program-
7Current temperature set-
8Channel programm status-
9Sunrise-
10Sunset-
11Push button-
12Sensor value as a text string-
13Slow blinking led-
14Fast blinking led-
15Very fast blinking led-
16Set blinking led-
17Lock/unlock channel-
  • Value - specify this when dragging the command onto a graphical item