Sk6812 RGBW-NW mit RPi4,RaspBian Buster,Hyperion Alpha6

  • Hier Sigi


    2021-02-27T13:33:06.462Z [hyperiond DAEMON] (INFO) CEC handler created
    2021-02-27T13:33:06.487Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/
    2021-02-27T13:33:06.491Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/
    2021-02-27T13:33:06.493Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects
    2021-02-27T13:33:06.533Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized
    2021-02-27T13:33:06.536Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default
    2021-02-27T13:33:06.536Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
    2021-02-27T13:33:06.573Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'
    2021-02-27T13:33:06.574Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0
    2021-02-27T13:33:06.576Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 1920x1080
    2021-02-27T13:33:06.576Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 87, height: 49 for capture
    2021-02-27T13:33:06.576Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created
    2021-02-27T13:33:06.577Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0
    2021-02-27T13:33:06.673Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 640, height: 480 for capture
    2021-02-27T13:33:06.673Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal threshold set to: {12, 12, 12}
    2021-02-27T13:33:06.674Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) CEC detection is now disabled
    2021-02-27T13:33:06.674Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection is now disabled
    2021-02-27T13:33:06.674Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2021-02-27T13:33:06.674Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created
    2021-02-27T13:33:06.674Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance
    2021-02-27T13:33:06.675Z [hyperiond JSONSERVER] (INFO) Started on port 19444
    2021-02-27T13:33:06.578Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'sk6812spi'.
    2021-02-27T13:33:06.578Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":272,"hardwareLedCount":1,"invert":false,"latchTime":0,"output":"/dev/spidev0.0","rate":3e+06,"rewriteTime":1000,"type":"sk6812spi","whiteAlgorithm":"sub_min_warm_adjust"}]
    2021-02-27T13:33:06.578Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 0ms
    2021-02-27T13:33:06.579Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
    2021-02-27T13:33:06.579Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 50.000000 Hz, interpolationRate: 1.000000 Hz, timer: 20 ms, Dithering: 1, Decay: 1.000000 -> HalfTime: 100.000000 ms
    2021-02-27T13:33:06.579Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 1000ms
    2021-02-27T13:33:06.580Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 1000ms
    2021-02-27T13:33:06.580Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:45:init()) _baudRate_Hz [3000000], _latchTime_ms [0]
    2021-02-27T13:33:06.580Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:46:init()) _spiDataInvert [0], _spiMode [0]
    2021-02-27T13:33:06.580Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceSk6812SPI.cpp:41:init()) whiteAlgorithm : sub_min_warm_adjust
    2021-02-27T13:33:06.587Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times
    2021-02-27T13:33:06.587Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401
    2021-02-27T13:33:06.599Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0
    2021-02-27T13:33:06.654Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
    2021-02-27T13:33:06.654Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive
    2021-02-27T13:33:06.655Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started
    2021-02-27T13:33:06.656Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
    2021-02-27T13:33:06.656Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
    2021-02-27T13:33:06.697Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0
    2021-02-27T13:33:06.697Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1
    2021-02-27T13:33:06.702Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=640 height=480
    2021-02-27T13:33:06.704Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 30 fps
    2021-02-27T13:33:06.704Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV
    2021-02-27T13:33:06.712Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started
    2021-02-27T13:33:06.712Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
    2021-02-27T13:33:06.657Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/GRABBER' with priority 250 as inactive
    2021-02-27T13:33:06.657Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: enabled
    2021-02-27T13:33:06.712Z [hyperiond Dispmanx] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
    2021-02-27T13:33:06.658Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created
    2021-02-27T13:33:06.713Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started
    2021-02-27T13:33:06.658Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
    2021-02-27T13:33:06.683Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400
    2021-02-27T13:33:06.684Z [hyperiond PROTOSERVER] (INFO) Started on port 19445
    2021-02-27T13:33:06.684Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
    2021-02-27T13:33:06.689Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
    2021-02-27T13:33:06.782Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
    2021-02-27T13:33:06.783Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
    2021-02-27T13:33:06.782Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
    2021-02-27T13:33:06.783Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
    2021-02-27T13:33:06.783Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
    2021-02-27T13:33:06.803Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active
    2021-02-27T13:33:06.803Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0
    2021-02-27T13:33:06.803Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms
    2021-02-27T13:33:06.803Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255]
    2021-02-27T13:33:06.803Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
    2021-02-27T13:33:06.819Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 250 is now active
    2021-02-27T13:33:06.820Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate
    2021-02-27T13:33:06.821Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key
    2021-02-27T13:33:06.822Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
    2021-02-27T13:33:06.837Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 0 is now active
    2021-02-27T13:33:09.903Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 0
    2021-02-27T13:33:09.904Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0
    2021-02-27T13:33:09.905Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 50.000000 Hz, interpolationRate: 1.000000 Hz, timer: 20 ms, Dithering: 1, Decay: 1.000000 -> HalfTime: 100.000000 ms
    2021-02-27T13:33:09.905Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0]
    2021-02-27T13:33:10.153Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240
    2021-02-27T13:33:10.177Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[0]
    2021-02-27T13:33:19.824Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.53
    2021-02-27T13:33:19.824Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.53' switch to Hyperion instance 0
    2021-02-27T13:33:20.073Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.53
    2021-02-27T13:33:20.105Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.178.53
    2021-02-27T13:38:19.715Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
    2021-02-27T13:39:39.541Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.53
    2021-02-27T13:39:39.541Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.53' switch to Hyperion instance 0
    2021-02-27T13:39:39.884Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.53

  • Also nochmal. Mein Bild besagt das für den Datenkanal Pin 19 und GND Pin20 zu nehmen ist. spidev ist bei mir 0.1.


    Was sagt die Ausgabe von:


    Code
    ls /dev/spidev*


    und


    Code
    lsmod | grep spi

Jetzt mitmachen!

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