Kodi GUI.SetFullscreen

Hi,

I’m trying to be able to activate gui full screen mode from Home Assistant, but it doesn’t work.

I’ve checked the home assistant logs and kodi logs and nothing. Heres my config:

script:
#################################################################################
#                                                                               #
#                       Temporary Kodi Full Screen Test                         #
#                                                                               #
#################################################################################
  temp_kodi_fullscreen:
    alias: "kodi full screen testing"
    sequence:
      - service: kodi.call_method
        target:
          entity_id: media_player.lounge_kodi
        data:
          method: GUI.SetFullscreen
          params:
            fullscreen: toggle

Any pointers would be awesome

Any luck? I got this payload to work through curl:

curl -v -H "Accept: application/json" -H "Content-type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.SetFullscreen","params":{"fullscreen":"toggle"},"id":1}' http://kodi:[email protected]:8080/jsonrpc

Got this working for an overlay button on picture-elements card:

  - type: image
    entity: media_player.coreelec
    image: /local/remote/blank_button.png
    title: null
    tap_action:
      action: call-service
      service: kodi.call_method
      service_data:
        entity_id: media_player.coreelec
        method: GUI.SetFullscreen
        fullscreen: toggle
1 Like