Music Server Zone

In order to use the "Music Server Zone" function block, a Music Server must first be commissioned and created in Loxone Config.

Table of Contents


Inputs

AbbreviationSummaryDescriptionUnitValue Range
TgZToggle ZoneToggles zone on and off-0/1
ZonZone OnDigital Input - Single pulse turns zone on
This input is only visible in certain configurations.
-0/1
ZoffZone OffDigital Input - Single pulse turns zone off
When playing a playlist, pressing Play will restart playback at the beginning of the title.
This input is only visible in certain configurations.
-0/1
V+Casatunes Music Server: VolumeTrigger volume up
Double click selects the next source
-0/1
Loxone Music Server: VolumeSingle pulse to turn volume up
Double click selects the next zone favorite
-0/1
Loxone Music Server Gen 2: VolumeSingle pulse to turn volume up
Double click selects the next zone favorite
-0/1
V-VolumeTrigger volume down
Double click turns zone off
-0/1
AIvVolume levelAnalog Input - Value for volume level%0...100
S+Casatunes Music Server: Next SourceTrigger next source-0/1
Loxone Music Server: Next zone favoriteTrigger next zone favorite
If a user-defined selection was made last, the first zone favorite is played.
-0/1
Loxone Music Server Gen 2: Next zone favoriteTrigger next zone favorite
If a user-defined selection was made last, the first zone favorite is played.
-0/1
AIsCasatunes Music Server: SourceAnalog input source-
Loxone Music Server: Zone favoriteAnalog input zone favorite-0...8
PlayStart playbackTrigger start playback-0/1
PausePause playbackTrigger pause playback
When playing a playlist, pressing Play will resume playback at the current position of the title.
-0/1
StopStop playbackTrigger stop playback
When playing a playlist, pressing Play will restart playback at the beginning of the title.
This input is only visible in certain configurations.
-0/1
Song+Next trackTrigger next track-0/1
Song-Previous trackTrigger previous track-0/1
MuteMuteTrigger mute
This input is only visible in certain configurations.
-0/1
ShuffleShuffleTrigger shuffle-0/1
RepeatRepeatAnalog input repeat
0 = Off, 1 = Repeat continuously, 2 = Repeat once
-0...2
MoMotion sensorMotion sensor, starts playback of currently selected playlist-0/1
T5Combined button inputV+ and V- buttons are used. Double click on key 3 switches the zone off (see parameter Roff).-
RResetReset, turns zone off.
When playing a playlist, pressing Play will restart playback at the beginning of the title.
The name of the connected sensor is used in the user interface.
-0/1
DisDisableChild lock - disables all inputs, but not user interface-0/1
DisMoDisable motion sensorPrevents the music from coming on via Mo. Does not affect the automatic switch-off with parameter MT.-0/1
AAlarm inputActivates playback of burglar alarm with the volume set in parameter Va
Whilst the alarm input is active, all other inputs are disabled
This input is only visible in certain configurations.
-0/1
FAFire AlarmActivates playback of fire alarm with the volume set in parameter Va
This input is only visible in certain configurations.
-0/1
BeDoorbell inputActivates playback of doorbell with the volume set in parameter Vbe
This input is only visible in certain configurations.
-0/1
BuzzerAlarm clock inputActivates playback of alarm clock with the volume set in parameter Vbu
This input is only visible in certain configurations.
-0/1
SleepSleep timer inputZone is muted and switched off after duration specified in Ts
The sleep timer is reset when switching off the zone (Off, Pause, Stop, R).
This input is only visible in certain configurations.
-0/1
TTSText to Speech inputText to Speech input
Maximum length 400 characters
This input is only visible in certain configurations.
--




Outputs

AbbreviationSummaryDescriptionUnitValue Range
QaZone status on/off-0/1
AQvCurrent volume level%0...100
AQsCurrent source-
Current zone favorite-
Current zone favorite-
AQrRemaining time of sleep timerValue indicating remaining time until zone is turned off by sleep timer
This output is only visible in certain configurations.
-
QonZone on pulse
This output is only visible in certain configurations.
-0/1
QoffZone off pulse
This output is only visible in certain configurations.
-0/1
RQReset output
Activated by reset input (R) or double click
-0/1
RaQReset triple pulse-0/1
APIAPI ConnectorIntelligent API based connector.
Music Server Zone is not supported by the Touch Pure Flex.
API Commands
--




