[DIY] Amblight project/guide - Hyperion - WS2801/ WS2812B / APA102 (3 Viewers)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    There's a tutorial for it on the Hyperion Wiki which should get you past the initial installation:

    https://github.com/tvdzwan/hyperion/wiki/Installation-on-OSMC-RC3

    Some parts of my tutorial are OpenElec specific but might be the same on OSMC.

    Most just stick with OpenElec or Raspberry as the Hyperion Kodi/OSMC plugin doesn't work on the rPI 1/2 so can only use Hyperion to manage the leds (receive commands over network etc..) and Kodi/OSMC on the rPI 1/2 can't control the leds:

    https://github.com/tvdzwan/hyperion/wiki/XBMC-addon-(not-for-RPi)
     

    Hapo

    Portal Member
    August 26, 2015
    22
    2
    30
    Home Country
    Brazil Brazil
    There's a tutorial for it on the Hyperion Wiki which should get you past the initial installation:

    https://github.com/tvdzwan/hyperion/wiki/Installation-on-OSMC-RC3

    Some parts of my tutorial are OpenElec specific but might be the same on OSMC.

    Most just stick with OpenElec or Raspberry as the Hyperion Kodi/OSMC plugin doesn't work on the rPI 1/2 so can only use Hyperion to manage the leds (receive commands over network etc..) and Kodi/OSMC on the rPI 1/2 can't control the leds:

    https://github.com/tvdzwan/hyperion/wiki/XBMC-addon-(not-for-RPi)

    Thanks! Actually this is exactly the topic i was following on, but im having some problems over there, maybe you can help me.

    1. When i do the sudo sh ./install_hyperion.sh it finishes saying that "insserv: warning: script 'Hyperion' missing LSB tags and overrides" is that a problem? I have just ignored it.

    2. On the part of the Extra buttons on remote to control lights / change static colour.

    I tried to remove the hyperion symoblic link at /etc/init.d with Filezilla, but it just give me error "Responde 550: Delete operation Failed"

    Also, i tried creating the Hyperion.service (By changing any config file with the script and renaming the .config with .service), but it also gives me error Error 553: Could not create file.

    3. So that i understand, i should format the sd, install OPENELEC? And then try to install hyperion in the openelec?

    Im sorry to take your time, do you know how can i solve this?

    Thanks
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    No problem at all :)

    1. Not sure about that one, might be something OSMC specific or error in their script in combination with newer releases.

    2. The FTP 550 error means permission or file not found error, in this case you have to change the symbolic link via an SSH session so best to connect via Putty and login in to the rPi and change it from there.

    3. OpenElec is the preferred one for this guide as it has a stable foundation and plenty of support, you can use the easy install method which on rPI start up allows you to run multiple OS'es among OpenElec:

    http://swag.raspberrypi.org/products/noobs
    https://www.raspberrypi.org/help/noobs-setup/

    8GB SD card is recommended.

    Using OpenElec for my Hyperion setup and Rasplex for when I want to use Plex on the go where Mediaportal isn't an option.
     
    Last edited:

    Hapo

    Portal Member
    August 26, 2015
    22
    2
    30
    Home Country
    Brazil Brazil
    No problem at all :)

    1. Not sure about that one, might be something OSMC specific or error in their script in combination with newer releases.

    2. The FTP 550 error means permission or file not found error, in this case you have to change the symbolic link via an SSH session so best to connect via Putty and login in to the rPi and change it from there.

    3. OpenElec is the preferred one for this guide as it has a stable foundation and plenty of support, you can use the easy install method which on rPI start up allows you to run multiple OS'es among OpenElec:

    http://swag.raspberrypi.org/products/noobs
    https://www.raspberrypi.org/help/noobs-setup/

    8GB SD card is recommended.

    Using OpenElec for my Hyperion setup and Rasplex for when I want to use Plex on the go where Mediaportal isn't an option.

    So, i followed your suggestion and i have installed openelec, after following this tutorial https://github.com/tvdzwan/hyperion/wiki/Installation-on-RPi-with-OpenELEC ive managed to do all the commands and installs with no problem (installing hyperion, configuring hypercom and changincg effects folder) but in the end when i do the TEST CODES such as:

    /storage/hyperion/bin/hyperion-remote.sh --priority 50 --color red --duration 5000

    None of my leds lights up, what can it be the problem? im going to upload some pictures of my mounted kit to check if you can see the problem, i know the photo is confusing so i wil try to explain what i have done with the cables.

    1. Ive connected the DI to MOSI (Yellow)
    2. Ive connected the CI to SCLK (Orange)
    3. Ive connected the 5+ to a 2-pin jumper (connected also to a DC Jack adapter) and the other side of the 2-pin jumper is connected to both 5V on Rpi (RED)
    4. Ive connected GND directly to Rpi and another GND from the DC jacl adapter also directly connected to another spot on Rpi

    Thats it, is there a problem in my connections? perhaps i need to cut new LED strips and solder it again? How can i test to see if the problem is not on the LED strip?

    thanks!!

    Ohh i forgot to say, i am using 5v 5A (As im using only 2.66meters of LED).
     

    Attachments

    • image1.JPG
      image1.JPG
      391.6 KB
    • image2.JPG
      image2.JPG
      764.4 KB

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Connections looks a bit different than I remember so you can double check it via the below diagram to be sure which is for the WS2801 leds.
    If you have an Arduino laying around you can test it with that a bit easier (strain test etc..) but would start with checking the wiring first :)

    T5bRL.png
     
    Last edited:

    Hapo

    Portal Member
    August 26, 2015
    22
    2
    30
    Home Country
    Brazil Brazil
    Uhmm, connections are the same as i have followed the same diagram. But LED still wont work on commands.:(
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    In the first picture in between the 5v and GND connections there seems to be an additional red wire, on the left side of rPi there should be 2 wires going to DI/CI on the leds but see 3 total.
    Should be 4 cables total going to the rPi and 4 to the leds as well, can you post an side by side picture with the led connections as well?
     

    Hapo

    Portal Member
    August 26, 2015
    22
    2
    30
    Home Country
    Brazil Brazil
    The additional Red Wire is the GND. I have connected directly from LED strip GND on the Rpi and another wire directly from Jack adapter to another GND spot on Rpi, thats why it have 5 instead of 4 ( Instead of Connecting GND from led strip to the Jack adapter and from Jack adapter to Rpi ive just made 2 directly connections to 2 different GND spots on rpi)

    Ive tried to take another pictures, see if its good to see now.

    From led Strip:
    1.Black is GND - Connected to Spot 6 on Rpi
    2. Red is 5+ - Connected to 2pin Jumper connected to spot 2 and 4 on rpi
    3.Yellow is DI - Connected to Mosi, spot 19 on rpi
    4.Orange is CI - Connected to SCLK spot 23 on rpi

    From Jack Adapter
    1. Brown is + - connected to the 2pin jumper that is connected also with the RED on led strip on the spot 2 and 4 on Rpi
    2.Green is - which is connected on spot 39 on Rpi which is GND also.

    Installation of Software had no issue, such on Openelec as on Hyperion and hypercon configurations, ive changed the effects location on config and i also added "dtparam=spi=on" on config file, ive added the "enable-spi-overlay.dtb"on overlay and added "dt-blob" on flash folder (and remount it again).

    i Have 2 Strip of 85cm and 2 strips of 45cm. I have soldered them all with the correct Input/Output orientation of the pigtails without mixing the Cables. All Blacks on GND, all Greens on DO/DI, all Reds on CO/CI and all blues on 5v.

    Im using 5v/5A Power supply, with Rpi 2, and 32Gb SD card. Im using Putty and Filezilla as SSH and FTP

    Well i am really new at all of this, so i tried to give all the information i have, tell me if you still need any more info. If needed i can format SD card and re-do all the instalattion process to show the LOG, but there was no error text that had appeared such as: missing file, error on installation, error on permissions, error on compatibility.

    Thanks!
     

    Attachments

    • IMG_1343.JPG
      IMG_1343.JPG
      1.6 MB
    • IMG_1344.JPG
      IMG_1344.JPG
      2.3 MB
    • IMG_1345.JPG
      IMG_1345.JPG
      793.5 KB

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,006
    Home Country
    Netherlands Netherlands
    Ah right now I see :) , should be fine this way but can always try connecting them like in the example so that they share the same 5v and GND cable on the rPi.
    Soldering points look good as well so wouldn't change that as its already hard to enough to do this right ;)

    In your Hyperion config do you have it setup like the below image (primarily the Type / Output / Baud rate) ?

    Screen-Shot-2014-05-13-at-16.34.04.png
     

    Hapo

    Portal Member
    August 26, 2015
    22
    2
    30
    Home Country
    Brazil Brazil
    I did shared the same 5v and GND once to see if it would work, but it did not so i came back to this way as it was more secure.

    Those are my configurations
     

    Attachments

    • Untitled.png
      Untitled.png
      1.3 MB
    • Untitled2.png
      Untitled2.png
      1.2 MB
    • Untitled3.png
      Untitled3.png
      1.2 MB

    Users who are viewing this thread

    Top Bottom