Additional intagrations for Home Assistant
This is a platform integration for Mopidy Music Servers
Please look at the Mopidy installation & configuration instructions to set up a Mopidy Server.
- Clone this repository
- Copy the
mopidy
directory to<config dir>/custom_components/
- Go to the Integrations page and click + ADD INTEGRATION
- Select Mopidy in the list of integrations
- Fill out the requested information. Make sure to enter your correct FQDN or IP address. Using
localhost
,127.0.0.1
,::1
or any other loopback address will disable Mopidy-Local artwork. - Click Submit.
Repeat the above steps to add more Mopidy Server instances.
- add a media player to your home assistant configuration (
<config dir>/configuration.yaml
):
media_player:
- name: <mopidy identifier>
host: <FQDN or IP address>
port: <port if different from 6680>
platform: mopidy
- Restart your Home assistant to make changes take effect.
- name: <mopidy name> # The name of your Mopidy server.
host: <fqdn/ip address> # The FQDN or IP address of your Mopidy Server, do not use ::1, localhost or 127.0.0.1
port: <port number> # The port number of the Mopidy Server, default: 6680
platform: mopidy # specify mopidy platform
The media_content_id
needs to be formatted according to the Mopidy URI scheme. These can be easily found using the Developer tools.
When using the play_media
service, the Mopidy Media Player platform will attempt to discover your URL when not properly formatted.
Currently supported for:
- Youtube
Due to the nature of the way Mopidy provides thumbnails of the media, proxying them through Home Assistant is very resource intensive, causing delays. Therefore, I have decided to not proxy the art when using the Media Library for the time being.
Mopidy v3.1.1
Backends:
- mopidy-beets v4.0.1
- mopidy-dleyna 2.0.1
- mopidy-internetarchive v3.0.0
- mopidy-local v3.2.0
- mopidy-podcast v3.0.0
- mopidy-somafm v2.0.0
- mopidy-soundcloud v3.0.1
- mopidy-spotify v4.1.0
- mopidy-tunein v1.0.2
- mopidy-YouTube v3.2