Parameters

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
TdcDouble click intervalTime between 2 clicks to turn off zone
If you do not want to use a double click enter 0 in this field.
s0...∞0,35
SvVolume step sizeVolume step size when adjusting using Vol +/--3
RfFirst recurrenceIf an input is ON longer than this time in seconds the command is repeated. This applies to V+ and V- (also T5)-0,5
RrRepeat intervalWhen the input remains ON, the command is repeated at this interval (in seconds). The inputs V+ and V- (incl. T5) are affected-0,2
MTAutomatic switch off motionAutomatic shutdown of the zone after the end of the last movement
If this value is not equal to 0, the motion detector is used to turn off the zone independent of (TH). If you are using this to turn off music that was accidentally left on, the recommended value is 30 minutes (1800)
s0...∞3600
THDuration OnActivates the zone on motion and starts the timer (TH) on the falling edge of the motion detector input
If this value is 0, automatic shutdown will be disabled
s0...∞900
TiDelay of the Motion SensorDeactivates Mo input after turning the zone off.
If this value is set to 0 then the state of DisMo will be used
s0...∞300
VmMaximum volume levelMaximum volume level via App and block inputs
This parameter is only visible in certain configurations.
-0...100100
VdStartup volumeDefault volume level at power up
Volume when switching the zone on. If set to -1 the zone's last volume is used when switching on.
This parameter is only visible in certain configurations.
--1...10010
VaLoxone Music Server: Alarm volumeVolume level for alarm sound (burglar or fire alarm).
This parameter is only visible in certain configurations.
-0...10075
Loxone Music Server Gen 2: Alarm volumeMinimum volume level for alarm sound (burglar or fire alarm).
If the zone is currently playing at a higher volume, the sound will be played at the current volume.
This parameter is only visible in certain configurations.
-0...10075
VbeLoxone Music Server: Doorbell volumeVolume level for doorbell sound
This parameter is only visible in certain configurations.
-0...10020
Loxone Music Server Gen 2: Doorbell volumeMinimum volume level for doorbell sound
If the zone is currently playing at a higher volume, the sound will be played at the current volume.
This parameter is only visible in certain configurations.
-0...10020
VbuLoxone Music Server: Alarm clock volumeVolume for alarm clock sound.
This parameter is only visible in certain configurations.
-0...10010
Loxone Music Server Gen 2: Alarm clock volumeMinimum volume level for alarm clock sound
If the zone is currently playing at a higher volume, the sound will be played at the current volume.
This parameter is only visible in certain configurations.
-0...10010
VtLoxone Music Server: TTS volume
This parameter is only visible in certain configurations.
-0...10020
Loxone Music Server Gen 2: TTS minimum volumeMinimum volume level for TTS ouput
In order to be able to hear the voice output clearly at all times, it is always played back at the current volume level, which may be higher than parameter Vtts.
This parameter is only visible in certain configurations.
-0...10020
TsSleep timer duration [s]Duration of the sleep timer in seconds
This parameter is only visible in certain configurations.
-300
TeEvent playback duration [s]Minimum playback time of event sounds in seconds.
If the value is too low, the event playback may be cut off.
This parameter is only visible in certain configurations.
-8
TqoDelay of Qoff [s]Delay of the pulse on Qoff
after the zone has been switched off / paused
This parameter is only visible in certain configurations.
-30
ROffIgnore room off commandIf the room-off function (input T5, double click on button 3) is detected, the music will also be switched off.-0/10




Properties

SummaryDescriptionDefault Value
Music ServerReference to the Music Server. To use this block, the corresponding Music Server must be selected here.-
Assigned Music ZoneDefines the assigned Music Zone.-



Basic Programming

If a zone is renamed, this change will be applied for AirPlay and other services at the latest after a reboot of the Music Server.


Setup of UPNP zones

Although UPnP / DLNA is a defined standard, some additional parameters must be considered.

The default UPnP mode is 0 and the Music Server automatically selects the appropriate settings provided by the UPnP device.

With certain devices, the Music Server cannot automatically select the correct settings. For this, we have created predefined UPnP modes for popular devices:

0 = Autodetect (as far as possible depending device)

1000 = Vast electronics WiFi-HiFi

1001 = Sonos Play:3, ZP100, Play:1(1), Connect

1002 = Raumfeld

1003 = Pioneer (generic e.g.N30)

1004 = Pioneer (XW-SMA Series)

1005 = Marantz generic

1006 = Marantz CR-Series

1007 = Marantz NR-Series

1008 = Roku Players

1009 = IcyBox

1010 = Revo Axis gerneric

1011 = Revo Axis Stream series

1012 = Musical Fidelity M1

1013 = Sony X-xx Series

1014 = Lenco Playlink Series Devices

1015 = Denon CEOL Series

1016 = Sonos Playbar

1017 = Sonos Play:5

1018 = Sonos Play:1 (2)

1019 = Denon generic devices

1020 = WHD

1021 = Raumfeld II(2016 series)

1022 = Harman Kardon Receiver series

1023 = Onkyo generic

1024 = Onkyo CR-N755

1025 = Pure One Flow Radios

1026 = Pure Jongo S3X

1027 = WHD II (CE/9xxx series)

1028 = Silvercrest devices

If the device does not appear in this list and problems still occur with the UPNP device, please use the following settings:

2001 = When no music is audible, the player in the user interface indicates that music is being played.

2002 = If the change to the next song fails / playlists can not be played.

2003 = If the zone plays once but after a PAUSE no PLAY works anymore.

2004 = combination between 2001 and 2002

2005 = Combination between 2001 and 2003

2006 = Additional codec for generic devices

2007 = Uses additional pause / start requests when changing songs


Events

All event inputs play the event with a rising edge until the edge is back to 0. That applies to:

-Alarm/Fire Alarm

-Bell

-Alarm Clock

If one of the inputs in the config is active, the event sound will be played once. Thereafter, the zone remains paused until the edge is back to 0.

Even if the edge is very short, the event is played for the event time Te set in Config.

The Event Sounds can be accessed from the Music Server and the Data Generator (Windows Explorer) at the following address:

If you would like to set your own event sound, copy it into the folder. For the doorbell it is named as follows: "1-doorbell.mp3"

Grouped Events: alarm, fire alarm, bell, alarm clock

Grouped event commands should be used to trigger alarm, fire alarm or bell events.

-with the volume from the settings of the zone block: audio/grouped/{eventtype}/ZoneID1,ZoneID2,...
Example: audio/grouped/bell/1,3,9,8,10

-with volume values specified per zone: audio/grouped/{eventtype}/ZoneID1~VolumeZ1,ZoneID2~VolumeZ2,...
Example: audio/grouped/alarm/1~45,2~40,3~55

ATTENTION! These events MUST be ended with the same ZoneIDs: audio/grouped/{eventtype}/off/ZoneID1,ZoneID2,...
Example: audio/grouped/bell/off/1,3,9,8,10
audio/grouped/alarm/off/1,2,3


Presence Simulation

This function block has a presence simulation.
Activate and define the presence simulation in the properties window: