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

SOLVED Hyperion, Arduino and Wetek Core

Discussion in 'Software Support' started by Remus, 1 May 2016.

  1. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    Hello!

    I try the whole day yesterday to make this work without success.
    I have the WS2801 LEDs connected to the Arduino which in turn is connected to the Core.
    I use LibreElec and their Hyperion add-on.

    It works fine with Boblight.


    Thank you!
     
  2. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Hello Remus, great to have a first feedback from a wetek user.
    I am sure their installer just install a raspberrypi compatible build?
    We provide no builds for them, they compiled their own build - which may be just a rpi compatible build (?!)

    There are several problems with LibreELEC and their install flow. I wrote down a list for myself. I will report this soon.

    1. no dtparam=spi=on is added to config.txt (for RPis)
    2. the folder hyperion.service is not created at install (this will be created automatically if you open the settings dialog - which they don´t use)
    3. due to the missing folder i can´t upload a config to it with hypercon
    4. minor - no samba access to the config file (if you want to place it via network)
    5. start/stop work now
    6. No hyperion.log available - need a solution for this (no journalctl access?)
    7. i can´t get a v4l2 screenshot. the output looks gut, but no image is created
    8. but v4l2 grabbing is working

    (Cause you will run in some of them)

    So to push the config file is a little bit uncomfortable.

    I would really appreciate if you could try it with OpenELEC first and follow our install instruction that we know it is really working. And no source code problem.
    If this is working for you, you need to request a wetek compatible build from them.
    We also thought to add LibreELEC support to our install script, but they released now their own binarys so we may not need it. If they found no good solution for hyperion and the libreelec platforms we may get here many issues and we can´t do anything, just to say - don´t use the libreelec hyperion installer :)
     
    • Like Like x 1
  3. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,303
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Welcome!

    Where did you place your config?
     
  4. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    Thank you so much for your reply Brindosch!

    I went back to OpenElec and installed hyperion thru the Hyperion configuration Tool. The installation went fine. I also pushed the config thru the configuration Tool but still no luck. I don't see the light :)

    My hyperion.config.json


    I you need more info from my end let me know.

    Thank you so much for your help Brindosch.
     
  5. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,303
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Which code do you used for your arduino?
     
  6. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    I honestly don't know which sketch I used for Arduino - It was such a long time ago. I configured it for Boblight, which works fine - but I would very much like to switch to Hyperion.
    Are there different Arduino sketches for Hyperion or Boblight?
     
  7. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Last edited: 1 May 2016
  8. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    @Rick164
    maybe we should consider to split this up to a another thread "Use Arduino via USB to connect your leds" or something. This should also bring a better overview.
     
  9. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    Hi Rick164!
    I went thru my archives and found the sketch I uploaded to my Arduino. it's the one from here: https://github.com/adafruit/Adalight/tree/master/Processing/Adalight.
    Should I reprogram the Arduino with the one from your link? https://hyperion-project.org/threads/diy-amblight-project-guide-hyperion-ws2801-ws2812b-apa102.8/
     
  10. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Yeah we could copy it over but would keep it part of the guide as it has a bunch of troubleshooting / advanced steps as well:)
     
  11. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,303
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    @Remus first try to Change the baudrate in your Hyperion config to 115200 :classy:
     
  12. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    190
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Would reprogram it with the sketch in the thread here, it's simpler and gets the job done as I've used it for a long time with WS2812 leds without problems and should be the same for WS2801 except you need to change the LED type in sketch :)
    Here's a direct link:



    For baud rate it depends on your Arduino, some clones or mini models can't do > 115200 for the baud rate which is needed for large led setups (reduced refresh rate otherwise)
     
  13. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    I have reprogrammed the Arduino.
    I can now see the light :) while on Kodi's menu. But as soon as I start a movie, the LEDs go dark.
    I use Adalight for Type. Output: /dev/ttyACM0 and Baudrate: 115,200

    If you guys need to see the entire hyperion.config.json let me know and I'll pastebin it.
     
  14. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Could you provide a hyperion log? just to check that.
    Thank you.
     
  15. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
     
  16. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    hm, framebuffer grabber. I will compile one just with amlogic enabled. we will see what happen then :)
    Edit: new bin attached, replace hyperiond with your current
     

    Attached Files:

    Last edited: 1 May 2016
  17. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    Nope, not yet.

     
  18. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    so I got it to work by manually editing the .json file and adding these:

    "framegrabber" :
    {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0
    },
    "amlgrabber": {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0
    },
     
  19. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,303
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    ha! thats new for me, and i think for brindosch too :D now we learned from you!! thanks!

    does it work now?
     
  20. Remus

    Remus New Member

    Messages:
    12
    Hardware:
    Wetek
    ahaa it works now with the Brindosch modified hyperiond and those added config lines.
    The only issue I have now is that with the modified hyperiond I lost the LEDs on the Kodi menu. But that is something I can live without.

    The reason I stressed you guys today is that I wanted the hyperion instead of Boblight becasue I noticed since I got the Wetek Core that whenever I fast forward or skip forward (or backwards for that matter…) the video is not playing smooth anymore - it's skipping.