Need help understanding Argon One IR control

  • IMO, it would make sense for us to select a remote, as a group, and develop a keymap file. I will throw in and help with whatever the group decides but I suggest either MCE or FLIRC. Personally, I'd select MCE.

    I'm familiar with neither, but I am very in favor of this idea. The Kodi, Harmony, and Raspberry PI 4 with IR sensor newb guide is using a Mecool DVR device, but I don't think we need as many keys if we simply want to use basic on/off, left/right/up/down and volume control commands.

  • You need a special script for Argon One (the version with the installed IR) for usage with LibreElec. V2 of the board allows to power up the RPi4 with IR. Maybe this script helps:

    Code
    # IR config script
    sudo wget https://download.argon40.com/argonone-irconfig.sh -O /usr/bin/argonone-ir --quiet
    sudo chmod 755 /usr/bin/argonone-ir

    the full installation script can be seen in this german article.

  • You need a special script for Argon One (the version with the installed IR) for usage with LibreElec. V2 of the board allows to power up the RPi4 with IR. Maybe this script helps:

    Code
    # IR config script
    sudo wget https://download.argon40.com/argonone-irconfig.sh -O /usr/bin/argonone-ir --quiet
    sudo chmod 755 /usr/bin/argonone-ir

    the full installation script can be seen in this german article.

    I am unsure this script is valid for librelec, as it does not require the sudo command.... I read the article and that code only mentions raspbian and ubuntu.

  • The script is not directly for libreelec, but it has the missing functionality for IR from the LibreElec installation script of the Argon ONE.

    https://download.argon40.com/argonone-setup-libreelec.sh

    Raspbian is the OS if it is not Ubuntu in the script. Maybe you get some hints from the script or LibreElec is compatible with Raspbian in configuration. I looked a little bit into the script and it adds the GPIO for IR into /boot/config.txt, LIRC is used for IR communication. looks not too bad.

  • For anyone else trying to get the power on function in libreelec to work with the argon one v2, this is what worked for me:

    - use the case with a pi running rasberry pi os (I used an extra sd card, raspios lite gave errors with the scripts, so use the full one)

    - use these commands:

    Code
    curl https://download.argon40.com/argon1.sh | bash
    argonone-ir

    - Follow the steps to program the case to use a power button from any remote (needs to be NEC protocol, I used a mecool KIII pro profile on my harmony)

    - use the case with libreelec (the v2 ir module will remember the power command from the remote)