Kodi Remote

I am not sure what window that is but it would need to be specified here I believe Window IDs - Official Kodi Wiki Look at my Apr 27 post for the yaml required for GUI.ActivateWindow

This one (you can link directly to posts).

1 Like

Hey guys any button options (call method) to access a network drive…by getting a feedback menu on your physically device…In other words selecting on my hassio remote scrolling content from example an ext harddrive on my home network and then selecting media content on it and play. I know Sybu has the source button and it calls it up nicely…select and play… Content is not always scanned in (cover art etc) Fonts on panel are not always easy two read… for the elderly folk…

Thanks guys.

would like to implement this, but am not sure which custom-card to use.

Check out the link in the post. I use ha-floorplan

1 Like

A little late, but the EPG/TV Guide is a window, so to bring it up you will need to call the method GUI.ActiveWindow. Something like this will work:

            service: kodi.call_method
            service_data:
              method: GUI.ActivateWindow
              window: tvguide
              entity_id: media_player.kodi

To exit TV Guide you either select a channel or enter fullscreen PVR again like this:


            service: kodi.call_method
            service_data:
              method: GUI.SetFullscreen
              fullscreen: true
              entity_id: media_player.kodi

I’m unable to wrap my head around the keyboard part. What is this “helper” needed here and how do I use it? I really want to add a on screen keyboard to my kodi remote. Can someone dumb down this part pls. Thanks.

An input_text helper, (Input Text - Home Assistant) mine is named “input_text.kodi_buffer” with a max length of 253.

Then i have these cards in the remote panel:


        type: horizontal-stack
        cards:
          - type: custom:text-input-row
            entity: input_text.kodi_buffer
          - type: button
            tap_action:
              action: call-service
              service: script.turn_on
              service_data:
                entity_id: script.kr_send_text
            show_name: false
            icon: mdi:send
            icon_height: 30px
1 Like

Is it possible to use a card like the one in this link to control Kodi? - Lovelace: an awesome modified tv-card with touchpad and haptic feedback

I can get the other buttons to map to my kodi media player but no idea how to get the touchpad part to work.

Heres what I did

  1. created a text input helper called input_text.kodi_buffer. Set max length of 100

  2. created a script called kr_send_text and copied the contents of your script into it. But when i try to save the script it gives the error

Message malformed: not a valid value for dictionary value @ data['sequence'][2]['target']['entity_id']
  1. I have no idea where to get custom:text-input-row I installed something I found called Lovelace Text Input Row from hacs. Is it the same thing?

Anyway, even after installing that I dont see a card with such a name in the cards list.

Sorry, but I am admittedly a noob so please bear with me. Thank you.

I had the same error when I initially pasted that script in – you need to remove the comment parts of the script (i.e. the // ... bits)

1 Like

Thanks for that. Now I have the script working (I can save it)

Still dont know where to get the custom: text-input-row card from

Hi
Can u please share all your code , iam also yatse remote fan :slight_smile:
all scripts and lovelace .thx

You can find it on GitHub Multi Layer Remote · ExperienceLovelace/ha-floorplan · Discussion #347 · GitHub

i will check .thx


Using MQTT is much faster than the Kodi addon,

1 Like

There’s a Kodi add-on that supplies a Kodi media server.

There’s a Kodi integration that connects to a Kodi server.

Did you actually mean integration?

Because I fail to see ho you could replace the Kodi media server with mqtt.

There is a MQTT addon for Kodi. That means three tyes of sensors availabe in HA, those from the official Kodi integration, jsonrpc or MQTT. The data feedback from MQTT is much faster for (as an example) media position , button presses ect.

Oh right. Kodi add-on. Not Home Assistant add-on.

The Home Assistant integration is more than fast enough for me.

Heya, I’m complete beginner is setting a custom remote in HA,

Although I installed MQTT addon in Kodi.

Can you please share your remote so I can set it up in my HA instance & please share some steps on how to add it

Thank you Stoff:)