Don't get it to work

  • Here is the link to the config-file:
    [MEDIA=pastebin]wmQnTy8g[/MEDIA]


    Im trying to get it running on an raspberry 2 (Openelec 6.0.3)


    Performed installation, sent config, reboot


    Only first LED is running on red, none other. Log file is not present:
    cat /storage/logfiles/hyperion.log
    cat: can't open '/storage/logfiles/hyperion.log': No such file or directory
    and there is as well no log-file under /var/log/


    Hope you can help me!

    • Offizieller Beitrag

    Welcome @GrayGhost93 :)


    Config looks ok, when starting Hyperiond with that config does it report any errors?
    Also can try changing the SPI rate a bit to 250000 and see if that helps, hardware wise would check the connections as well if this is your first time connecting them to the RPi:


    - Check if data pins are connected to the right RPi pins



    - Check if GND is connected to both power supply and RPi like in the above example


    // Update


    Here's one for the RPi2


  • Okay, thanks for the hint, this gives the following:


    ./hyperiond /storage/.config/hyperion.config.json
    Hyperion Ambilight Deamon
    Version : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    Build Time: Apr 29 2016 12:49:00
    INFO: Selected configuration file: /storage/.config/hyperion.config.json
    HYPERION INFO: ColorTransform 'default' => [0; 93]
    HYPERION INFO: ColorCorrection 'default' => [0; 93]
    HYPERION INFO: ColorAdjustment 'default' => [0; 93]
    LEDDEVICE INFO: configuration:
    {
    "colorOrder" : "rgb",
    "name" : "MyHyperionConfig",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "type" : "ws2801"
    }


    INFO: Creating linear smoothing
    HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=200;updateDelay=0
    EFFECTENGINE INFO: Initializing Python interpreter
    INFO: Hyperion started and initialised
    INFO: Kodi checker created and started
    INFO: Json server created and started on port 19444
    INFO: Proto server created and started on port 19445
    DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Frame grabber created and started
    KODICHECK INFO: Kodi Connected
    KODICHECK INFO: Kodi Message: {"id":666,"jsonrpc":"2.0","result":[]}
    KODICHECK INFO: switching to OFF mode
    KODICHECK INFO: Kodi Message: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":true}}
    KODICHECK INFO: Kodi Message: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":15,"minor":2,"revision":"02e7013","tag":"stable"}}}




    EDIT: Like this I can work with the App, but it doesn't work while playing a movie ...

  • Did new Install:


    ssh connected
    ssh out: cd /tmp && curl -# -k -L --output install_hyperion.sh --get https://raw.github.com/hyperio…r/bin/install_hyperion.sh && sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out: ######################################################################## 100.0%
    ssh in: *******************************************************************************
    ssh in: This script will install/update Hyperion ambilight
    ssh in: Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in: *******************************************************************************
    ssh in: ---> Stop Hyperion, if necessary
    ssh in: ---> Backup Hyperion configuration(s), if present
    ssh in: '/storage/.config/hyperion.config.json' -> '/tmp/hyperion.config.json'
    ssh in: ---> Downloading the appropriate Hyperion release
    ssh in: ---> Downloading Hyperion OpenELEC release
    ssh out: 1.0%
    ssh out: #### 6.2%
    ssh out: ################### 27.1%
    ssh out: ################################# 46.4%
    ssh out: ###################################################### 75.1%
    ssh out: ######################################################################## 100.0%
    ssh in: ---> Downloading Hyperion OpenELEC dependencies
    ssh out: 0.2%
    ssh out: # 1.5%
    ssh out: ### 5.4%
    ssh out: ####### 9.9%
    ssh out: ########### 15.5%
    ssh out: ################ 23.2%
    ssh out: ##################### 29.7%
    ssh out: ########################## 37.4%
    ssh out: ################################ 45.1%
    ssh out: ###################################### 52.8%
    ssh out: ########################################### 60.5%
    ssh out: ################################################ 68.0%
    ssh out: ###################################################### 75.9%
    ssh out: ########################################################### 82.2%
    ssh out: ################################################################ 89.7%
    ssh out: ####################################################################### 99.3%
    ssh out: ######################################################################## 100.0%
    ssh in: ---> Restore Hyperion configuration(s), if present
    ssh in: '/tmp/hyperion.config.json' -> '/storage/.config/hyperion.config.json'
    ssh in: ---> Starting Hyperion
    ssh in: *******************************************************************************
    ssh in: Hyperion Installation/Update finished!
    ssh in: Please download the latest HyperCon version to benefit from new features!
    ssh in: To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in: Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in: *******************************************************************************


    Tried to get log:
    ssh out: cat /storage/logfiles/hyperion.log
    ssh out: cat: can't open '/storage/logfiles/hyperion.log': No such file or directory


    Went wrong like before ... :/


    And I know :D

  • Okay, stopped it, reinstalled it and created direktory logfiles in /storage/ now log works:


    ssh out: cd /tmp && curl -# -k -L --output install_hyperion.sh --get https://raw.github.com/hyperio…r/bin/install_hyperion.sh && sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out: ######################################################################## 100.0%
    ssh in: *******************************************************************************
    ssh in: This script will install/update Hyperion ambilight
    ssh in: Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in: *******************************************************************************
    ssh in: ---> Stop Hyperion, if necessary
    ssh in: ---> Backup Hyperion configuration(s), if present
    ssh in: '/storage/.config/hyperion.config.json' -> '/tmp/hyperion.config.json'
    ssh in: ---> Downloading the appropriate Hyperion release
    ssh in: ---> Downloading Hyperion OpenELEC release
    ssh out: 1.0%
    ssh out: #### 6.6%
    ssh out: #################### 28.0%
    ssh out: ######################################## 55.6%
    ssh out: ############################################################# 85.3%
    ssh out: ######################################################################## 100.0%
    ssh in: ---> Downloading Hyperion OpenELEC dependencies
    ssh out: 0.2%
    ssh out: # 1.5%
    ssh out: #### 6.4%
    ssh out: ######### 13.6%
    ssh out: ############# 19.1%
    ssh out: ################## 25.4%
    ssh out: ##################### 29.7%
    ssh out: ######################### 34.8%
    ssh out: ############################# 40.4%
    ssh out: ################################ 45.8%
    ssh out: ##################################### 51.6%
    ssh out: ######################################### 57.5%
    ssh out: ############################################# 63.3%
    ssh out: ################################################# 69.1%
    ssh out: ####################################################### 76.8%
    ssh out: ############################################################ 84.1%
    ssh out: ################################################################# 91.5%
    ssh out: ######################################################################## 100.0%
    ssh in: ---> Restore Hyperion configuration(s), if present
    ssh in: '/tmp/hyperion.config.json' -> '/storage/.config/hyperion.config.json'
    ssh in: ---> Starting Hyperion
    ssh in: *******************************************************************************
    ssh in: Hyperion Installation/Update finished!
    ssh in: Please download the latest HyperCon version to benefit from new features!
    ssh in: To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in: Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in: *******************************************************************************
    ssh out: cat /storage/logfiles/hyperion.log
    ssh in: Hyperion Ambilight Deamon
    ssh in: Version : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in: Build Time: Apr 29 2016 12:49:00
    ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in: HYPERION INFO: ColorTransform 'default' => [0; 93]
    ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 93]
    ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 93]
    ssh in: LEDDEVICE INFO: configuration:
    ssh in: {
    ssh in: "colorOrder" : "rgb",
    ssh in: "name" : "MyHyperionConfig",
    ssh in: "output" : "/dev/spidev0.0",
    ssh in: "rate" : 1000000,
    ssh in: "type" : "ws2801"
    ssh in: }
    ssh in: INFO: Creating linear smoothing
    ssh in: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=200;updateDelay=0
    ssh in: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in: INFO: Hyperion started and initialised
    ssh in: INFO: Kodi checker created and started
    ssh in: INFO: Json server created and started on port 19444
    ssh in: INFO: Proto server created and started on port 19445
    ssh in: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: INFO: Frame grabber created and started
    ssh in: KODICHECK INFO: Kodi Connected
    ssh in: KODICHECK INFO: Kodi Message: {"id":666,"jsonrpc":"2.0","result":[]}
    ssh in: KODICHECK INFO: switching to OFF mode
    ssh in: KODICHECK INFO: Kodi Message: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":true}}
    ssh in: KODICHECK INFO: Kodi Message: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":15,"minor":2,"revision":"02e7013","tag":"stable"}}}

  • yes, i consider to use this location, because it is accessible from samba. So in case easy to grab even if you don´t use HyperCon to get it.
    OpenELEC is in many terms a compromise. The read-only filesystem is one of them. Due to the point OpenELEC uses systemd i should not need a hyperion.log, because systemd writes everything to a database. On other systemd systems (OSMC/Raspbian jessie(Debain 8, etc)) you could easy grab a log with the following command: journalctl -u hyperion.service

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!