1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Don't get it to work

Discussion in 'Software Support' started by GrayGhost93, 30 April 2016.

  1. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    RPi2
    Here is the link to the config-file:


    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!
     
  2. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    192
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    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

    [​IMG]

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

    // Update

    Here's one for the RPi2

    [​IMG]
     
    Last edited: 30 April 2016
  3. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    RPi2
    Thanks for the quick reply!
    Wires are correct.

    Hyperiond gives the following:

    ./hyperiond
    Hyperion Ambilight Deamon
    Version : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    Build Time: Apr 29 2016 12:49:00
    ERROR: Missing required configuration file. Usage:
    hyperiond [config.file]
     
    • Like Like x 1
  4. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    192
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Can you try starting it with:

    Code:
    ./hyperond /storage/.config/hyperion.config.json
    
    By default the init script for OpenElec will start it with the default location however when manually starting it will need that parameter :)
     
  5. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    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 ...
     
  6. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    I tried it right now, something went wrong on your install.
    Could you push the install button again? The log button should work right now after install

    You are the first poster! :D
     
  7. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    RPi2
    Did new Install:

    ssh connected
    ssh out: cd /tmp && curl -# -k -L --output install_hyperion.sh --get https://raw.github.com/hyperion-project/hyperion/master/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
     
  8. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    yeah, the logs says: no startup entry added o_O. Don´t get it why that happend
     
  9. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    RPi2
    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/hyperion-project/hyperion/master/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"}}}
     
    • Like Like x 1
  10. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    hm, no logfiles directory? interesting. at least on OE7 there is one. Thank you, i will add it to the script
     
    • Like Like x 1
  11. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    So if you access your openelec via samba there is no "Logfiles" dir that you could enter?
     
  12. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    RPi2
    Right now there is one, but I created it, before there was none. Normally I do all via SSH ;)
     
    • Thank you Thank you x 1
  13. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    yeah, good to know! Should be done now :)
    Thank you for your fast response :)
     
  14. GrayGhost93

    GrayGhost93 New Member

    Messages:
    7
    Hardware:
    RPi2
    No problem, everything is working so far now, thanks a lot for your help!
    But normaly I would suspect the LOG-file in /var/log ;)
     
  15. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    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