Clementine Music Player

The clementine platform allows you to control a Clementine Music Player.

To add a Clementine Player to your Home Assistant installation, add the following to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。

# Example configuration.yaml entry
media_player:
  - platform: clementine
    host: 192.168.0.20

Configuration Variables

host string Required

The IP address of the Clementine Player e.g., 192.168.0.20.

port integer (Optional, default: 5500)

The remote control port.

access_token integer (Optional)

The authorization code needed to connect.

name string (Optional, default: Clementine Remote)

The name you would like to give to the Clementine player.

Remember that Clementine must be configured to accept connections through its network remote control protocol.

You can configure this through Clementine Tools > Preferences > Network remote control configuration menu. Enable Use network remote control and configure the other options for your use case.

This integration does not implement the play_media action so you cannot add tracks to the playlist.