Posts by HarryH

    So the output looks that CEC is working at hardware and driver level. You can test some CEC commands to switch your connected TV On/Standby/Off like described here: https://pimylifeup.com/raspberrypi-hdmi-cec/

    To test if your TV passthrough the remote control keys to the RPi, simple start cec-client without any switches and look for key_press events. If that works, you only have some issues with your KODI installation/settings. That kind of issues can isolated with debug logging enabled and additional components logging is enabled for libCEC.

    If chewitt serious recommendation don‘t ends in a success, you can stop KODI and afterwards check CEC directly.

    • stop KODI
      systemctl stop kodi
    • scan CEC bus
      echo 'scan' | cec-client -s -d 1

    Because I have seen, that you also tested something regarding the 4K/60 issue in combination with your Denon AVR: Maybe you have a outdated copy of EDID data locally?

    I think the missing part is <group></group> as a wrapper for setting. Its mandatory also if you doesn‘t have more than 1 group.

    The linked thread is correct because the TV is the receiver of the IR signals and sends a button code (the duration info seems not parsed or reliable) to the RPi5 via CEC.

    Technically possible, but I don't expect this behavior on a TV:
    If the TV interprets the buttons based on how long they were held down, it may be sending a different CEC button code.

    The important part regarding the breaking change seems the Android/Google TV generation. Previous generations of SONY TVs are able to passthrough the tuning and menu keys to CEC, if you configure this in the Bravia Sync settings for external inputs.
    After switching to a newer TV of the same brand, I'm facing for the issue, that the menu keys and some other keys aren't passthrough anymore. Before it was possible to use the channel-up/down keys to navigate page wise through long listings. Now it's possible to open an additional menu for HDMI via info key and send a CEC command in behalf of the TV, but this key was also usable before directly.

    My workaround is currently to move one step to right in the movie list to focus the scroll bar and move then with the cursor keys to jump to the next page(s) faster.

    If this, that you meant with slow scrolling, perhaps you should map one of the color keys to the channel-up/down function. If not, you can only try to play a little bit with the CEC settings at System -> Input -> Peripherals.

    To check which keys are going passthrough via CEC with your TV, you can stop KODI and use the cec-client command.

    • Stop KODI
      systemctl stop kodi
    • Start the CEC-client
      cec-client
    • Press the keys on your remote control step by step and write down a list of all available keys. Here an example for cursor right:

      Code
      DEBUG:   [          189968]     SetCurrentButton right (4) D:0ms cur:17f
      DEBUG:   [          189968]     key pressed: right (4) current(ff) duration(0)
    • Stop the cec-client process with CTRL-C
    • Start KODI again
      systemctl start kodi

    With that information you can make then the changes like you want to the keymap file.

    EDIT:
    I played a little bit with the settings (System -> Input -> Peripherals -> CEC Adapter) and could clarify 2 things:

    • Set „Remote button press repeat rate (ms)“ to 100ms fixes the „slow“ repeat rate compared to a IR remote control.
      Reducing "Remote button press delay before repeating (ms)" to 200 makes it even faster to switch in repeat mode (scrolling), but could be make some trouble if there is "longpress" support in the future.
    • It‘s important to switch the TV to the HDMI sub input/device -> "Kodi HDMI 1 Player" not only "HDMI 1" to get the tuning and number keys to work.

    Maybe the root cause of your 4.0 channel issue is the same like this issue:

    HiassofT
    May 2, 2024 at 11:10 AM

    Version 1.1.0 released:

    • add-on icon changed to follow LE style (thanks chewitt for providing this)
    • issue #5: fan art modified to be more generic
    • issue #4: localization for Italian added
    • localization for German added

    Edit:

    Version 1.1.1 released:

    • some typos and translation errors fixed

    chewitt ,

    I'm appreciate your offer and hasn't forgot this Thread :)

    Until now I was focused to make the technical part right. I wasn't unhappy with the original add-on icon, but it makes sense to follow a unified style.
    Shortly after I enabled the issues option at the GitHub repo yesterday, it seems there is an interest to make some cosmetic changes...

    Hi Baallrog,

    please use the updated scripts from here:

    HarryH
    April 15, 2024 at 8:24 PM

    That's nice. :)

    Also if you got the outdated add-on download not from my repository, you are right that "issues" is disabled. I'm currently undecided, if I should enable this opportunity or not. From the workflow view it would be the right way if someone like you can use it, but I have not the time to moderate this.

    Downloaded from github right now , but latest libreelec version gives installing error.

    Until now I only provided ready to install add-on packages here (attachments are at the end of the text):

    HarryH
    August 2, 2023 at 9:57 PM


    So I don't really know what you are talking about and need more details with an exact version and, if necessary, a link to the debug log.
    Perhaps you tried the original version 0.0.1 from Argon, which is known that it not working with versions, which are newer than LibreELEC 9?