1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ISSUE Rights not obeying...

Discussion in 'Software Support' started by Hoe, 13 January 2021.

  1. Hoe

    Hoe New Member

    Messages:
    6
    Hardware:
    RPi2, +Arduino
    Hey guys,

    I have a Pi B running the latest version of Hyperion-NG and a set of WS2812B's which I am powering with a 500W CPU Power Supply (for now).

    I have the Pi Setup using GPIO18 and Common Ground with LEDs & PSU.

    I have only 5m of LED's but 300 on that line and they just don't obey, thing is I have done this before same hardware and got it working, I have copied the settings (from Hyperion webpage, otherwise fresh install) from the first hardware but still for some reason the lights just do random s$£%!

    The only difference between the setup working correctly and this one is the others running on a Pi 4.

    I have tried setting static colour red, green or blue to all LED's which works on other setup but on mine the first LED is right then every other one is just random colour IDK WTF is going on?!

    I have checked, double checked and triple checked the wiring, bullet connectors all around to ensure good connections but still no luck.

    Information
    Hyperion status: On
    Platform: Raspberry Pi
    Controller type: ws281x
    Instance: GPIO18
    Ports (flat|proto): 19400 | 19445
    Your Hyperion version: 2.0.0-alpha.9
    Watched version branch: Stable
    Latest Hyperion version: 2.0.0-alpha.9

    I have a common earth, it's only a short run and the software appears to be running correctly just the lights don't respond?!

    5V Correctly serving light, not dimming wired from both ends (except data wired from one).

    Any advise?!

    Thanks
     
  2. Hoe

    Hoe New Member

    Messages:
    6
    Hardware:
    RPi2, +Arduino
    Oh yes one really interesting point about this, I set Blue to be the Boot Up Colour and this works, briefly but that's the only time it ever acts correctly?!
     
  3. davieboy

    davieboy Member

    Messages:
    33
    Hardware:
    RPi1/Zero, RPi2, RPi3
    stupid question but do you have the correct Maximum LED count in LED Controller and sorted out the settings in the LED Layout tab
     
  4. Hoe

    Hoe New Member

    Messages:
    6
    Hardware:
    RPi2, +Arduino
    I do yes, 300 in both fields, as per working example.
     
  5. Hoe

    Hoe New Member

    Messages:
    6
    Hardware:
    RPi2, +Arduino
    Another interesting note is on this set I have to set Latch Time to 50 or they flash, but on the other set I could leave that at 0.

    Thanks
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,006
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    logs please
     
  7. Hoe

    Hoe New Member

    Messages:
    6
    Hardware:
    RPi2, +Arduino
    Code:
    2021-01-13T00:25:46.726Z [hyperiond DAEMON] (INFO) CEC handler created 2021-01-13T00:25:46.739Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-01-13T00:25:46.745Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-01-13T00:25:46.745Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /root/.hyperion/custom-effects 2021-01-13T00:25:46.831Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized 2021-01-13T00:25:46.838Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default 2021-01-13T00:25:46.838Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled 2021-01-13T00:25:46.868Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' 2021-01-13T00:25:46.868Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-01-13T00:25:46.870Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 1920x1080 2021-01-13T00:25:46.871Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 80, height: 45 for capture 2021-01-13T00:25:46.871Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created 2021-01-13T00:25:46.872Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-01-13T00:25:46.959Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal threshold set to: {12, 12, 12} 2021-01-13T00:25:46.959Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection is now disabled 2021-01-13T00:25:46.959Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2021-01-13T00:25:46.959Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created 2021-01-13T00:25:46.961Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance 2021-01-13T00:25:46.961Z [hyperiond JSONSERVER] (INFO) Started on port 19444 2021-01-13T00:25:46.872Z [hyperiond CEC] (INFO) Starting CEC handler 2021-01-13T00:25:46.883Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled 2021-01-13T00:25:46.883Z [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-01-13T00:25:46.884Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'. 2021-01-13T00:25:46.884Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"grb","currentLedCount":300,"dma":5,"gpio":18,"hardwareLedCount":300,"invert":false,"latchTime":50,"leds":300,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}] 2021-01-13T00:25:46.885Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 50ms 2021-01-13T00:25:46.885Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 1000ms 2021-01-13T00:25:46.885Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 1000ms 2021-01-13T00:25:46.886Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624 2021-01-13T00:25:46.887Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times 2021-01-13T00:25:46.888Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401 2021-01-13T00:25:46.890Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/COLOR' with priority 0 as inactive 2021-01-13T00:25:46.890Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:207:setInput()) Priority 0 is now active 2021-01-13T00:25:46.890Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-01-13T00:25:46.891Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255] 2021-01-13T00:25:46.891Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-01-13T00:25:46.893Z [hyperiond HYPERION] (INFO) Initial foreground color set (0 0 255) 2021-01-13T00:25:46.894Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/COLOR' with priority 254 as inactive 2021-01-13T00:25:46.894Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:207:setInput()) Priority 254 is now active 2021-01-13T00:25:46.894Z [hyperiond HYPERION] (INFO) Initial background color set (255 0 0) 2021-01-13T00:25:46.895Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive 2021-01-13T00:25:46.896Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled 2021-01-13T00:25:46.989Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0 2021-01-13T00:25:46.989Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1 2021-01-13T00:25:46.990Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=1920 height=1080 2021-01-13T00:25:46.992Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 5 fps 2021-01-13T00:25:46.993Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV 2021-01-13T00:25:47.022Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started 2021-01-13T00:25:47.023Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start() 2021-01-13T00:25:46.897Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created 2021-01-13T00:25:47.024Z [hyperiond HYPERION] (INFO) Hyperion instance 'GPIO18' has been started 2021-01-13T00:25:46.898Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled 2021-01-13T00:25:46.975Z [hyperiond PROTOSERVER] (INFO) Started on port 19445 2021-01-13T00:25:46.976Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-01-13T00:25:46.978Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 2021-01-13T00:25:46.978Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-01-13T00:25:47.032Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-01-13T00:25:47.032Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-01-13T00:25:47.032Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-01-13T00:25:47.032Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-01-13T00:25:47.033Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' 2021-01-13T00:25:47.040Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate 2021-01-13T00:25:47.041Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key 2021-01-13T00:25:47.042Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' 2021-01-13T00:25:47.169Z [hyperiond CEC] (INFO) Auto detecting CEC adapter 2021-01-13T00:25:47.169Z [hyperiond CEC] (INFO) CEC Adapter: 2021-01-13T00:25:47.170Z [hyperiond CEC] (INFO) Name : RPI 2021-01-13T00:25:47.170Z [hyperiond CEC] (INFO) Path : Raspberry Pi 2021-01-13T00:25:47.647Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active 2021-01-13T00:25:48.409Z [hyperiond CEC] (INFO) CEC Handler initialized with adapter : RPI 2021-01-13T00:25:48.569Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:10.0.0.10 2021-01-13T00:25:48.571Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:10.0.0.10' switch to Hyperion instance 0  2021-01-13T00:25:49.326Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:10.0.0.10 2021-01-13T00:25:49.326Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:10.0.0.10' switch to Hyperion instance 0 2021-01-13T00:25:50.139Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 0 2021-01-13T00:25:50.139Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-01-13T00:25:50.140Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0] 2021-01-13T00:25:50.388Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-01-13T00:25:50.391Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[0] 2021-01-13T00:26:10.360Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:76:setSourceAutoSelectEnabled()) Source auto select is now disabled 2021-01-13T00:26:10.360Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254 2021-01-13T00:26:10.361Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[240] 2021-01-13T00:26:15.389Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-01-13T00:26:15.390Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[254] 2021-01-13T00:26:37.719Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:10.0.0.10 2021-01-13T00:26:37.744Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:10.0.0.10 2021-01-13T00:27:53.138Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254 2021-01-13T00:27:53.139Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[240] 2021-01-13T00:31:56.471Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:10.0.0.10 2021-01-13T00:31:56.498Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:10.0.0.10 2021-01-13T00:32:52.638Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-01-13T00:32:52.639Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[254] 2021-01-13T00:36:49.278Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000 2021-01-13T03:49:34.348Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: disabled 2021-01-13T03:49:44.139Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254 2021-01-13T03:49:44.139Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[240] 2021-01-13T03:49:51.217Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled 2021-01-13T03:50:02.638Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-01-13T03:50:02.639Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[254] 2021-01-13T03:50:16.889Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254 2021-01-13T03:50:16.889Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[240] 2021-01-13T10:41:37.983Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) Previous line repeats 1 times 2021-01-13T10:41:37.984Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:10.0.0.10 2021-01-13T10:41:37.985Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:10.0.0.10' switch to Hyperion instance 0 2021-01-13T15:32:58.170Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:10.0.0.10 2021-01-13T15:32:58.171Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:10.0.0.10' switch to Hyperion instance 0 2021-01-13T15:33:10.145Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:10.0.0.10 2021-01-13T15:33:10.149Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:10.0.0.10' switch to Hyperion instance 0 2021-01-13T16:01:18.380Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:10.0.0.10

    I took delivery of another Pi4 today, tried it on Raspbian and no issues so IDK that's fine this Pi2 can stick to just doing PiHole.

    Installing Plasma Big Screen on Pi4 now with Hyperion, RetroPie, Kodi etc. be interested to see how the Pi compares with my Vero 4k box!

    Ok so the only issue I have now is when the Pi reboots the lights stop working correctly, just the first few flash random colours.

    I have found that changing the LED's to another type I.E. not WS281x clicking save, then saving them back as WS281x and adjusting maximum LED's back to 300 fixes it any ideas?!
     
    Last edited by a moderator: 14 January 2021
  8. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,006
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    @Lord-Grey is this a known issue or related to the ws281x root rights problem?