Support for MediaPlayback, KeypadInput, and LevelControl clusters in media devices

Hello everyone!

I just tested the new Matterbridge AI Plugin Factory by Pierre-Gilles to integrate my Freebox Player Delta (Devialet) into Gladys via Matter.

The generated plugin works very well on the Matterbridge side:
:white_check_mark: Authentication via validation on the Freebox screen
:white_check_mark: Automatic discovery of the player
:white_check_mark: Device visible in Gladys via Matter

The plugin correctly exposes the following Matter clusters:

  • OnOff
  • LevelControl (volume)
  • MediaPlayback (play/pause/stop/next/prev)
  • KeypadInput (virtual remote)

But on the Gladys side, only the OnOff cluster is recognized (as a « switch »), and it doesn’t work either because the on/off of a media player is different from a light bulb.

Is it possible to add support for the following clusters in the Gladys Matter integration?

  • MediaPlayback → play, pause, stop, next, previous
  • KeypadInput → sending keys (ok, back, home, up, down, left, right)
  • LevelControl in a media context → volume (not brightness)
  • OnOff for a media player → power on/off (different from a lamp)

This would be a huge step forward for all users who have media devices (TVs, players, TV boxes…) and use Matterbridge to integrate them.

The Freebox plugin is available here for those who want to test it:

Thanks!