Skip to content

Volumio Binding ​

This binding integrates the open-source Music Player Volumio.

Supported Things ​

All available Volumio (playback) modes are supported by this binding.

Discovery ​

The Volumio devices are discovered through mDNS in the local network and all devices are put in the Inbox.

Thing Configuration ​

Parameter nameTypeDescriptionDefaultRequiredAdvanced
hostnametextThe hostname of your Volumio device.N/Ayesno
portintegerThe port of your Volumio device.3000nono
protocoltextThe protocol of your Volumio device.httpnono
timeoutintegerConnection timeout in milliseconds.5000noyes

sample Thing Configuration ​

dsl
Thing volumio:player:VolumioLivingRoom "Volumio" @ "Living Room" [hostname="volumio.local", protocol="http"]

Channels ​

The devices support the following channels:

ChannelTypeRead/WriteDescription
titleStringRTitle of the song currently playing.
artistStringRName of the artist currently playing.
albumStringRName of the album currently playing.
volumeDimmerRWSet or get the master volume.
playerPlayerRWControl the state of the Volumio Player.
albumArtImageRCover Art for the currently played track.
track-typeStringRTrack type of the currently played track.
play-radiostreamStringRWPlay the given radio stream.
play-playlistStringRWPlay a playlist identified by its name.
clear-queueSwitchRWClear the current queue.
play-uriStringRWPlay the stream at given uri.
play-fileStringRWPlay a file, located on your Volumio device at the given absolute path, e.g. "mnt/INTERNAL/song.mp3"
randomSwitchRWActivate random mode.
repeatSwitchRWActivate repeat mode.
system-commandStringRWSends a system command to shutdown or reboot the Volumio device. Use "shutdown" or "reboot" as string command.
stop-commandStringRWSends a Stop command to stop the player. Use "stop" as string command.

Full Example ​

demo.things:

dsl
Thing volumio:player:VolumioLivingRoom "Volumio" @ "Living Room" [hostname="volumio.local", protocol="http"]

demo.items:

dsl
String  Volumio_CurrentTitle        "Current Title [%s]"        <musicnote>      {channel="volumio:player:VolumioLivingRoom:title"}
String  Volumio_CurrentArtist       "Current Artist [%s]"                        {channel="volumio:player:VolumioLivingRoom:artist"}
String  Volumio_CurrentAlbum        "Current Album [%s]"                         {channel="volumio:player:VolumioLivingRoom:album"}
Dimmer  Volumio_CurrentVolume       "Current Volume [%.1f %%]"  <soundvolume>    {channel="volumio:player:VolumioLivingRoom:volume"}
Player  Volumio                     "Current Status [%s]"       <volumiologo>    {channel="volumio:player:VolumioLivingRoom:player"}
String  Volumio_CurrentTrackType    "Current Track Type [%s]"   <musicnote>      {channel="volumio:player:VolumioLivingRoom:track-type"}

demo.sitemap:

dsl
sitemap demo label="Main Menu"
{
    Frame label="Volumio" {
        Slider item=Volumio_CurrentVolume
        Text item=Volumio
        Text item=Volumio_CurrentTitle
    }
}