Issue with getting LEDs to light correctly from ESP32 with HyperSPI / need a check of my setup / how to debug it optimally? #45
Replies: 4 comments
-
Hi
Usually LED strip ground is marked as ground, the power supply is labeled as '-' because and the power supply ground is reserved for 'the earth'. So you connected it to the '-'? Did the WLED work without flickering? Because it would also need a common ground. Has anything changed in terms of WLED/esp32 power supply and its connection? I don't understand why connecting additional pins (from SPI) to the same ESP32 would change anything in this matter (causing flickering). Unless something has really changed in the entire system and ex. ground loops were created by new connections but I won't be able to help here as my knowledge in this subject is too little. The screenshots show that espflasher is working and HyperSPI is generating logs. As I understand it, it is no longer valid and the device cannot be flashed or detected? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So ESP32 still works, that's a very good sign. There is no certainty about the state of the ESP32's GPIO outputs (cannot be checked without an oscilloscope), but the ESP32 usually dies with them. At this point I suggest you go back to WLED, which is an excellent and simple testing tool. It must work. Without this, there is probably no point in moving to HyperSPI. Unfortunately, I see that you soldered the cables for RPI and ESP32, so you can't disconnect the ground & SPI from them. For me, the main suspect is ground, maybe there is some loop that degenerates the reception of signals through the LED strip. I don't see it clearly in the photo, but is the LED strip ground connected only to the power supply and ESP32 or are there any branches? Another possibility is damage to the LED strip, e.g. if the cables are shorted where they are soldered to the LED strip. This may happen even for a moment eg when moving the LED, because the strip is flexible and may bend and short-circuit the tin solders at this point. Usually this is not dangerous for diodes powered by +5v because the data bus also works at +5v, but here we are dealing with +12v and +5 respectively. But it at the moment this is an unlikely worst-case scenario: the ESP most likely should also be catastrophically damaged (+12v on +3v GPIO via connected data line). |
Beta Was this translation helpful? Give feedback.
-
Or is it just a coincidence and it's simply time to use the level shifter? |
Beta Was this translation helpful? Give feedback.
-
Very great project. I want to get rid of the slow response from a WLED controller and get a fast one with HyperSPI. However, I have problems to get it to work. First, LEDs are blinking, and for this reason I put the ground of the power supply together with LED Stripe and ESP32 and Rasp Pi. But I am not sure exactly when it happened, but the LED turned completly off and the EPS32 is not more responding if I connect it to my PC via USB for e.g. falshing the image again or looking for some output. For this reason, before I flash a new one and burn them too: is the cabeling and set up in general correct?
As the ESP32 seem to work, I tried to debug it from my Raspi Pi as follows by using screen:
It said it did not found it. Is this way of debugging right?
I use also no level shifter with ESP 32 WLED because the data line is short and then it should be no issue.
So here is my set up with some pictures and log:
I connected my raspberry pi zero w2 with a esp32 on which I flashed HyperSPI to control WS2815 LED Stripe.
My GPIO Set up:
ESP32 Clock SCK GPIO 18 --> PI GPIO 11
ESP32 Data Mosi GPIO 23 --> PI GPIO 10
ESP32 SPI 0 Enable GPIO 5--> PI GPIO 8
ESP32 Ground--> PI Ground (and also all other grounds: 12V Power Supply, LED Stripe)
ESP 32 LED Data GPIO 2 --> LED Data Line
ESP 32 Board Pin Out of used board:
Raspi Pi zero w2 Pin Out
First a general overview how I set it up for test purposes:
I am using WS2815 LED Stripe and it does not turn on now (previously I got crazy colours blinking, via WLED esp32 controller, they work fine):
My Cabeling in general / overview:
ESP 32 with Hyper SPI Flashlogs:
ESP 32 cabeling:
Raspberry Pi zero w2 on which hyperhdr is executed:
Screenshot HyperHDR Dashboard:
HyperHDR Log:
2024-05-10T09:44:10.928Z [CORE] TTY is not attached to the log output 2024-05-10T09:44:11.044Z [MAIN] Database path: '/home/pi/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled 2024-05-10T09:44:11.051Z [MAIN] Starting HyperHdr - 20.0.0.0, (HEAD detached at v20.0.0.0) (awawa-dev-9e960c9/52f12b4-1711236142), built: Mar 23 2024:23:52:04 2024-05-10T09:44:11.051Z [MAIN] Set user data path to '/home/pi/.hyperhdr' 2024-05-10T09:44:11.058Z [INSTANCE_CFG] Loading instance configuration 2024-05-10T09:44:11.228Z [DB] Database opened: /home/pi/.hyperhdr/db/hyperhdr.db 2024-05-10T09:44:11.322Z [INSTANCE_CFG] Settings database initialized 2024-05-10T09:44:11.383Z [SOUND_GRABBER] Sound device is disabled 2024-05-10T09:44:11.615Z [JSONSERVER] (JsonServer.cpp:26) Created new instance 2024-05-10T09:44:11.634Z [JSONSERVER] Started on port 19444 2024-05-10T09:44:11.636Z [SSDP] (SSDPHandler.cpp:31) SSDPHandler is initialized 2024-05-10T09:44:11.489Z [V4L2:USB Camera: US] (GrabberWrapper.cpp:55) Starting the grabber wrapper 2024-05-10T09:44:11.489Z [V4L2:USB CAMERA: US] Found capture device: /dev/video15 2024-05-10T09:44:11.490Z [V4L2:USB CAMERA: US] Found capture device: /dev/video21 2024-05-10T09:44:11.491Z [V4L2:USB CAMERA: US] Found capture device: /dev/video14 2024-05-10T09:44:11.492Z [V4L2:USB CAMERA: US] Found capture device: /dev/video22 2024-05-10T09:44:11.501Z [X11_SYSTEM:AUTO] Loaded X11 proxy library for screen capturing 2024-05-10T09:44:11.502Z [HYPERHDR0] Starting the instance 2024-05-10T09:44:11.502Z [INSTANCE_CFG0] Loading instance configuration 2024-05-10T09:44:11.503Z [DB] Database opened: /home/pi/.hyperhdr/db/hyperhdr.db 2024-05-10T09:44:11.510Z [DAEMON] The system doesn't support the X11 system grabber 2024-05-10T09:44:11.511Z [DAEMON] The system doesn't support the framebuffer system grabber 2024-05-10T09:44:11.511Z [X11_SYSTEM:auto] (SystemWrapper.cpp:71) Closing grabber: X11_SYSTEM:auto 2024-05-10T09:44:11.511Z [FRAMEBUF_SYSTEM:auto] (SystemWrapper.cpp:71) Closing grabber: FRAMEBUF_SYSTEM:auto 2024-05-10T09:44:11.624Z [INSTANCE_CFG0] Settings database initialized 2024-05-10T09:44:11.625Z [COMPONENTCTRL0] (ComponentController.cpp:31) ComponentController is initialized. Components are ENABLED 2024-05-10T09:44:11.630Z [MUXER0] (Muxer.cpp:55) Muxer initialized 2024-05-10T09:44:11.631Z [BLACKBORDER] Set mode to: default 2024-05-10T09:44:11.632Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:192) Set LED mapping type to advanced 2024-05-10T09:44:11.632Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:176) setSparseProcessing to 0 2024-05-10T09:44:11.632Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:103) ImageToLedManager initialized 2024-05-10T09:44:11.633Z [COLORSPACE_CALIBRATION0] classicMode: no, gammas:[1.50, 1.50, 1.50], saturation: 1.00, luminance: 1.00, backLight: [enabled, threshold: 1, colored: yes] 2024-05-10T09:44:11.633Z [LED_CALIBRATION0] (LedCalibration.cpp:101) Calibration config '0' for LED segment: [0, 108] 2024-05-10T09:44:11.637Z [HYPERHDR0] Led strip RGB order is: grb 2024-05-10T09:44:11.639Z [SMOOTHING0] High resolution clock is NOT STEADY! 2024-05-10T09:44:11.639Z [SMOOTHING0] Clearing queued colors before: enabling 2024-05-10T09:44:11.639Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:11.639Z [COMPONENTCTRL0] Smoothing: enabled 2024-05-10T09:44:11.639Z [SMOOTHING0] Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250 2024-05-10T09:44:11.639Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer. 2024-05-10T09:44:11.639Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:11.639Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250 2024-05-10T09:44:11.639Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250 2024-05-10T09:44:11.641Z [LEDDEVICE0_AWA_SPI] Start LedDevice 'awa_spi'. 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:337) deviceConfig: [{"colorOrder":"grb","currentLedCount":109,"invert":false,"output":"/dev/spidev0.0","rate":25000000,"refreshTime":20,"smoothingRefreshTime":20,"spitype":"standard","type":"awa_spi","white_channel_calibration":false}] 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:423) Refresh rate = 50.00 Hz 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:373) Device is not ready to start a timer 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:433) Refresh interval updated to 20ms 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (ProviderSpi.cpp:52) Speed: 25000000, Type: standard 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (ProviderSpi.cpp:53) Inverted: no, Mode: 0 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] The refresh timer is enabled ('Refresh time' > 0) and may limit the performance of the LED driver. Ignore this error if you set it on purpose for some reason (but you almost never need it). 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDeviceAWA_spi.cpp:52) SPI driver with data integration check AWA protocol 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDeviceAWA_spi.cpp:60) SPI header for 109 leds: Awa 0x00 0x6c 0x39 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:247) Enable the device 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:64) Switch on 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:140) Power On 2024-05-10T09:44:11.642Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-05-10T09:44:11.644Z [HYPER_MANAGER] HyperHDR instance 'First LED instance' has been started 2024-05-10T09:44:11.644Z [HYPERHDR0] The instance is running 2024-05-10T09:44:11.644Z [MUXER0] Register new input 'System/VIDEOGRABBER' with priority 240 as inactive 2024-05-10T09:44:11.644Z [COMPONENTCTRL0] Video capture device: enabled 2024-05-10T09:44:11.644Z [COMPONENTCTRL0] LED device: enabled 2024-05-10T09:44:11.644Z [SMOOTHING0] Using alternative smoothing input (0) 2024-05-10T09:44:11.645Z [EFFECTENGINE0] Run effect "Rainbow swirl fast" on channel 0 2024-05-10T09:44:11.683Z [SMOOTHING0] Using alternative smoothing procedure (0) 2024-05-10T09:44:11.732Z [EFFECTENGINE0] (EffectEngine.cpp:92) Start the effect: name [Rainbow swirl fast] 2024-05-10T09:44:11.732Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive 2024-05-10T09:44:11.733Z [HYPERHDR0] Boot effect: animation set to 'Rainbow swirl fast' [started] 2024-05-10T09:44:11.745Z [V4L2:USB CAMERA: US] Found capture device: /dev/video0 2024-05-10T09:44:11.750Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:406) Device has 'brightness' control => min: -64, max: 64, default: -8193 2024-05-10T09:44:11.753Z [EFFECT0(Rainbo...)] Begin playing the effect with priority: 0 2024-05-10T09:44:11.758Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:412) Device has 'contrast' control => min: 0, max: 100, default: 57343 2024-05-10T09:44:11.762Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:418) Device has 'saturation' control => min: 0, max: 100, default: 57343 2024-05-10T09:44:11.770Z [MUXER0] Priority 0 is now active 2024-05-10T09:44:11.770Z [MUXER0] Set visible priority to 0 2024-05-10T09:44:11.770Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer. 2024-05-10T09:44:11.770Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:11.770Z [SMOOTHING0] Selecting config (2) => type: Linear, directMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0 2024-05-10T09:44:11.770Z [SMOOTHING0] Using linear smoothing input (2) 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:381) Stopping refresh timer 2024-05-10T09:44:11.770Z [HYPERHDR0] New priority[0], previous [255] 2024-05-10T09:44:11.770Z [HYPERHDR0] New source available -> switch LED-Device on 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 25.00 Hz 2024-05-10T09:44:11.770Z [SMOOTHING0] Clearing queued colors before: enabling 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:423) Refresh rate = 25.00 Hz 2024-05-10T09:44:11.770Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:367) Starting timer with interval = 40ms 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:433) Refresh interval updated to 40ms 2024-05-10T09:44:11.770Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 40ms (proposed: 40ms) 2024-05-10T09:44:11.770Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:247) Enable the device 2024-05-10T09:44:11.771Z [IMAGETOLED_MNG0] Total index number is: 680 (memory: 680). User sparse processing is: disabled, image size: 80 x 45, area number: 109 2024-05-10T09:44:11.771Z [SMOOTHING0] Using linear smoothing input (2) 2024-05-10T09:44:11.771Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:424) Device has 'hue' control => min: -180, max: 180, default: -8193 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 1920 x 1080 @ 5 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 640 x 480 @ 30 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 160 x 120 @ 30 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 176 x 144 @ 30 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 320 x 240 @ 30 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 352 x 288 @ 30 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 800 x 600 @ 15 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 1280 x 720 @ 12 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 1600 x 1200 @ 5 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 2048 x 1536 @ 2 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 2592 x 1944 @ 2 fps yuyv input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 640 x 480 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 160 x 120 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 176 x 144 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 320 x 240 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 352 x 288 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 800 x 600 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 1280 x 720 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 1600 x 1200 @ 15 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 1920 x 1080 @ 30 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 2048 x 1536 @ 15 fps mjpeg input 0 2024-05-10T09:44:11.773Z [V4L2:USB CAMERA: US] USB Camera: USB Camera (video0) [/dev/video0] 2592 x 1944 @ 15 fps mjpeg input 0 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] Restarting video grabber is now blocked due to reloading of the configuration 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-05-10T09:44:11.774Z [V4L2:USB Camera: US] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-05-10T09:44:11.774Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-05-10T09:44:11.774Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-05-10T09:44:11.774Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'USB Camera: USB Camera (video0)' 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] Delayed restart of the grabber due to change of selected device 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] setQFrameDecimation is now: disabled 2024-05-10T09:44:11.774Z [V4L2:USB CAMERA: US] Multithreading for V4L2 is enabled. Available thread's count 3 2024-05-10T09:44:11.775Z [V4L2:USB CAMERA: US] Found capture device: /dev/video15 2024-05-10T09:44:11.777Z [FLATBUFSERVER] Started on port 19400 2024-05-10T09:44:11.778Z [FLATBUFSERVER] Started local domain socket server: 'hyperhdr-domain' 2024-05-10T09:44:11.779Z [WEBSERVER] Initialize Webserver 2024-05-10T09:44:11.779Z [V4L2:USB CAMERA: US] Found capture device: /dev/video21 2024-05-10T09:44:11.781Z [V4L2:USB CAMERA: US] Found capture device: /dev/video14 2024-05-10T09:44:11.782Z [V4L2:USB CAMERA: US] Found capture device: /dev/video22 2024-05-10T09:44:11.782Z [NETFORWARDER] Forwarder has changed state to disabled 2024-05-10T09:44:11.783Z [V4L2:USB CAMERA: US] Found capture device: /dev/video0 2024-05-10T09:44:11.783Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:406) Device has 'brightness' control => min: -64, max: 64, default: -8193 2024-05-10T09:44:11.783Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:412) Device has 'contrast' control => min: 0, max: 100, default: 57343 2024-05-10T09:44:11.783Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:418) Device has 'saturation' control => min: 0, max: 100, default: 57343 2024-05-10T09:44:11.783Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:424) Device has 'hue' control => min: -180, max: 180, default: -8193 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:213) Searching for USB Camera: USB Camera (video0) 0 x 0 @ 0 fps, input: -1 (NO_CHANGE) 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] Selected resolution not found in supported modes. Forcing best guess 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] ************************************************************************************************* 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] Starting V4L2 grabber. Selected: USB Camera: USB Camera (video0) [/dev/video0] 640 x 480 @ 30 fps yuyv input -1 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] ************************************************************************************************* 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:826) Hardware cropping is not supported: ignoring 2024-05-10T09:44:11.784Z [V4L2:USB CAMERA: US] Set device input to: Camera 1 2024-05-10T09:44:11.794Z [V4L2:USB CAMERA: US] Set resolution to: 640 x 480 2024-05-10T09:44:11.801Z [V4L2:USB CAMERA: US] Set framerate to 30 FPS 2024-05-10T09:44:11.804Z [V4L2:USB CAMERA: US] Brightness set to: -8193 (default) 2024-05-10T09:44:11.806Z [V4L2:USB CAMERA: US] Contrast set to: 57343 (default) 2024-05-10T09:44:11.807Z [V4L2:USB CAMERA: US] Saturation set to: 57343 (default) 2024-05-10T09:44:11.810Z [V4L2:USB CAMERA: US] Hue set to: -8193 (default) 2024-05-10T09:44:11.810Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-05-10T09:44:11.811Z [V4L2:USB CAMERA: US] LUT file is not found here: /home/pi/.hyperhdr/lut_lin_tables.3d 2024-05-10T09:44:11.828Z [V4L2:USB CAMERA: US] (Grabber.cpp:458) LUT file found: /usr/share/hyperhdr/lut/lut_lin_tables.3d 2024-05-10T09:44:11.828Z [V4L2:USB CAMERA: US] (Grabber.cpp:473) Index 2 for YUV 2024-05-10T09:44:11.852Z [SMOOTHING0] Using linear smoothing procedure (2) 2024-05-10T09:44:12.789Z [WEBSERVER] Apply Webserver settings 2024-05-10T09:44:12.790Z [WEBSERVER] Set document root to: :/www 2024-05-10T09:44:12.790Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTP)' on port: 8090 2024-05-10T09:44:12.790Z [SSDP] (SSDPHandler.cpp:93) The local address is empty 2024-05-10T09:44:12.790Z [WEBSERVER] Initialize Webserver 2024-05-10T09:44:12.790Z [WEBSERVER] Apply Webserver settings 2024-05-10T09:44:12.790Z [WEBSERVER] Set document root to: :/www 2024-05-10T09:44:14.035Z [WEBSERVER] Setup SSL certificate 2024-05-10T09:44:14.036Z [WEBSERVER] Setup private SSL key 2024-05-10T09:44:14.036Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTPS)' on port: 8092 2024-05-10T09:44:14.036Z [SSDP] (SSDPHandler.cpp:42) SSDPHandler is initializing 2024-05-10T09:44:14.037Z [SSDP] (SSDPHandler.cpp:183) The local address is: 192.168.0.58 2024-05-10T09:44:14.037Z [SSDP] (SSDPServer.cpp:95) Initialize the SSDP server 2024-05-10T09:44:14.194Z [WEBSERVER] (StaticFileServing.cpp:68) SSDP description is set up 2024-05-10T09:44:14.194Z [SSDP] Starting the SSDP server 2024-05-10T09:44:14.309Z [SERVICE_mDNS] Starting the network discovery thread 2024-05-10T09:44:14.491Z [NET_DISCOVERY] Found Hue bridge at 192.168.0.132:443 (ecb5fa9477a6.local) 2024-05-10T09:44:14.519Z [V4L2:USB CAMERA: US] Found and loaded LUT: '/usr/share/hyperhdr/lut/lut_lin_tables.3d' 2024-05-10T09:44:14.520Z [V4L2:USB CAMERA: US] Video pixel format is set to: YUYV 2024-05-10T09:44:14.753Z [EFFECT0(Rainbo...)] The effect quits with priority: 0 2024-05-10T09:44:14.753Z [MUXER0] Removed source priority 0 2024-05-10T09:44:14.753Z [MUXER0] Set visible priority to 255 2024-05-10T09:44:14.753Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer. 2024-05-10T09:44:14.753Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:14.753Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250 2024-05-10T09:44:14.753Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:381) Stopping refresh timer 2024-05-10T09:44:14.753Z [SMOOTHING0] Using alternative smoothing input (0) 2024-05-10T09:44:14.753Z [HYPERHDR0] New priority[255], previous [0] 2024-05-10T09:44:14.753Z [LEDDEVICE0_AWA_SPI] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz 2024-05-10T09:44:14.753Z [HYPERHDR0] No source left -> switch LED-Device off 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:423) Refresh rate = 50.00 Hz 2024-05-10T09:44:14.754Z [SMOOTHING0] Clearing queued colors before: disabling 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-05-10T09:44:14.754Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:433) Refresh interval updated to 20ms 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms) 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:297) Disable the device 2024-05-10T09:44:14.754Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:381) Stopping refresh timer 2024-05-10T09:44:14.754Z [EFFECTENGINE0] Effect 'Rainbow swirl fast' has finished. 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:90) Switch off 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:126) Power Off 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:544) Set LED strip to black/power off 2024-05-10T09:44:14.754Z [EFFECT0(Rainbo...)] Effect named: 'Rainbow swirl fast' is deleted 2024-05-10T09:44:14.754Z [LEDDEVICE0_AWA_SPI] (ProviderSpi.cpp:135) Closing SPI interface 2024-05-10T09:44:14.755Z [COMPONENTCTRL0] LED device: disabled 2024-05-10T09:44:15.541Z [V4L2:USB CAMERA: US] Started 2024-05-10T09:44:15.607Z [V4L2:USB CAMERA: US] (V4L2Grabber.cpp:1164) Worker's thread count = 3 2024-05-10T09:44:15.622Z [MUXER0] Priority 240 is now active 2024-05-10T09:44:15.622Z [MUXER0] Set visible priority to 240 2024-05-10T09:44:15.622Z [HYPERHDR0] New priority[240], previous [255] 2024-05-10T09:44:15.622Z [HYPERHDR0] New source available -> switch LED-Device on 2024-05-10T09:44:15.622Z [SMOOTHING0] Clearing queued colors before: enabling 2024-05-10T09:44:15.622Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:15.622Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:247) Enable the device 2024-05-10T09:44:15.622Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1 2024-05-10T09:44:15.622Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:64) Switch on 2024-05-10T09:44:15.622Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:140) Power On 2024-05-10T09:44:15.622Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-05-10T09:44:15.624Z [IMAGETOLED_MNG0] Total index number is: 55040 (memory: 55040). User sparse processing is: disabled, image size: 640 x 480, area number: 109 2024-05-10T09:44:15.626Z [COMPONENTCTRL0] LED device: enabled 2024-05-10T09:44:15.627Z [SMOOTHING0] Using alternative smoothing input (0) 2024-05-10T09:44:15.663Z [SMOOTHING0] Using alternative smoothing procedure (0) 2024-05-10T09:44:17.487Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.0.254 2024-05-10T09:44:18.238Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.0.254 2024-05-10T09:44:37.133Z [MUXER0] Priority 240 is now inactive 2024-05-10T09:44:37.162Z [MUXER0] Set visible priority to 255 2024-05-10T09:44:37.177Z [HYPERHDR0] New priority[255], previous [240] 2024-05-10T09:44:37.177Z [HYPERHDR0] No source left -> switch LED-Device off 2024-05-10T09:44:37.218Z [SMOOTHING0] Clearing queued colors before: disabling 2024-05-10T09:44:37.275Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:37.403Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:297) Disable the device 2024-05-10T09:44:37.403Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:381) Stopping refresh timer 2024-05-10T09:44:37.407Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:90) Switch off 2024-05-10T09:44:37.407Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:126) Power Off 2024-05-10T09:44:37.407Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:544) Set LED strip to black/power off 2024-05-10T09:44:37.407Z [LEDDEVICE0_AWA_SPI] (ProviderSpi.cpp:135) Closing SPI interface 2024-05-10T09:44:37.415Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-05-10T09:44:37.433Z [MUXER0] Priority 240 is now active 2024-05-10T09:44:37.434Z [MUXER0] Set visible priority to 240 2024-05-10T09:44:37.434Z [SMOOTHING0] Using alternative smoothing input (0) 2024-05-10T09:44:37.434Z [HYPERHDR0] New priority[240], previous [255] 2024-05-10T09:44:37.446Z [HYPERHDR0] New source available -> switch LED-Device on 2024-05-10T09:44:37.446Z [SMOOTHING0] Clearing queued colors before: enabling 2024-05-10T09:44:37.484Z [SMOOTHING0] Smoothing queue is cleared 2024-05-10T09:44:37.485Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1 2024-05-10T09:44:37.485Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:247) Enable the device 2024-05-10T09:44:37.486Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:64) Switch on 2024-05-10T09:44:37.486Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:140) Power On 2024-05-10T09:44:37.486Z [LEDDEVICE0_AWA_SPI] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-05-10T09:44:52.601Z [SMOOTHING0] Using alternative smoothing input (0) 2024-05-10T09:44:52.609Z [COMPONENTCTRL0] LED device: disabled 2024-05-10T09:44:52.609Z [COMPONENTCTRL0] LED device: enabled 2024-05-10T09:44:52.639Z [SMOOTHING0] Using alternative smoothing procedure (0) 2024-05-10T09:44:53.109Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::ffff:192.168.0.254 2024-05-10T09:45:33.073Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::ffff:192.168.0.254 2024-05-10T09:45:37.848Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.0.254 2024-05-10T09:45:54.215Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::ffff:192.168.0.254 2024-05-10T09:46:25.624Z [V4L2:USB CAMERA: US] Video cache: size: 4, hits: 3314, needed: 1, cleanup: 0, limit: 8 2024-05-10T09:46:25.639Z [PERFORMANCE] [USB: FPS = 30.01, decoding = 12ms, frames = 1801, invalid = 0, mode = direct], [INSTANCE0: FPS = 30.01, processed = 1801], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-05-10T09:46:53.941Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.0.254 2024-05-10T09:47:25.619Z [V4L2:USB CAMERA: US] Video cache: size: 4, hits: 1801, needed: 0, cleanup: 0, limit: 8 2024-05-10T09:47:25.633Z [PERFORMANCE] [USB: FPS = 30.02, decoding = 13ms, frames = 1801, invalid = 0, mode = direct], [INSTANCE0: FPS = 30.04, processed = 1802], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0]
Thanks for your comments in advance. Hope to get it to work :-)
Beta Was this translation helpful? Give feedback.
All reactions