« Back to Product

Documentation

Mediaplayer

Require: IP-Symcon >= 5.4

Description

For devices of the type Mediaplayer, diverse parameters can be set. The device can be switched on and off, set the volume, supports muting and can control the playback. When a mediaplayer supports only some of these properties, only the corresponding variables need to be defined.

Parameter

Name Description
Name Name that is used to address the device via Amazon Alexa
Switch Variable A triggerable variable of type Boolean, that switches the device on or off (optional)
Volume Variable A triggerable variable of type Integer or Float that controls the volume (optional)
Mute Variable A triggerable variable of type Boolean, that controls the muting (optional)
Playback Variable A triggerable variable of type Integer with the profile ~Playback or ~PlaybackPreviousNext that defines the state of the playback; Depending on the profile, Alexa only provides the corresponding actions, i.e., Stop, Play and Pause for ~Playback and additionally Previous and Next for ~PlaybackPreviousNext (optional)

At least one of the optional variables needs to be defined

Warning

When optional variables are not set, Alexa recognizes that the device does not support the corresponding properties. If optional variables are defined later on, a new search for devices needs to be executed before the newly unlocked functions can be used.

Possible Actions

Action Description Possible Sentence for Activation
Switch On or Off Trigger the Switch Variable to True or False "Alexa, switch <Name> on."
Set volume Switch the Volume Variable to the given value "Alexa, switch the volume of <Name> to 40."
Mute or unmute Switch the Mute Variable to True or False "Alexa, mute <Name>."
Set playback Switch the Playback Variable to the provided value "Alexa, play <Name>"

An instance must have status variables with the fitting profiles to be detected by the device search. To be detected as Mediaplayer, at least the Playback Variable needs to be detected.

Variable Possible Profiles
Switch Variable ~Switch
Volume Variable This variable is not detected via device search
Mute Variable This variable is not detected via device search
Playback Variable ~Playback, ~PlaybackPreviousNext
Any questions?