AtmoLight - 1.18.6.0 [2016-09-21] (1 Viewer)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Logs seem normal as the only error is when coming from standby but it reconnects to Hyperion like it should:

    Code:
    [2016-02-05 12:11:49,473] [Log  ] [63  ] [INFO ] - AtmoLight: Changing AtmoLight effect to: LEDsDisabled
    [2016-02-05 12:11:49,736] [Error  ] [63  ] [ERROR] - AtmoLight: HyperionHandler - Error while sending proto request
    [2016-02-05 12:11:49,736] [Error  ] [63  ] [ERROR] - AtmoLight: HyperionHandler - Exception: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    [2016-02-05 12:11:49,751] [Log  ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Connected
    [2016-02-05 12:11:49,758] [Log  ] [63  ] [DEBUG] - AtmoLight: HyperionHandler - Initialising after standby
    [2016-02-05 12:11:49,758] [Log  ] [63  ] [DEBUG] - AtmoLight: HyperionHandler - Initialising
    [2016-02-05 12:11:49,758] [Log  ] [35  ] [DEBUG] - AtmoLight: HyperionHandler - Reinitialising
    [2016-02-05 12:11:50,607] [Log  ] [35  ] [DEBUG] - AtmoLight: HyperionHandler - connection method is IP
    [2016-02-05 12:11:50,607] [Log  ] [35  ] [DEBUG] - AtmoLight: HyperionHandler - Initialising locked.
    [2016-02-05 12:11:50,607] [Log  ] [63  ] [DEBUG] - AtmoLight: HyperionHandler - connection method is IP
    [2016-02-05 12:11:50,607] [Log  ] [94  ] [DEBUG] - AtmoLight: HyperionHandler - Trying to connect
    [2016-02-05 12:11:50,623] [Log  ] [94  ] [DEBUG] - AtmoLight: HyperionHandler - Connected

    Crash to desktop I'm not sure as we have error handling in place to prevent AtmoLight from doing that so is unlikely as it would have written the unexpected error to the logs :) , however there's another error in the logs for something called ImageDownloader0 but not sure which plugin that one is.
    Make sure that all plugins are up2date using MediaPortal Extension Manager and see if you can reproduce it consistently, if your AVR has lip sync can try changing that and also see if there's any difference in 24P versus 50/60hz.
     
    Last edited:

    Lightning303

    MP Donator
  • Premium Supporter
  • September 12, 2009
    798
    577
    Home Country
    Germany Germany
    Thanks for reporting.
    Looks like AtmoLight has a problem communicating with Hyperion sometimes. And in some cases failes to reconnect. Crash seems to come from a bug where an object is wrongly removed or not properly checked. Will have a look at it a bit later :).

    @Rick164 look at MediaPortal.1.log ;)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    @Lightning303 Thanks see it now, odd error as I never seen that one here even during short/long sleeps or repeated hard network disconnects (reloading configs)
    Most likely it's due to Socket being disposed however the initLock should have prevented that here:

    https://github.com/ambilight-4-medi...Core/Targets/Hyperion/HyperionHandler.cs#L137

    We could add a small check there like this:

    if(Socket == null) etc..

    Still would be great if we can find the underlying cause though :)
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Attached new beta build, added a new check to isConnected() to prevent that error.
    @TheBatfink This doesn't solve the Hyperion connection issues though, best to check connectivity to Raspberry Pi and update Hyperion if the problem persists in case it's a bug there:

    Code:
    SSH to Raspberry Pi
    
    Run commands:
    
    wget -N https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    sudo sh ./install_hyperion.sh
     

    Attachments

    • AtmoLight_1.17.0.5_BETA1.mpe1
      581.1 KB
    Last edited:

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    Hey both. Sorry I never replied, wasn't getting any email notifications. I actually came back to say I am still getting these errors. It's strange because in the beginning it all worked well and I've been using it for quite some time now. I still use all the files and versions from your build guide way back when :)

    I see these issues:

    - Lights do not come on with media which usually results in a crash to desktop as soon as the media finishes and it tries to go back to the menu

    but I am also experiencing this a lot..

    - Start media but no video or audio or lights ever begin (just black screen) but I can use the remote and still get GUI overlay
    - Start media get lights and audio but no video

    I'm experiencing this on network based files and onlinevideos, might be some other issue and not atmolight related (I do see some trakt errors too). Will try the new files and update hyperion too and get back to you this time :)

    Thanks for the help (I attached most recent logs just in case they are useful).[DOUBLEPOST=1457781330][/DOUBLEPOST]I actually get an error with this

    Code:
    wget -N https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh

    It says -N is not a valid option. If I remove the -N it says its not an http or ftp url.

    If I swap https for http, I do see connecting to raw.github.com - but then it fails again and says not a valid http or ftp url.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,645
    10,591
    Kyiv
    Home Country
    Ukraine Ukraine
    If I remove the -N it says its not an http or ftp url.
    Try:
    Code:
    wget --timestamping --secure-protocol=auto https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    Or:
    Code:
    wget --timestamping --secure-protocol=auto --no-check-certificate https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    PS: Which wget version?
    Code:
    wget --version
    Or try:
    Code:
    curl https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    :whistle:
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Which OS are you using on the Raspberry?
    As with Raspbian and OpenElec that command should have worked, the Hyperion docs list it slightly different and also offer the curl option like @ajs mentioned:

    Code:
    curl -# -k -L --output install_hyperion.sh --get https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh && sudo sh ./install_hyperion.sh

    Full example located here: https://github.com/tvdzwan/hyperion/wiki/Installation

    Still wondering what is causing it as it looks network related or maybe something Mediaportal that is conflicting internally (another plugin perhaps?), if Hyperion can't get a stable connection it will affect playback so best to rule out any problems on the Hyperion side first.
    If all else fails you could use Raspbian instead of OpenElec which is what I switched to with the APA102 build and use the installation instructions posted above :)
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    I have no idea what OS? Whatever was on your build thread is whats on my rpi and arduino. All I know is it's openelec! Will have a play again later, thanks.
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    Hi. I am using your attached atmolight (but still not updated hyperion). Attached log from crash to desktop immediately as media playback finishes.

    Edit. It is openelec 5.0.5

    After your command I get this

    Code:
    rPI:~ # curl -# -k -L --output install_hyperion.sh --get https://raw.github.com/
    tvdzwan/hyperion/master/bin/install_hyperion.sh && sudo sh ./install_hyperion.sh
    ######################################################################## 100.0%
    
    There is no working 'sudo'.
    
    On debian/ubuntu/all general purpose linux distributions 'sudo'
    allows a permitted user to execute a command as the superuser
    or another user, as specified by the security policy
    
    With OpenELEC you have root access by default, so you dont need 'sudo'

    Does this mean it was successful or not?

    Edit 2: This worked..

    Code:
    rPI:~ # curl -L --output install_hyperion.sh --get https://raw.githubusercontent
    .com/tvdzwan/hyperion/master/bin/install_hyperion.sh
      % Total  % Received % Xferd  Average Speed  Time  Time  Time  Current
      Dload  Upload  Total  Spent  Left  Speed
    100 10787  100 10787  0  0  10565  0  0:00:01  0:00:01 --:--:-- 10585
    rPI:~ # sh ./install_hyperion.sh
    *******************************************************************************
    This script will install/update Hyperion and it´s services
    Version 0.1
    *******************************************************************************
    ---> Stop Hyperion, if necessary
    ---> Raspberry Pi with OpenELEC found, but SPI is not ready, we write "dtparam=s  pi=on" to /flash/config.txt
    ---> Backup Hyperion configuration(s), if present
    ---> Downloading the appropriate Hyperion release
    ---> Downloading Hyperion OpenELEC release
    ######################################################################## 100.0%
    ---> Downloading Hyperion OpenELEC dependencies
    ######################################################################## 100.0%
    ---> Restore Hyperion configuration(s), if present
    ---> Starting Hyperion
    *******************************************************************************
    Hyperion Installation/Update finished!
    Please get a new HyperCon version to benefit from the latest features!
    Create a new config file, if you encounter problems!
    Path to your configuration -> /storage/.config/hyperion.config.json
    Please reboot your OpenELEC, we inserted dtparam=spi=on to /flash/config.txt
    *******************************************************************************
    ---> Do you want to reboot your Raspberry Pi now? (y or n) :
     
    Last edited:

    Users who are viewing this thread

    Top Bottom