Media Controller

The media controller is a function block that allows you to use your app as a universal remote!


The block allows you to control many different media devices through the same interface, similar to a multi-function remote control.

The block supports virtual outputs, IR commands as well as RS-232 and RS-485 commands.

There are a number of modes that you can create to then add multiple commands. For example switching in to the Watch Movie mode would bring on our projector, set the AVR to the correct source and turn on the DVD player.

The user interface has options for then controlling channels, volumes and has a button cross.


Before you can add devices to the media controller block you need to add them into the program first. To do this you can use our pre-defined devices for virtual outputs, remote controls (for IR), and RS-232/485 templates.

You can also create your own devices, you can find the relevant documentation below:


First add in the media controller block either by selecting it from the Program tab, or by pressing F5 on a page and searching.

If you then double click on the block you will open up the editor so you can configure the modes and devices. A mode is a group of commands that are executed when you click on the buttons in the user interface. Different modes will cause buttons to do different things. So for example you can configure a Watch TV mode to adjust the volume of the TV with the volume buttons. However in another mode Music using the volume buttons will adjust the amplifier volume.

To rename a mode click on the name of the mode where you can type in a new name. If you click on an device this will open a popup box where you can change the device.

You can select multiple devices to be used with the mode, for example when you need an AVR to change the source to watch the Sky box or the DVD player. To do this simply tick the devices you want to use in the respective mode.

Example Screenshot Of Loxone Config Media Controller Edit


The next step is to go to the configuration tab in the editor. In this tab all the buttons in the user interface are listed. The next column shows whether the button has had any commands added to it. The third column allows you to configure the commands.

In addition to the buttons on the user interface there are also options for change to and from mode. So when you go to an All Off mode for example you could power off all the devices.

Click on the […] icon to open another editor. Here you will see the system outputs (i.e. the outputs from your devices), the block outputs (AQ1 to AQ26) which you can use to trigger other outputs in your configuration (bring blinds down for example), and finally you will see the other functions such as delays.

Example Screenshot Of Loxone Config Media Controller Configure

The configuration dialog shows on the left side 3 trees:
  • Peripheral outputs: Outputs the activated mode devices.

    ATTENTION: Here only lists devices that are located in the selected area!

  • Property outputs: Outputs of the program block (AQ1 to AQ26)

  • Additional functions: to insert time delays between commands (eg IR commands so they can be properly processed by the device)


To add a command to the button list, highlight the command to the left and then click on the + button to add the command to the list.

Existing entries can be deleted and moved up and down in the list order. If you have used one of the AQ1 to AQ26 outputs you can define a value or let the keypad define the value using the <v> entry.

The column pulse shows you how long this command is sent for. If you put a 0 in this field the command will be permanently set.

Using the delay function and having different pulse lengths you can set up sequences for controlling your media equipment just like you would when using a remote by hand.

Example Screenshot Of Loxone Config Media Controller Commands




TrTrigger on and offToggles the power button on and off, a double click will turn off.
V+Volume upTriggers the volume up button.
V-Volume downTriggers the volume down button.
P+Next channelTriggers the next channel button.
P-Previous channelTriggers the previous channel button.
AImAnalogue input to choose modeSelect a mode using this analogue input (1 to 8).
M1-M8Trigger input to select modeSelects modes 1 to 8.
RResetSets all outputs to 0 and any commands will be interrupted.
DisDisableChild lock input, will stop all inputs to the block working but the user interface will still function.




AQmAnalogue outputOutputs the current mode as an analogue value from 1 to 8.
AQpDigital outputReturns the state of the power button, so can be used to switch the power for a device.
AQ1-AQ26Analogue outputsAllows other outputs to be controlled through the analogue outputs of the block.


TnNumber pad timeoutAfter this timeout in ms, whatever number is entered in the number pad will be transmitted. If Tn is equal to 0 then the value is only transmitted after the confirmation key is pressed.
TdcMaximum pulse seperation (s) This parameter defines how close together two pulses have to be in order to count as a double click and not two separate clicks. The smaller this parameter the faster the click has to be.



Here is an example of what the media controller looks like on the apps. There is also a number pad screen where you can choose numbers to control devices.

Loxone App Media Controller Example

Screenshot Of Loxone Tablet App Media Controller


Find links to the right for videos on our video channel and lots of sample files!

You can also find out more about what you can do with AV equipment and Loxone.

See our video channel for Loxone Config videos and more!

Head over to our sample files page for inspiration and ideas.

Find out about controlling audio and video equipment with Loxone.