Send VolumeUp VolumeDown actions to Kodi

When calling the Kodi service I have the following

  "entity_id": "media_player.kodi",
  "item": {
    "params": "VolumeUp"
  "method": "Input.ExecuteAction"

But this doesn’t work and gives errors, I’ve tried several flavors but can’t seem to find the correct one. Anyone who has this working and cares to share?

Errors I get are:

Run API method media_player.kodi.Input.ExecuteAction({'item': OrderedDict([('params', 'VolumeUp')])}) error: {'code': -32602, 'data': {'method': 'Input.ExecuteAction', 'stack': {'message': 'Missing parameter', 'name': 'action', 'type': 'string'}}, 'message': 'Invalid params.'}

Run API method media_player.kodi.Input.Action({'item': OrderedDict([('params', 'VolumeUp')])}) error: {'code': -32601, 'message': 'Method not found.'}


Have you tried the media_player.volume_up service?

Somehow I was too focussed to Kodi, thanks for the hint. Works flawlessly :slight_smile:
Was trying to do the rotate left/right of the magic cube for volume/down up automation ^^

1 Like