Communication with UDP

This capability is useful for the control of network devices

Configure and set up easily with Loxone Config

Send and receive UDP commands using the Miniserver

The Miniserver provides a network interface to send and receive UDP commands. This capability is useful for the control of network devices that support the UDP protocol.

Receive UDP commands using the Miniserver

The Miniserver supports reception of UDP commands.
You can view all commands and packets using the Loxone UDP monitor.

Creating a virtual UPD input

In the Periphery tab, select the 'Virtual I/O' list and click 'Virtual UDP Input'. It will then appear in the Periphery window.

Sender address and port

Click on the virtual input connector and look at the properties window. Here you can set the name, sender address (the IP address) and UDP receiver port.

UDP monitor

To facilitate the creation of UDP inputs, use the UDP monitor. The UDP monitor can be found under the Miniserver tab. You must activate the UDP monitor in order to see all UDP packets on the network.

Create an input using the UDP monitor

In the UDP Monitor select a packet, then click on 'Create Digital Sensor', or 'Create Analog Sensor'. After adding the sensor, the UDP input is displayed in Periphery. If the Text message 'input = 1' is sent from Miniserver lxl007f, the UDP input responds by transmitting a pulse.

Received data error command recognition

For error recognition, variables can be specified which can make simplify the resolution process.




Using the variable\v, the virtual UDP input can take on the value given by the UDP sender


Byte 1 (lowest)


Byte 2


Byte 3


Byte 4


This variable identifies a dynamic HEX value




Any sign


Tab (0x09)


0x20, 0x09








A-Z, a-z, 0-9


A-Z, a-z

Send UDP commands using the Miniserver

How to send any UDP commands with the Miniserver using a virtual output.

Add a UDP virtual output connector

Add a virtual output connector. The output connector will then be in shown in the Periphery.

Enter the address

To allow UDP commands, type in the following address and port information:

/dev/udp/ , and enable 'close connection after sending'.

Insert virtual commands

In addition to the virtual output connector, virtual commands must also be added and stored. To do this, click on 'Virtual I/O' in Periphery, then click on 'virtual output command' in the Context tab. The virtual command is now listed in the Periphery window under the virtual outputs.

Enter virtual commands

Highlight the virtual command in the Periphery window and enter the desired command in 'Command if ON' or 'Command if OFF'.

The command found in the field 'Command if ON' will be sent when a pulse arrives at the virtual command. The command in the field 'Command if OFF' is sent when the pulse terminates. If no command is entered, no command is sent.

Any message can be sent as long as it is recognized by the recipient device. If not, the packet will not be accepted.