Hyperion-LE and suspend

  • Hi!


    Re-installed my Chromebox from scratch today with Libreelec 9.1.501.


    After installing Hyperion 9.1.901.111 from add-ons, and restoring my /storage/.kodi/userdata/addon_data/service.hyperion/hyperion.config.json-file, my LightPack was again working.


    When doing suspend however, the LEDs do not shut off!


    To fix this, you have to add a script "/storage/.config/sleep.d/01-hyperion.power".

    You might have to create this folder if it does not exist.



    ===================================

    LibreELEC-CN65:~ # cat /storage/.config/sleep.d/01-hyperion.power

    #!/bin/sh


    SERVICE="service.hyperion.service"


    case "$1" in

    pre)

    if systemctl is-active "$SERVICE" &>/dev/null ; then

    systemctl stop "$SERVICE"

    fi

    ;;

    post)

    if systemctl is-enabled "$SERVICE" &>/dev/null ; then

    systemctl start "$SERVICE"

    fi

    ;;

    esac


    $


    ###################

    Running Libreelec on an ASUS CHROMEBOX 3-N017U (KabyLake/CN65/Celeron3865U)

    Libreelec 9.1.501

    Kodi 18.4

    Lightpack (project_home.md)

    Hyperion 9.1.901.111 by Team LibreELEC

    ###################

    Edited once, last by odinb ().