Getting SK6812 to work somehow

  • HI everyone,


    i´m fooling around with some sk6812 strips for a few days now, planning to use them as some kind of indirect lighting in my living room. Thought it would be cool to control them with hyperion and home assistant, and maybe also as ambi-light on the ceiling.


    I know they are not supported yet, but i thought i should give it a try.
    So i got everything working using the "ambilight for every hdmi source" tutorial, got a raspi 3 with raspbian running hyperion, my sk1160 grabber is grabbing pretty good and with the sketch from hyperion.ng the leds react somehow.


    I got 210 leds total, but only about 100-120 of them work whith hyperion and the colour behaviour is really weird :D
    They show either white or they light up in completely senseless order of colors :D


    Think it could work with hyperion.ng running if i got this thread right?
    I tried to get this running, but i´m pretty new to all of this, so couldn´t make it, would need a little walkthrough here :)
    Or maybe there is another way, just to ignore the white channel and get it to work with rgb in hyperion?

  • Not really, like i said, this stuff is pretty new to me...but i'm learning :)
    Tried to build using the "how to compile", but got some error at the end.
    Gonna try again as soon as i got some more time. But then i'm gonna heed help with the next steps :D


    Its good to hear, that i got it right and it should work with NG :)

  • Alright....i´m feeling too stupid for this -.-


    Tried to build on my raspberry...
    Think i got the dependencies right but when i try to run
    "cmake -DCMAKE_BUILD_TYPE=Release .." from the "build" directory i can´t get any further.
    Here is the output:


    pi@raspberrypi:~/hyperion/build $ cmake -DCMAKE_BUILD_TYPE=Release ..
    -- PLATFORM is not defined, evaluated platform: rpi
    -- PLATFORM: rpi
    -- ENABLE_AMLOGIC = OFF
    -- ENABLE_DISPMANX = ON
    -- ENABLE_FB = ON
    -- ENABLE_OSX = OFF
    -- ENABLE_SPIDEV = ON
    -- ENABLE_TINKERFORGE = ON
    -- ENABLE_V4L2 = ON
    -- ENABLE_WS281XPWM = ON
    -- ENABLE_X11 = OFF
    -- ENABLE_TESTS = OFF
    -- ENABLE_PROFILER = OFF
    -- validate json files
    checked files: 52 success: 52 errors: 0
    -- validate json effect files
    checked effect files: 31 success: 31 errors: 0
    -- validate json file
    -- Current Version: master (brindosch-d2f8110/dd5f840-1497736001)
    -- Found Qt Version: 5.3.2
    -- Found libusb-1.0:
    -- - Includes: /usr/include/libusb-1.0
    -- - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
    -- Using protobuf compiler: /home/pi/hyperion/build/bin/protoc
    CMake Warning (dev) at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
    configure_file called with unknown argument(s):


    COPY_ONLY


    Call Stack (most recent call first):
    libsrc/hyperion/CMakeLists.txt:46 (QT5_ADD_RESOURCES)
    This warning is for project developers. Use -Wno-dev to suppress it.


    CMake Warning (dev) at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
    configure_file called with unknown argument(s):


    COPY_ONLY


    Call Stack (most recent call first):
    libsrc/jsonserver/CMakeLists.txt:25 (qt5_add_resources)
    This warning is for project developers. Use -Wno-dev to suppress it.


    CMake Warning (dev) at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
    configure_file called with unknown argument(s):


    COPY_ONLY


    Call Stack (most recent call first):
    libsrc/leddevice/CMakeLists.txt:133 (qt5_add_resources)
    This warning is for project developers. Use -Wno-dev to suppress it.


    CMake Warning at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package):
    Could not find a package configuration file provided by "Qt5SerialPort"
    with any of the following names:


    Qt5SerialPortConfig.cmake
    qt5serialport-config.cmake


    Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set
    "Qt5SerialPort_DIR" to a directory containing one of the above files. If
    "Qt5SerialPort" provides a separate development package or SDK, be sure it
    has been installed.
    Call Stack (most recent call first):
    libsrc/leddevice/CMakeLists.txt:146 (qt5_use_modules)



    CMake Error at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreMacros.cmake:275 (message):
    Can not use "SerialPort" module which has not yet been found.
    Call Stack (most recent call first):
    libsrc/leddevice/CMakeLists.txt:146 (qt5_use_modules)



    -- Configuring incomplete, errors occurred!
    See also "/home/pi/hyperion/build/CMakeFiles/CMakeOutput.log".
    See also "/home/pi/hyperion/build/CMakeFiles/CMakeError.log".

  • Installing libqt5serialport5 did not fix it, got the same error again.
    Started all over again, and double checked if all the dependencies got installed....and hyperion is up and running :D
    Just had to sudo the installation of hyperion, without sudo i got an error for some directory that couldn´t be generated.
    I´m not sure where my problem was before.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!