Hyperion.ng LED device switches off

  • Just getting all setup, installed hyperion.ng on a pi zero. Picture grabber all works (I can see it all working on the Hyperion config page).


    But my led don't light up at start up. And on the remote page I turn on the LED device and it just gets switched back off. Nothing working. I have a WS2812B strip hooked up the gpio18. I have wired up the pi and the strip to the same power supply, and I have continuity throughout the wiring.


    I have chosen ws218x in the device config page, and still nothing. There is nothing in the logs either.


    Any ideas what I've done wrong?

  • start it manually with hyperiond -d in a ssh terminal and post the console output.


    This is what i get:


    2020-09-08T08:43:34.746 hyperiond MAIN : <ERROR> The Hyperion Daemon is already running, abort start


    How can i restart it to get it going properly? I get this anytime i issue a hyperiond command (from here https://docs.hyperion-project.…Advanced.html#gamma-curve). Sorry for the questions, but i'm keen to get this sorted

  • Here is the log:


    2020-09-09T12:53:45.581 hyperiond MAIN : <INFO> Set user data path to '/home/pi/.hyperion'
    2020-09-09T12:53:45.699 hyperiond DAEMON : <DEBUG> PythonInit.cpp:45:PythonInit() | Initializing Python interpreter
    2020-09-09T12:53:46.449 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:108:SettingsManager() | Settings database initialized
    2020-09-09T12:53:46.453 hyperiond DAEMON : <INFO> CEC handler created
    2020-09-09T12:53:46.512 hyperiond EFFECTFILES : <INFO> 39 effects loaded from directory :/effects/
    2020-09-09T12:53:46.538 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/
    2020-09-09T12:53:46.540 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects
    2020-09-09T12:53:46.714 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:108:SettingsManager() | Settings database initialized
    2020-09-09T12:53:46.725 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:65:handleSettingsUpdate() | Set mode to: default
    2020-09-09T12:53:46.728 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled
    2020-09-09T12:53:46.777 hyperiond DAEMON : <INFO> set screen capture device to 'dispmanx'
    2020-09-09T12:53:46.779 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
    2020-09-09T12:53:46.792 hyperiond DISPMANXGRAB : <INFO> Display opened with resolution: 640x480
    2020-09-09T12:53:46.794 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:91:setWidthHeight() | Set new width: 80, height: 45 for capture
    2020-09-09T12:53:46.796 hyperiond DAEMON : <INFO> DISPMANX frame grabber created
    2020-09-09T12:53:46.807 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled
    2020-09-09T12:53:46.809 hyperiond V4L2:AUTO : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
    2020-09-09T12:53:46.810 hyperiond LEDDEVICE : <INFO> Start LedDevice 'ws281x'.
    2020-09-09T12:53:46.820 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":76,"dma":5,"gpio":18,"hardwareLedCount":76,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
    2020-09-09T12:53:46.822 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:153:init() | Refresh interval = 1000ms
    2020-09-09T12:53:46.826 hyperiond LEDDEVICE : <DEBUG> LedDeviceWS281x.cpp:63:init() | ws281x strip type : 1050624
    2020-09-09T12:53:46.825 hyperiond V4L2:AUTO : <INFO> Signal threshold set to: {12, 12, 12}
    2020-09-09T12:53:46.838 hyperiond V4L2:AUTO : <INFO> CEC detection is now disabled
    Can't open /dev/mem: Permission denied
    2020-09-09T12:53:46.842 hyperiond V4L2:AUTO : <INFO> Signal detection is now disabled
    2020-09-09T12:53:46.847 hyperiond V4L2:AUTO : <INFO> Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2020-09-09T12:53:46.851 hyperiond DAEMON : <DEBUG> hyperiond.cpp:527:handleSettingsUpdate() | V4L2 grabber created
    2020-09-09T12:53:46.856 hyperiond JSONSERVER : <DEBUG> JsonServer.cpp:27:JsonServer() | Created instance
    2020-09-09T12:53:46.845 hyperiond LEDDEVICE : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
    2020-09-09T12:53:46.850 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401
    2020-09-09T12:53:46.872 hyperiond JSONSERVER : <INFO> Started on port 19444
    2020-09-09T12:53:46.876 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
    2020-09-09T12:53:46.895 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
    2020-09-09T12:53:46.901 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive
    2020-09-09T12:53:46.899 hyperiond PROTOSERVER : <INFO> Started on port 19445
    2020-09-09T12:53:46.900 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver2020-09-09T12:53:46.898 hyperiond FLATBUFSERVE : <INFO> Started on port 19400


    2020-09-09T12:53:46.911 hyperiond HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
    2020-09-09T12:53:46.918 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254
    2020-09-09T12:53:46.912 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
    2020-09-09T12:53:46.932 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [2]
    2020-09-09T12:53:46.936 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive
    2020-09-09T12:53:46.941 hyperiond HYPERION : <INFO> Inital background effect 'Warm mood blobs' started
    2020-09-09T12:53:46.957 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created
    2020-09-09T12:53:46.973 hyperiond HYPERION : <INFO> Hyperion instance 'AndroidTV' has been started
    2020-09-09T12:53:47.192 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
    2020-09-09T12:53:47.193 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
    2020-09-09T12:53:47.197 hyperiond WEBSERVER : <INFO> Started on port 8090 name 'Hyperion Webserver'
    2020-09-09T12:53:47.199 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
    2020-09-09T12:53:47.210 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
    2020-09-09T12:53:47.215 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 0
    2020-09-09T12:53:48.745 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.1.29
    2020-09-09T12:53:48.760 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:192.168.1.29' switch to Hyperion instance 0
    2020-09-09T12:53:49.475 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:174:handleSettingsUpdate() | Setup SSL certificate
    2020-09-09T12:53:49.490 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:190:handleSettingsUpdate() | Setup private SSL key
    2020-09-09T12:53:49.493 hyperiond WEBSERVER : <INFO> Started on port 8092 name 'Hyperion Webserver'
    2020-09-09T12:53:49.786 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:1057:handleLoggingCommand() | log streaming activated for client ::ffff:192.168.1.29
    2020-09-09T12:53:53.430 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:198:setInput() | Priority 254 is now active
    Can't open /dev/mem: Permission denied
    2020-09-09T12:54:07.304 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:204:sendClose() | send close: 1000
    2020-09-09T12:54:08.156 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.1.29
    2020-09-09T12:54:08.166 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:192.168.1.29' switch to Hyperion instance 0
    Can't open /dev/mem: Permission denied



    the permission denied comes through when i try to switch ont ehLED device through the remote page.

    • Offizieller Beitrag

    Start hyperiond under root


    sudo killall hyperiond
    sudo hyperiond -d


    Note: You will see that your configuration defaulted, given you are using a different user. Just try to configure the problematic device to check it is working under root.
    If ok, you can copy over the original configuration.


    Please also provide the Informationen as requested by @Paulchen-Panther.


  • The LED device now stays switched on. This is the log i get now:


    2020-09-11T08:34:52.519 hyperiond MAIN : <INFO> Set user data path to '/root/.hyperion'
    2020-09-11T08:34:52.870 hyperiond DAEMON : <DEBUG> PythonInit.cpp:45:PythonInit() | Initializing Python interpreter
    2020-09-11T08:34:53.983 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:108:SettingsManager() | Settings database initialized
    2020-09-11T08:34:53.986 hyperiond DAEMON : <INFO> CEC handler created
    2020-09-11T08:34:54.049 hyperiond EFFECTFILES : <INFO> 39 effects loaded from directory :/effects/
    2020-09-11T08:34:54.074 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/
    2020-09-11T08:34:54.077 hyperiond EFFECTFILES : <INFO> New Effect path "/root/.hyperion/custom-effects" created successfull
    2020-09-11T08:34:54.216 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:108:SettingsManager() | Settings database initialized
    2020-09-11T08:34:54.225 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:65:handleSettingsUpdate() | Set mode to: default
    2020-09-11T08:34:54.227 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled
    2020-09-11T08:34:54.272 hyperiond DAEMON : <INFO> set screen capture device to 'dispmanx'
    2020-09-11T08:34:54.274 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
    2020-09-11T08:34:54.289 hyperiond DISPMANXGRAB : <INFO> Display opened with resolution: 640x480
    2020-09-11T08:34:54.291 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:91:setWidthHeight() | Set new width: 80, height: 45 for capture
    2020-09-11T08:34:54.294 hyperiond DAEMON : <INFO> DISPMANX frame grabber created
    2020-09-11T08:34:54.300 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled
    2020-09-11T08:34:54.302 hyperiond V4L2:AUTO : <DEBUG> Grabber.cpp:31:setVideoMode() | Set videomode to 0
    2020-09-11T08:34:54.303 hyperiond LEDDEVICE : <INFO> Start LedDevice 'file'.
    2020-09-11T08:34:54.319 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":26,"hardwareLedCount":1,"latchTime":0,"output":"/dev/null","rewriteTime":0,"type":"file"}]
    2020-09-11T08:34:54.322 hyperiond LEDDEVICE : <DEBUG> LedDeviceFile.cpp:55:open() | QIODevice::WriteOnly, /dev/null
    2020-09-11T08:34:54.325 hyperiond V4L2:AUTO : <INFO> Signal threshold set to: {12, 12, 12}
    2020-09-11T08:34:54.328 hyperiond V4L2:AUTO : <INFO> CEC detection is now disabled
    2020-09-11T08:34:54.331 hyperiond V4L2:AUTO : <INFO> Signal detection is now disabled
    2020-09-11T08:34:54.334 hyperiond V4L2:AUTO : <INFO> Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2020-09-11T08:34:54.337 hyperiond DAEMON : <DEBUG> hyperiond.cpp:527:handleSettingsUpdate() | V4L2 grabber created
    2020-09-11T08:34:54.317 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401
    2020-09-11T08:34:54.347 hyperiond JSONSERVER : <DEBUG> JsonServer.cpp:27:JsonServer() | Created instance
    2020-09-11T08:34:54.350 hyperiond JSONSERVER : <INFO> Started on port 19444
    2020-09-11T08:34:54.352 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
    2020-09-11T08:34:54.361 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
    2020-09-11T08:34:54.368 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive
    2020-09-11T08:34:54.365 hyperiond FLATBUFSERVE : <INFO> Started on port 19400
    2020-09-11T08:34:54.378 hyperiond HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
    2020-09-11T08:34:54.382 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254
    2020-09-11T08:34:54.392 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [2]
    2020-09-11T08:34:54.395 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive
    2020-09-11T08:34:54.389 hyperiond PROTOSERVER : <INFO> Started on port 19445
    2020-09-11T08:34:54.394 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
    2020-09-11T08:34:54.390 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
    2020-09-11T08:34:54.406 hyperiond HYPERION : <INFO> Inital background effect 'Warm mood blobs' started
    2020-09-11T08:34:54.421 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/GRABBER' with priority 250 as inactive
    2020-09-11T08:34:54.429 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Framegrabber: enabled
    2020-09-11T08:34:54.434 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created
    2020-09-11T08:34:54.438 hyperiond Dispmanx : <DEBUG> GrabberWrapper.cpp:49:start() | Grabber start()
    2020-09-11T08:34:54.452 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: enabled
    2020-09-11T08:34:54.455 hyperiond HYPERION : <INFO> Hyperion instance 'First LED Hardware instance' has been started
    2020-09-11T08:34:54.557 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 250 is now active
    2020-09-11T08:34:54.559 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 0
    2020-09-11T08:34:54.694 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
    2020-09-11T08:34:54.696 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
    2020-09-11T08:34:54.699 hyperiond WEBSERVER : <INFO> Started on port 8090 name 'Hyperion Webserver'
    2020-09-11T08:34:54.701 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
    2020-09-11T08:34:54.719 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
    2020-09-11T08:34:56.353 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:174:handleSettingsUpdate() | Setup SSL certificate
    2020-09-11T08:34:56.381 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:190:handleSettingsUpdate() | Setup private SSL key
    2020-09-11T08:34:56.391 hyperiond WEBSERVER : <INFO> Started on port 8092 name 'Hyperion Webserver'
    2020-09-11T08:34:57.113 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.1.29
    2020-09-11T08:34:57.125 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:192.168.1.29' switch to Hyperion instance 0
    2020-09-11T08:35:01.313 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:198:setInput() | Priority 254 is now active
    2020-09-11T08:35:05.367 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:204:sendClose() | send close: 1000
    2020-09-11T08:35:06.296 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.1.29
    2020-09-11T08:35:06.299 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:107:handleInstanceSwitch() | Client '::ffff:192.168.1.29' switch to Hyperion instance 0
    2020-09-11T08:35:58.673 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
    2020-09-11T08:35:58.675 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [0]
    2020-09-11T08:35:58.677 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254
    2020-09-11T08:35:58.686 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:187:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [0]
    2020-09-11T08:35:59.106 hyperiond EFFECTENGINE : <INFO> effect finished
    2020-09-11T08:36:06.372 hyperiond LEDDEVICE : <DEBUG> LedDeviceFile.cpp:81:close() | File: /dev/null
    [hyperiond LedDeviceWrapper] <INFO> LedDevice 'file' closed
    2020-09-11T08:36:06.391 hyperiond LEDDEVICE : <INFO> Start LedDevice 'ws281x'.
    2020-09-11T08:36:06.394 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":76,"dma":5,"gpio":18,"hardwareLedCount":76,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
    2020-09-11T08:36:06.396 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:153:init() | Refresh interval = 1000ms
    2020-09-11T08:36:06.400 hyperiond LEDDEVICE : <DEBUG> LedDeviceWS281x.cpp:63:init() | ws281x strip type : 1050624
    2020-09-11T08:36:06.440 hyperiond EFFECTENGINE : <INFO> Previous line repeats 1 times
    2020-09-11T08:36:06.442 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: disabled
    2020-09-11T08:36:06.445 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | LED device: enabled

  • Great hearing that it is working now!


    Not quite... when I copy the configuration across to the default user the LED switching off issue comes back.


    Is there another installation method you would recommend? Could this just be an issue with hyperion.ng on the pi zero?


    EDIT/UPDATE: I re-imaged the SD card. Looks like there was an updated image released 14/09/2020 (just yesterday) and it is working fine now. LED remote stays on, LEDs all work too. Happy days.

  • 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

  • leddevice OFF.


    Mmap failed,

    It meant the PWM ledcontroller doesn't run, ws281x can not deploy.


    You have to run Hyperion as root and given the software authority to use PWM and overrule the audio service on the PI.



    Try in config.txt

    Code
    dtparam=audio=off 

    or systemctl code in terminal.

    Code you can find every where here on the forum because I am on mobile now its difficult to find

Jetzt mitmachen!

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