LinkPlay
The LinkPlay integrations集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] for Home Assistant allows you to control various media players based on the LinkPlay protocol. The integration supports auto-discovery on your local network through Zeroconf.
配置
要将 LinkPlay integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
LinkPlay 可以被 Home Assistant 自动发现。如果发现了实例, 它将显示为 已发现。您可以立即进行设置。
手动配置步骤
如果没有自动发现,请不要担心!您可以设置一个 手动集成条目:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 LinkPlay。
-
按照屏幕上的说明完成设置。
Features
Media Player
The media player entity offers robust controls and playback features from the media player integration and provides additionally:
-
Preset playback: Play LinkPlay presets configured on the device using the action
linkplay.play_preset
. -
Multiroom: Combine multiple LinkPlay devices in a multiroom. Use the actions
media_player.join
andmedia_player.unjoin
.
Buttons
The button entities provide some additional LinkPlay features available on the device:
- Time Sync: Synchronize the device’s internal clock with the current time in Home Assistant.
- Restart Device: Reboot the device, allowing for convenient troubleshooting and maintenance.
Actions
The LinkPlay integration makes various custom actions available in addition to the standard media player actions.
Action linkplay.play_preset
Play a preset on a LinkPlay media player.
Companion apps, such as 4stream, allow to save music presets (for example, Spotify playlists). This action can be used to start playing these presets.
Data attribute | Optional | Description |
---|---|---|
entity_id |
no | The speakers to target. To target all LinkPlay devices, use all . |
preset_number |
no | The number of the preset to play. |