Logitech Squeezebox

The squeezebox platform allows you to control a Logitech Squeezebox music player from Home Assistant. This lets you control Squeezebox hardware like the Classic, Transporter, Duet, Boom, Radio and Touch and of software players like SoftSqueeze, SqueezePlayer and SqueezeSlave.

To add your Squeezebox player to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: squeezebox
    host: IP_ADDRESS

Configuration Variables



The host name or address of the Logitech Media Server, e.g.,



The web interface port to Logitech Media Server.

Default value:




The username, if password protection is enabled.



The password, if password protection is enabled.

This platform now uses the web interface of the Logitech Media Server to send commands. The default port of the web interface is 9000. It is the same port that you use to access the LMS through your web browser. Originally, this platform used the telnet interface, which defaults to 9090. If you previously specified the port in your configuration file, you will likely need to update it.

The Logitech Transporter which have two digital inputs can be activated using a script. The following example turns on the Transporter and activates the toslink input interface:

# Turn on Transporter and activate toslink interface
    - service: homeassistant.turn_on
      entity_id: media_player.transporter
    - service: media_player.play_media
        entity_id: media_player.transporter
        media_content_id: "source:toslink"
        media_content_type: "music"

Service call_method

Call a custom Squeezebox JSON-RPC API.

See documentation for this interface on http://HOST:PORT/html/docs/cli-api.html?player= where HOST and PORT are the host name and port for your Logitech Media Server.

Service data attribute Optional Description
entity_id no Name(s) of the Squeezebox entities where to run the API method.
command no Command to pass to Logitech Media Server (p0 in the CLI documentation).
parameters yes Array of additional parameters to pass to Logitech Media Server (p1, …, pN in the CLI documentation).

This service can be used to integrate any Squeezebox action to an automation.

It can also be used to target a Squeezebox from IFTTT (or Dialogflow, Alexa…).

For example, to play an album from your collection, create an IFTTT applet like this:

  • Trigger: Google assistant, with sentence: I want to listen to album $
  • Action: JSON post query with such JSON body: { "entity_id": "media_player.squeezebox_radio", "command": "playlist", "parameters": ["loadtracks", "album.titlesearch="] } This can work with title search and basically any thing. The same wouldn’t have worked by calling directly Squeezebox server as IFTTT cannot escape the text field.