Bose SoundTouch

The Bose SoundTouch integration allows you to control your Bose SoundTouch speakers from Home Assistant.

配置

此集成可通过 UI 配置。前往 设置 > 设备与服务 添加。

Playing media

You can switch between one of your 6 pre-configured presets using media_player.play_media

# Play media preset
- action: media_player.play_media
  target:
    entity_id: media_player.soundtouch_living_room
  data:
    media_content_id: 1..6
    media_content_type: PLAYLIST

You can also play HTTP (not HTTPS) URLs:

# Play media URL
- action: media_player.play_media
  target:
    entity_id: media_player.soundtouch_living_room
  data:
    media_content_id: http://example.com/music.mp3
    media_content_type: MUSIC

Text-to-speech services

You can use TTS services like Google text-to-speech or Amazon Polly only if your Home Assistant is configured in HTTP and not HTTPS (current device limitation, a firmware upgrade is planned).

A workaround if you want to publish your Home Assistant installation on Internet in SSL is to configure an HTTPS Web Server as a reverse proxy (NGINX for example) and let your Home Assistant configuration in HTTP on your local network. The SoundTouch devices will be available to access the TTS files in HTTP in local and your configuration will be in HTTPS on the Internet.

Actions

Action: Play everywhere

The soundtouch.play_everywhere action creates a multi-room (zone) from a master and plays the same content on all other devices (slaves).

Data attributeOptionalDescription
masternoentity_id of the master device

Action: Create zone

The soundtouch.create_zone action creates a multi-room (zone) from a master and plays on selected slaves.

Data attributeOptionalDescription
masternoentity_id of the master device
slavesnoList of slaves entity_id

Action: Add zone slave

The soundtouch.add_zone_slave action adds slave(s) to an existing zone.

Data attributeOptionalDescription
masternoentity_id of the master device
slavesnoList of slaves entity_id to add

Action: Remove zone slave

The soundtouch.remove_zone_slave action removes slave(s) from an existing zone.

Removing the last slave will destroy the zone. You will need to create a new zone in order to be able to add slave(s) again

Data attributeOptionalDescription
masternoentity_id of the master device
slavesnoList of slaves entity_id to remove