The mediaroom integration allows you to control a Mediaroom Set-Top Box (STB) from Home Assistant.

To add a Mediaroom STB to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: mediaroom

Configuration Variables



The hostname or IP address of the device.

Default value:

Tries to discovery your device.



The name of the device used in the frontend.

Default value:

Mediaroom STB



In case the integration cannot determine the status of the box, consider the box always ON.

Default value:


Notice that all parameters are optional, and discovery should configure everything for you.

Using the Mediaroom integration

The integration has been developed for Portuguese TV operators currently using the Mediaroom platform, but should also work in other deployments in which the STB can be controlled remotely through a socket on port 8082.

In most cases (single STB) you just need to setup the platform and discovery will do the rest.

If the STB is on the same network segment as Home Assistant, it can determine whether the device is turned on or off. Without this, the integration will fail to determine the Set-top box status, and you are required to add the optimistic configuration variable.


Example press_button script

The play_media function can be used in scripts to change channels and emulate button pressing from a remote control.

# Example play_media script
    service: media_player.play_media
      entity_id: media_player.mediaroom_stb
      media_content_id: "{{ value }}"
      media_content_type: "channel"

Example configuration with 2 STB

# Example configuration.yaml entry for 2 STB
  - platform: mediaroom
    name: Living Room STB
  - platform: mediaroom
    name: Bedroom STB