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

Best config for one colour Hyperion?

Discussion in 'Hyperion General' started by teeedubb, 20 December 2016.

  1. teeedubb

    teeedubb New Member

    Messages:
    5
    Hardware:
    RPi3
    Hi All,

    First off I'm really enjoying hyperion so far - finally I can have my LED lights work reliably with games and emulators without any side effects.

    One thing I am struggling to setup is a config for a 'one colour' hyperion like I had with boblight. With this config all the lights would light up the same colour based on what the average was across the whole screen - I found it much better for slower movies and shows. I have a hyperion.config.json which acheives this, but because ever LED is sampling the whole screen it maxes out the pi's cpu which causes hyperion to lag or not react. Below is a snippet from my config file:

    Code:
      {
      "index" : 137,
      "hscan" : { "minimum" : 0.0000, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 1.0000 }
      }
    
    My hardware is 138 WS2801 LED's, a RPi 3 and using the V4L grabber (via a lightberry HD) and Kodi addon.

    Any ideas on how I can achieve a 'one colour' backlight without over taxing the RPi 3?
     
    Last edited: 25 December 2016
  2. b1rdhous3

    b1rdhous3 Member Developer

    Messages:
    35
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +PhilipsHue
  3. teeedubb

    teeedubb New Member

    Messages:
    5
    Hardware:
    RPi3
    Awesome, thanks for pointing that out.

    I have a bit of time off over xmas/nye so I'll check it out.

    I know hyperion.ng is alpha software, but would you say it is ok to use as a daily driver?
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    676
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    you can also set a pixel over the whole screen and then copy the settings for all your leds, its the same effect
     
  5. redPanther

    redPanther Moderator Developer

    Messages:
    205
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    You can do it with an arduino. Send one led wich cover the whole screen. In arduino receive this one led color and set it to rhe whole stripe
     
  6. penfold42

    penfold42 Moderator Developer

    Messages:
    523
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Alpha is seriously under estimating it !

    I have 4 instances running and we haven't broken much (anything?) through the whole NG process.

    The only slightly painful bit is the config file has changed syntax a few times.

    Go for it
     
  7. b1rdhous3

    b1rdhous3 Member Developer

    Messages:
    35
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +PhilipsHue
    I am Running ng too for daily use.

    Just try it ;)
     
  8. teeedubb

    teeedubb New Member

    Messages:
    5
    Hardware:
    RPi3
    Thanks guys, installed it and its working great. unicolour feature works well too.

    @redPanther One question, is it possible to make this feature work with the kodi addon (which uses the UDPLISTNER input)? Toggling unicolor_mean when the kodi addon is active has no effect. Work wonderfully with the v4l grabber.

    Thanks for this PR
     
  9. redPanther

    redPanther Moderator Developer

    Messages:
    205
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    It's protobuffer not udplistener. I will see what I can do
     
  10. redPanther

    redPanther Moderator Developer

    Messages:
    205
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    Implemented! Please note that config for channeladjustment has changed - modify your config accordingly.
     
  11. teeedubb

    teeedubb New Member

    Messages:
    5
    Hardware:
    RPi3
    Thanks redPanther.
    Any chance you can detail what needs to be changed in the config? I'm struggling to work out what the modification of the config file needs to be.
     
  12. redPanther

    redPanther Moderator Developer

    Messages:
    205
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
  13. teeedubb

    teeedubb New Member

    Messages:
    5
    Hardware:
    RPi3
    redPanther sorry about the delay in testing this out, I was having trouble compiling hyperion.

    Its working very nicely with both v4l and kodi grabbers, thanks.
     
  14. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    160
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Maybe we can push for Hyperion.ng release alpha soon?
    Probably would just need updated documentation and a nice post detailing the changes but all in all it's working pretty well already for daily use :)