ok I manage to get on the led device. but when I connect the led strip it does nothing. All leds turn on on diferent colors but it the py seams that does not control them.
Beiträge von alejod
-
-
Good day
please help
im using WS281x
I have the same issue. led device keeps going off
I tryed
sudo killall hyperiond
then
sudo hyperiond -d
and i get
2021-09-01T21:03:40.607 hyperiond MAIN : <ERROR> The Hyperion Daemon is already running, abort start
log
Hyperion System Summary Report (Ambi), Reported instance: First LED Hardware instance
< ----- System information -------------------- >
Hyperion Server:
- Build: (HEAD detached at 2.0.0-alpha.10) (Paulchen-Panther-975f969/b1a4e95-1626550299)
- Build time: Jul 17 2021 21:50:25
- Git Remote: https://github.com/hyperion-project/hyperion.ng
- Version: 2.0.0-alpha.10
- UI Lang: en (BrowserLang: es-AR)
- UI Access: expert
- Avail Capt: dispmanx,v4l2,framebuffer,qt
- Database: read/write
Hyperion Server OS:
- Distribution: HyperBian GNU/Linux 10 (buster)
- Architecture: arm
- CPU Model: ARMv6-compatible processor rev 7 (v6l)
- CPU Type: Raspberry Pi Zero W Rev 1.1
- CPU Revision: 9000c1
- CPU Hardware: BCM2835
- Kernel: linux (5.10.17+ (WS: 32))
- Qt Version: 5.11.3
- Python Version: 3.7.3
- Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
< ----- Configured Instances ------------------ >
0: First LED Hardware instance Running: true
< ----- This instance's priorities ------------ >
240: VISIBLE! (V4L) Owner: V4L2
priorities_autoselect: true
< ----- This instance components' status ------->
ALL - true
SMOOTHING - true
BLACKBORDER - true
FORWARDER - false
BOBLIGHTSERVER - false
GRABBER - false
V4L - true
LEDDEVICE - false
< ----- Current Log --------------------------- >
2021-09-01T20:03:36.197Z [hyperiond DAEMON] (INFO) CEC handler created
2021-09-01T20:03:36.260Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/
2021-09-01T20:03:36.286Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/
2021-09-01T20:03:36.289Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects/
2021-09-01T20:03:36.393Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:164:SettingsManager()) Settings database initialized
2021-09-01T20:03:36.401Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default
2021-09-01T20:03:36.403Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
2021-09-01T20:03:36.439Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'
2021-09-01T20:03:36.453Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created
2021-09-01T20:03:36.478Z [hyperiond V4L2] (DEBUG) (Grabber.cpp:141:setWidthHeight()) Set new width: 640, height: 480 for capture
2021-09-01T20:03:36.500Z [hyperiond V4L2] (INFO) Set new frames per second to: 5 fps
2021-09-01T20:03:36.504Z [hyperiond V4L2] (INFO) Set flipmode to NO_CHANGE
2021-09-01T20:03:36.861Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:151:init()) Set device (path) to: USB Video: USB Video (/dev/video0)
2021-09-01T20:03:36.868Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:488:init_device()) Set device input to: Camera 1
2021-09-01T20:03:36.872Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:614:init_device()) Set resolution to width=640 height=480
2021-09-01T20:03:36.889Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:631:init_device()) Set framerate to 5 fps
2021-09-01T20:03:36.892Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:707:init_device()) Pixel format=YUYV
2021-09-01T20:03:36.911Z [hyperiond V4L2] (INFO) Started
2021-09-01T20:03:36.914Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:608:handleSettingsUpdate()) V4L2 grabber created
2021-09-01T20:03:36.919Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance
2021-09-01T20:03:36.929Z [hyperiond JSONSERVER] (INFO) Started on port 19444
2021-09-01T20:03:36.456Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.
2021-09-01T20:03:36.467Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":1,"dma":5,"gpio":18,"hardwareLedCount":1,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
2021-09-01T20:03:36.459Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
2021-09-01T20:03:36.470Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:413:setLatchTime()) LatchTime updated to 0ms
2021-09-01T20:03:36.473Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:438:setRewriteTime()) Refresh interval = 1000ms
2021-09-01T20:03:36.479Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:444:setRewriteTime()) RewriteTime updated to 1000ms
2021-09-01T20:03:36.482Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624
2021-09-01T20:03:36.473Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: 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-09-01T20:03:36.498Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
2021-09-01T20:03:36.493Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times
2021-09-01T20:03:36.517Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401
2021-09-01T20:03:36.525Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 1
2021-09-01T20:03:36.638Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:181:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2021-09-01T20:03:36.641Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/EFFECT' with priority 1 as inactive
2021-09-01T20:03:36.644Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started
2021-09-01T20:03:36.652Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
2021-09-01T20:03:36.668Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
2021-09-01T20:03:36.674Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created
2021-09-01T20:03:37.160Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started
2021-09-01T20:03:37.034Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400
2021-09-01T20:03:37.061Z [hyperiond PROTOSERVER] (INFO) Started on port 19445
2021-09-01T20:03:37.065Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
2021-09-01T20:03:37.083Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
2021-09-01T20:03:37.482Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
2021-09-01T20:03:37.489Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
2021-09-01T20:03:37.492Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
2021-09-01T20:03:37.501Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
2021-09-01T20:03:37.513Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
2021-09-01T20:03:37.631Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active
2021-09-01T20:03:37.634Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240
2021-09-01T20:03:37.637Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[255]
2021-09-01T20:03:37.641Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
2021-09-01T20:03:37.739Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 1 is now active
2021-09-01T20:03:37.743Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 1
2021-09-01T20:03:37.747Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[1], previousPriority[240]
2021-09-01T20:03:39.914Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.51
2021-09-01T20:03:39.946Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.0.51' switch to Hyperion instance 0
2021-09-01T20:03:40.188Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:337:setCurrentTime()) Timeout clear for priority 1
2021-09-01T20:03:40.206Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240
2021-09-01T20:03:40.209Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[1]
2021-09-01T20:03:40.306Z [hyperiond EFFECTENGINE] (INFO) effect finished
2021-09-01T20:03:40.922Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate
2021-09-01T20:03:40.931Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key
2021-09-01T20:03:40.936Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
2021-09-01T20:04:16.870Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.51