Music Player Daemon (MPD)
The Music Player Daemon integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to control a Music Player Daemon
Even though no playlist manipulation is possible, it is possible to use the play_media
action to load an existing saved playlist as part of an automation or scene.
Configuration
To add the Music Player Daemon (MPD) integration to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Music Player Daemon (MPD).
-
Follow the instructions on screen to complete the setup.
Example script to load a saved playlist called “DeckMusic” and set the volume:
relaxdeck:
sequence:
- action: media_player.play_media
target:
entity_id: media_player.main
data:
media_content_type: playlist
media_content_id: DeckMusic
- action: media_player.volume_set
target:
entity_id: media_player.main
data:
volume_level: 0.60
This platform works with Music Player Daemon