LED´s not working with Raspberry Pi Zero 2

  • Hi, I´m new to Hyperion and wanted to finish my first project today. All is wired up fine, but if i turn on Hyperion nothing happened to my LED´s. I´m using a Raspberry Pi Zero 2 to run Hyperion and there i connected my WS2811 LED strip. I wanted to control it over PWM and just turned on this mode. I changed nothing to the GPIO setting or everything else. The only response I get is this errormessage in the log: 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'

    I hope somebody can help me. :)

    • Offizieller Beitrag

    The currently used ws281x library does not support your hardware yet.

    To address the issue, we need to update the library and build a new Hyperion version.


    The current Master Code branch, already includes and updated library, in case you would like to do an own build or use a version under development.

    If not, you need to wait for the next release. No ETA defined yet

  • Thx for the fast answers and help. I just wondered because the Zero 2 is using the same chip like the Pi 3. As I found out in my research.


    Where can I find the development versions?


    Or is it possible to just update the library in the Alpha 11 version, because in the Changelog of the Library they wrote that they add Zero 2 support.

    2 Mal editiert, zuletzt von Kimosaj () aus folgendem Grund: Ein Beitrag von Kimosaj mit diesem Beitrag zusammengefügt.

    • Offizieller Beitrag

    is it possible to just update the library in the Alpha 11 version

    No, it is a code library, which requires a build of hyperion.


    Where can I find the development versions?

    Nightly builds at:


    https://apt.hyperion-project.org/


    or you compile yourself....


    https://github.com/hyperion-project/hyperion.ng

  • Thx for the hole support. I installed the latest nightly version and it seems to work just the root user has to be changed. But unfortunately the "sudo updateHyperionUser -u root" command doesnt work. Is there a other way?


    Okay i had hope, but this is the log after I fixed the root privilege problem:

    Hyperion System Summary Report (Computer), Reported instance: unknown


    < ----- System information -------------------- >

    Hyperion Server:

    - Build: master (GitHub-69e325c/3b1ca20-1636305077)

    - Build time: Nov 8 2021 01:06:54

    - Git Remote: https://github.com/hyperion-project/hyperion.ng

    - Version: 2.0.12+nightly202111083b1ca20

    - UI Lang: auto (BrowserLang: de)

    - UI Access: expert

    - Avail Capt: dispmanx,v4l2,framebuffer,qt

    - Config path: /root/.hyperion

    - Database: read/write


    Hyperion Server OS:

    - Distribution: Raspbian GNU/Linux 10 (buster)

    - Architecture: arm

    - CPU Model: ARMv7 Processor rev 4 (v7l)

    - CPU Type: Raspberry Pi Zero 2 Rev 1.0

    - CPU Revision: 902120

    - CPU Hardware: BCM2835

    - Kernel: linux (5.10.17-v7+ (WS: 32))

    - Root/Admin: true

    - Qt Version: 5.11.3

    - Python Version: 3.7.3

    - Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0


    < ----- Configured Instances ------------------ >

    0: Monitor Running: true


    < ----- This instance's priorities ------------ >

    priorities_autoselect: true


    < ----- This instance components' status ------->

    ALL - true

    SMOOTHING - true

    BLACKBORDER - true

    FORWARDER - false

    BOBLIGHTSERVER - false

    GRABBER - false

    V4L - false

    LEDDEVICE - false


    < ----- This instance's configuration --------- >

    {"backgroundEffect":{"color":[255,138,0],"effect":"Warm mood blobs","enable":false,"type":"effect"},"blackborderdetector":{"blurRemoveCnt":1,"borderFrameCnt":50,"enable":true,"maxInconsistentCnt":10,"mode":"default","threshold":5,"unknownFrameCnt":600},"boblightServer":{"enable":false,"port":19333,"priority":128},"color":{"channelAdjustment":[{"backlightColored":false,"backlightThreshold":0,"blue":[0,0,255],"brightness":100,"brightnessCompensation":100,"cyan":[0,255,255],"gammaBlue":2.2,"gammaGreen":2.2,"gammaRed":2.2,"green":[0,255,0],"id":"default","leds":"*","magenta":[255,0,255],"red":[255,0,0],"white":[255,255,255],"yellow":[255,255,0]}],"imageToLedMappingType":"multicolor_mean"},"device":{"colorOrder":"rgb","hardwareLedCount":1,"latchTime":0,"output":"/dev/null","rewriteTime":0,"type":"file"},"effects":{"disable":[""],"paths":["$ROOT/custom-effects"]},"flatbufServer":{"enable":true,"port":19400,"timeout":5},"foregroundEffect":{"color":[0,0,255],"duration_ms":3000,"effect":"Rainbow swirl fast","enable":true,"type":"effect"},"forwarder":{"enable":false,"flat":["127.0.0.1:19401"],"json":["127.0.0.1:19446"]},"framegrabber":{"cropBottom":0,"cropLeft":0,"cropRight":0,"cropTop":0,"device":"auto","enable":false,"fps":10,"height":45,"input":0,"pixelDecimation":8,"width":80},"general":{"configVersion":"2.0.12+nightly202111083b1ca20","name":"Computer","previousVersion":"2.0.12+nightly202111083b1ca20","showOptHelp":true,"watchedVersionBranch":"Stable"},"grabberV4L2":{"blueSignalThreshold":0,"cecDetection":false,"cropBottom":0,"cropLeft":0,"cropRight":0,"cropTop":0,"device":"none","enable":false,"encoding":"NO_CHANGE","flip":"NO_CHANGE","fps":15,"fpsSoftwareDecimation":0,"greenSignalThreshold":100,"hardware_brightness":0,"hardware_contrast":0,"hardware_hue":0,"hardware_saturation":0,"height":0,"input":0,"noSignalCounterThreshold":200,"redSignalThreshold":0,"sDHOffsetMax":0.46,"sDHOffsetMin":0.4,"sDVOffsetMax":0.9,"sDVOffsetMin":0.1,"signalDetection":false,"sizeDecimation":8,"width":0},"instCapture":{"systemEnable":false,"systemGrabberDevice":"NONE","systemPriority":250,"v4lEnable":false,"v4lGrabberDevice":"NONE","v4lPriority":240},"jsonServer":{"port":19444},"ledConfig":{"classic":{"bottom":0,"edgegap":0,"glength":0,"gpos":0,"hdepth":8,"left":0,"overlap":0,"pblh":0,"pblv":100,"pbrh":100,"pbrv":100,"position":0,"ptlh":0,"ptlv":0,"ptrh":100,"ptrv":0,"reverse":false,"right":0,"top":1,"vdepth":5},"matrix":{"cabling":"snake","ledshoriz":1,"ledsvert":1,"start":"top-left"}},"leds":[{"hmax":1,"hmin":0,"vmax":0.08,"vmin":0}],"logger":{"level":"debug"},"network":{"apiAuth":true,"internetAccessAPI":false,"ipWhitelist":[],"localAdminAuth":true,"localApiAuth":false,"restirctedInternetAccessAPI":false},"protoServer":{"enable":true,"port":19445,"timeout":5},"smoothing":{"decay":1,"dithering":false,"enable":true,"interpolationRate":25,"outputRate":25,"time_ms":200,"type":"linear","updateDelay":0,"updateFrequency":25},"webConfig":{"crtPath":"","document_root":"","keyPassPhrase":"","keyPath":"","port":8090,"sslPort":8092}}


    < ----- Current Log --------------------------- >

    2021-11-16T13:55:39.830Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:215:sendClose()) Send close to ::ffff:: 1000

    2021-11-16T13:55:40.595Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:

    2021-11-16T13:55:40.785Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:' switch to Hyperion instance 0

    2021-11-16T13:55:41.294Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1062:handleLoggingCommand()) log streaming activated for client ::ffff:

    2021-11-16T13:55:49.908Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1408:handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"ws281x","subcommand":"discover","tan":550}]

    2021-11-16T13:55:49.909Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1432:handleLedDeviceCommand()) response: [{"devices":[{"found":true}],"ledDeviceType":"ws281x"}]

    2021-11-16T13:56:04.315Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceFile.cpp:85:close()) File: /dev/null

    2021-11-16T13:56:04.315Z [hyperiond LEDDEVICE] (INFO) Stopped LedDevice 'file'

    2021-11-16T13:56:04.317Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.

    2021-11-16T13:56:04.317Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) LED device: disabled

    2021-11-16T13:56:04.317Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":100,"dma":10,"gpio":18,"hardwareLedCount":100,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]

    2021-11-16T13:56:04.318Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:414:setLatchTime()) LatchTime updated to 0ms

    2021-11-16T13:56:04.318Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:439:setRewriteTime()) Refresh interval = 1000ms

    2021-11-16T13:56:04.319Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:445:setRewriteTime()) RewriteTime updated to 1000ms

    2021-11-16T13:56:04.319Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:65:init()) ws281x strip type : 1050624

    2021-11-16T13:56:04.322Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'

    2021-11-16T13:56:04.353Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:215:sendClose()) Send close to ::ffff: 1000

    2021-11-16T13:56:05.146Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:

    2021-11-16T13:56:05.341Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:' switch to Hyperion instance 0

    2021-11-16T13:56:05.898Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1408:handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"ws281x","subcommand":"discover","tan":821}]

    2021-11-16T13:56:05.898Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1432:handleLedDeviceCommand()) response: [{"devices":[{"found":true}],"ledDeviceType":"ws281x"}]


    Ok i will try it with a Pi 3B+ instead until the Zero 2 gets support from Hyperion, because the Pi 3 b+ is to good to let it do such a task in my opinion.

    3 Mal editiert, zuletzt von Kimosaj () aus folgendem Grund: Ein Beitrag von Kimosaj mit diesem Beitrag zusammengefügt.

    • Offizieller Beitrag

    Okay i had hope, but this is the log after I fixed the root privilege problem:

    See my latest post above.... The library is not in the master and therefore not included in the nightly build....

    Ok i will try it with a Pi 3B+ instead until the Zero 2 gets support from Hyperion

    Yes, maybe familiarize yourself with the setup and the move to the Zero 2 afterwards.
    If PR1366 gets merged, you will have the update in the nightly build....

Jetzt mitmachen!

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