quick question: you now that the baudrate must be the same in the arduino sketch and flashed onto the arduino has to be the same with the one in web-ui, right?
Rpi3 + Arduino + libreELEC >> vendor preset: disabled
- luckyjacks
- Erledigt
-
-
ok i had to play along at home due to lack of info and shear curiosity got the better of me, plus i had the parts and never got round to testing it before.
Same thing happened for me, would not work and LED device kept turning its self off, checked the logs and noticed it was trying to access the wrong usb device.
quick google and got a nice script someone came up with to list all devices like /dev/ttyUSB0 then it lit up straight away on default sketch with no delay.
That is my device listCode
Alles anzeigenLibreELEC:/ # ls -l /dev/ total 4 crw-r--r-- 1 root root 10, 235 Apr 11 2019 autofs drwxr-xr-x 2 root root 820 Apr 11 2019 block crw------- 1 root root 10, 234 Apr 11 2019 btrfs-control drwxr-xr-x 3 root root 60 Jan 1 1970 bus drwxr-xr-x 2 root root 3020 Feb 18 00:09 char crw------- 1 root root 5, 1 Apr 11 2019 console crw------- 1 root root 10, 63 Apr 11 2019 cpu_dma_latency drwxr-xr-x 7 root root 140 Apr 11 2019 disk crw-rw---- 1 root video 29, 0 Apr 11 2019 fb0 lrwxrwxrwx 1 root root 13 Apr 11 2019 fd -> /proc/self/fd -rw-r--r-- 1 root root 157 Jan 1 1970 fsck.log crw-rw-rw- 1 root root 1, 7 Apr 11 2019 full crw-rw-rw- 1 root root 10, 229 Apr 11 2019 fuse crw------- 1 root root 254, 0 Apr 11 2019 gpiochip0 crw------- 1 root root 254, 1 Apr 11 2019 gpiochip1 crw------- 1 root root 244, 0 Apr 11 2019 gpiomem crw------- 1 root root 247, 0 Apr 11 2019 hidraw0 crw------- 1 root root 247, 1 Apr 11 2019 hidraw1 crw------- 1 root root 247, 2 Apr 11 2019 hidraw2 crw------- 1 root root 247, 3 Apr 11 2019 hidraw3 crw------- 1 root root 247, 4 Apr 11 2019 hidraw4 crw------- 1 root root 10, 183 Apr 11 2019 hwrng lrwxrwxrwx 1 root root 12 Apr 11 2019 initctl -> /run/initctl drwxr-xr-x 4 root root 240 Apr 11 2019 input crw-r--r-- 1 root root 1, 11 Apr 11 2019 kmsg lrwxrwxrwx 1 root root 28 Apr 11 2019 log -> /run/systemd/jou rnal/dev-log crw-rw---- 1 root disk 10, 237 Apr 11 2019 loop-control brw-rw---- 1 root disk 7, 0 Apr 11 2019 loop0 crw-rw---- 1 root video 243, 0 Apr 11 2019 media0 crw-r----- 1 root kmem 1, 1 Apr 11 2019 mem crw------- 1 root root 10, 60 Apr 11 2019 memory_bandwidth brw-rw---- 1 root disk 179, 0 Apr 11 2019 mmcblk0 brw-rw---- 1 root disk 179, 1 Apr 11 2019 mmcblk0p1 brw-rw---- 1 root disk 179, 2 Apr 11 2019 mmcblk0p2 brw-rw---- 1 root disk 179, 5 Apr 11 2019 mmcblk0p5 brw-rw---- 1 root disk 179, 6 Apr 11 2019 mmcblk0p6 brw-rw---- 1 root disk 179, 7 Apr 11 2019 mmcblk0p7 drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue brw-rw---- 1 root disk 43, 0 Apr 11 2019 nbd0 brw-rw---- 1 root disk 43, 32 Apr 11 2019 nbd1 brw-rw---- 1 root disk 43, 320 Apr 11 2019 nbd10 brw-rw---- 1 root disk 43, 352 Apr 11 2019 nbd11 brw-rw---- 1 root disk 43, 384 Apr 11 2019 nbd12 brw-rw---- 1 root disk 43, 416 Apr 11 2019 nbd13 brw-rw---- 1 root disk 43, 448 Apr 11 2019 nbd14 brw-rw---- 1 root disk 43, 480 Apr 11 2019 nbd15 brw-rw---- 1 root disk 43, 64 Apr 11 2019 nbd2 brw-rw---- 1 root disk 43, 96 Apr 11 2019 nbd3 brw-rw---- 1 root disk 43, 128 Apr 11 2019 nbd4 brw-rw---- 1 root disk 43, 160 Apr 11 2019 nbd5 brw-rw---- 1 root disk 43, 192 Apr 11 2019 nbd6 brw-rw---- 1 root disk 43, 224 Apr 11 2019 nbd7 brw-rw---- 1 root disk 43, 256 Apr 11 2019 nbd8 brw-rw---- 1 root disk 43, 288 Apr 11 2019 nbd9 drwxr-xr-x 2 root root 60 Jan 1 1970 net crw------- 1 root root 10, 62 Apr 11 2019 network_latency crw------- 1 root root 10, 61 Apr 11 2019 network_throughput crw-rw-rw- 1 root root 1, 3 Apr 11 2019 null crw------- 1 root root 108, 0 Apr 11 2019 ppp crw-rw-rw- 1 root tty 5, 2 Feb 18 00:20 ptmx drwxr-xr-x 2 root root 0 Apr 11 2019 pts brw-rw---- 1 root disk 1, 0 Apr 11 2019 ram0 brw-rw---- 1 root disk 1, 1 Apr 11 2019 ram1 brw-rw---- 1 root disk 1, 10 Apr 11 2019 ram10 brw-rw---- 1 root disk 1, 11 Apr 11 2019 ram11 brw-rw---- 1 root disk 1, 12 Apr 11 2019 ram12 brw-rw---- 1 root disk 1, 13 Apr 11 2019 ram13 brw-rw---- 1 root disk 1, 14 Apr 11 2019 ram14 brw-rw---- 1 root disk 1, 15 Apr 11 2019 ram15 brw-rw---- 1 root disk 1, 2 Apr 11 2019 ram2 brw-rw---- 1 root disk 1, 3 Apr 11 2019 ram3 brw-rw---- 1 root disk 1, 4 Apr 11 2019 ram4 brw-rw---- 1 root disk 1, 5 Apr 11 2019 ram5 brw-rw---- 1 root disk 1, 6 Apr 11 2019 ram6 brw-rw---- 1 root disk 1, 7 Apr 11 2019 ram7 brw-rw---- 1 root disk 1, 8 Apr 11 2019 ram8 brw-rw---- 1 root disk 1, 9 Apr 11 2019 ram9 crw-rw-rw- 1 root root 1, 8 Apr 11 2019 random crw-rw-r-- 1 root root 10, 242 Apr 11 2019 rfkill drwxr-xr-x 4 root root 80 Feb 18 00:09 serial lrwxrwxrwx 1 root root 7 Apr 11 2019 serial1 -> ttyAMA0 drwxrwxrwt 2 root root 40 Apr 11 2019 shm drwxr-xr-x 4 root root 140 Apr 11 2019 snd crw------- 1 root root 153, 0 Apr 11 2019 spidev0.0 crw------- 1 root root 153, 1 Apr 11 2019 spidev0.1 lrwxrwxrwx 1 root root 15 Apr 11 2019 stderr -> /proc/self/fd /2 lrwxrwxrwx 1 root root 15 Apr 11 2019 stdin -> /proc/self/fd/ 0 lrwxrwxrwx 1 root root 15 Apr 11 2019 stdout -> /proc/self/fd /1 crw-rw-rw- 1 root tty 5, 0 Apr 11 2019 tty crw--w---- 1 root tty 4, 0 Apr 11 2019 tty0 crw--w---- 1 root tty 4, 1 Apr 11 2019 tty1 crw--w---- 1 root tty 4, 10 Apr 11 2019 tty10 crw--w---- 1 root tty 4, 11 Apr 11 2019 tty11 crw--w---- 1 root tty 4, 12 Apr 11 2019 tty12 crw--w---- 1 root tty 4, 13 Apr 11 2019 tty13 crw--w---- 1 root tty 4, 14 Apr 11 2019 tty14 crw--w---- 1 root tty 4, 15 Apr 11 2019 tty15 crw--w---- 1 root tty 4, 16 Apr 11 2019 tty16 crw--w---- 1 root tty 4, 17 Apr 11 2019 tty17 crw--w---- 1 root tty 4, 18 Apr 11 2019 tty18 crw--w---- 1 root tty 4, 19 Apr 11 2019 tty19 crw--w---- 1 root tty 4, 2 Apr 11 2019 tty2 crw--w---- 1 root tty 4, 20 Apr 11 2019 tty20 crw--w---- 1 root tty 4, 21 Apr 11 2019 tty21 crw--w---- 1 root tty 4, 22 Apr 11 2019 tty22 crw--w---- 1 root tty 4, 23 Apr 11 2019 tty23 crw--w---- 1 root tty 4, 24 Apr 11 2019 tty24 crw--w---- 1 root tty 4, 25 Apr 11 2019 tty25 crw--w---- 1 root tty 4, 26 Apr 11 2019 tty26 crw--w---- 1 root tty 4, 27 Apr 11 2019 tty27 crw--w---- 1 root tty 4, 28 Apr 11 2019 tty28 crw--w---- 1 root tty 4, 29 Apr 11 2019 tty29 crw--w---- 1 root tty 4, 3 Apr 11 2019 tty3 crw--w---- 1 root tty 4, 30 Apr 11 2019 tty30 crw--w---- 1 root tty 4, 31 Apr 11 2019 tty31 crw--w---- 1 root tty 4, 32 Apr 11 2019 tty32 crw--w---- 1 root tty 4, 33 Apr 11 2019 tty33 crw--w---- 1 root tty 4, 34 Apr 11 2019 tty34 crw--w---- 1 root tty 4, 35 Apr 11 2019 tty35 crw--w---- 1 root tty 4, 36 Apr 11 2019 tty36 crw--w---- 1 root tty 4, 37 Apr 11 2019 tty37 crw--w---- 1 root tty 4, 38 Apr 11 2019 tty38 crw--w---- 1 root tty 4, 39 Apr 11 2019 tty39 crw--w---- 1 root tty 4, 4 Apr 11 2019 tty4 crw--w---- 1 root tty 4, 40 Apr 11 2019 tty40 crw--w---- 1 root tty 4, 41 Apr 11 2019 tty41 crw--w---- 1 root tty 4, 42 Apr 11 2019 tty42 crw--w---- 1 root tty 4, 43 Apr 11 2019 tty43 crw--w---- 1 root tty 4, 44 Apr 11 2019 tty44 crw--w---- 1 root tty 4, 45 Apr 11 2019 tty45 crw--w---- 1 root tty 4, 46 Apr 11 2019 tty46 crw--w---- 1 root tty 4, 47 Apr 11 2019 tty47 crw--w---- 1 root tty 4, 48 Apr 11 2019 tty48 crw--w---- 1 root tty 4, 49 Apr 11 2019 tty49 crw--w---- 1 root tty 4, 5 Apr 11 2019 tty5 crw--w---- 1 root tty 4, 50 Apr 11 2019 tty50 crw--w---- 1 root tty 4, 51 Apr 11 2019 tty51 crw--w---- 1 root tty 4, 52 Apr 11 2019 tty52 crw--w---- 1 root tty 4, 53 Apr 11 2019 tty53 crw--w---- 1 root tty 4, 54 Apr 11 2019 tty54 crw--w---- 1 root tty 4, 55 Apr 11 2019 tty55 crw--w---- 1 root tty 4, 56 Apr 11 2019 tty56 crw--w---- 1 root tty 4, 57 Apr 11 2019 tty57 crw--w---- 1 root tty 4, 58 Apr 11 2019 tty58 crw--w---- 1 root tty 4, 59 Apr 11 2019 tty59 crw--w---- 1 root tty 4, 6 Apr 11 2019 tty6 crw--w---- 1 root tty 4, 60 Apr 11 2019 tty60 crw--w---- 1 root tty 4, 61 Apr 11 2019 tty61 crw--w---- 1 root tty 4, 62 Apr 11 2019 tty62 crw--w---- 1 root tty 4, 63 Apr 11 2019 tty63 crw--w---- 1 root tty 4, 7 Apr 11 2019 tty7 crw--w---- 1 root tty 4, 8 Apr 11 2019 tty8 crw--w---- 1 root tty 4, 9 Apr 11 2019 tty9 crw-rw---- 1 root dialout 204, 64 Feb 17 23:21 ttyAMA0 crw-rw---- 1 root dialout 188, 0 Feb 18 00:20 ttyUSB0 crw------- 1 root root 10, 239 Apr 11 2019 uhid crw------- 1 root root 10, 223 Apr 11 2019 uinput crw-rw-rw- 1 root root 1, 9 Apr 11 2019 urandom drwxr-xr-x 2 root root 80 Apr 11 2019 usb drwxr-xr-x 4 root root 80 Apr 11 2019 v4l crw------- 1 root root 250, 0 Apr 11 2019 vc-mem crw------- 1 root root 245, 0 Apr 11 2019 vchiq crw------- 1 root root 249, 0 Apr 11 2019 vcio crw-rw---- 1 root tty 7, 0 Apr 11 2019 vcs crw-rw---- 1 root tty 7, 1 Apr 11 2019 vcs1 crw-rw---- 1 root tty 7, 2 Apr 11 2019 vcs2 crw-rw---- 1 root tty 7, 3 Apr 11 2019 vcs3 crw-rw---- 1 root tty 7, 4 Apr 11 2019 vcs4 crw-rw---- 1 root tty 7, 5 Apr 11 2019 vcs5 crw-rw---- 1 root tty 7, 6 Apr 11 2019 vcs6 crw-rw---- 1 root tty 7, 128 Apr 11 2019 vcsa crw-rw---- 1 root tty 7, 129 Apr 11 2019 vcsa1 crw-rw---- 1 root tty 7, 130 Apr 11 2019 vcsa2 crw-rw---- 1 root tty 7, 131 Apr 11 2019 vcsa3 crw-rw---- 1 root tty 7, 132 Apr 11 2019 vcsa4 crw-rw---- 1 root tty 7, 133 Apr 11 2019 vcsa5 crw-rw---- 1 root tty 7, 134 Apr 11 2019 vcsa6 crw------- 1 root root 246, 0 Apr 11 2019 vcsm crw-rw---- 1 root tty 7, 64 Apr 11 2019 vcsu crw-rw---- 1 root tty 7, 65 Apr 11 2019 vcsu1 crw-rw---- 1 root tty 7, 66 Apr 11 2019 vcsu2 crw-rw---- 1 root tty 7, 67 Apr 11 2019 vcsu3 crw-rw---- 1 root tty 7, 68 Apr 11 2019 vcsu4 crw-rw---- 1 root tty 7, 69 Apr 11 2019 vcsu5 crw-rw---- 1 root tty 7, 70 Apr 11 2019 vcsu6 crw-rw---- 1 root video 81, 0 Apr 11 2019 video0 crw-rw---- 1 root video 81, 1 Apr 11 2019 video1 crw------- 1 root root 10, 130 Apr 11 2019 watchdog crw------- 1 root root 252, 0 Apr 11 2019 watchdog0
sure u are talking about something else.. a code? for?you defo got the right device going by the lsusb you ran earlier sorry @luckyjacks thats now beyond my scope of knowledge, Good Luck
Ok thanks, anyway!! -
@TPmodding there was no baudrate on the GUI for USB/Adalight
-
quick question: you now that the baudrate must be the same in the arduino sketch and flashed onto the arduino has to be the same with the one in web-ui, right?
Yes, I do ...
for testing purpose did change it everywhere now to 115200... -
thought you would have this nailed by now @luckyjacks
Quick Q, When you unplug the Ardruino and plug it back in do you get the startup effect on the LEDS?
-
switched the Baudrate
You did not switch the baud rate. It is still 500000, which the log clearly shows:
2021-02-17T23:10:26.769Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:54:init()) baudRate_Hz : 500000
...
2021-02-17T23:11:49.228Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [500000]bpsMaybe you forgot saving the settings?
-
@TPmodding there was no baudrate on the GUI for USB/Adalight
Switch the Settings-Level to "Advanced" or "Expert" - >Wrench at top right of the screen
-
Thats above my paygrade @Lord-Grey :roflmao: and could be his problem, I think he is using the same mode if i remember his screenshots correctly.
I swear i had my settings on Expert, yeah i see it now, thanks
-
You did not switch the baud rate. It is still 500000, which the log clearly shows:
2021-02-17T23:10:26.769Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:54:init()) baudRate_Hz : 500000
...
2021-02-17T23:11:49.228Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [500000]bpsMaybe you forgot saving the settings?
Yea, you guys where right, looks like the Baud on dashboard not switched, realised also yesterday, but culd not handle it anymore :roflmao:, did it again nowCode
Alles anzeigen2021-02-18T22:32:12.515Z [hyperiond DAEMON] (INFO) CEC handler created 2021-02-18T22:32:12.542Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-02-18T22:32:12.555Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-02-18T22:32:12.555Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /storage/hyperion/custom-effects 2021-02-18T22:32:12.686Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized 2021-02-18T22:32:12.694Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default 2021-02-18T22:32:12.695Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled 2021-02-18T22:32:12.732Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' 2021-02-18T22:32:12.733Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-02-18T22:32:12.736Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 1920x1080 2021-02-18T22:32:12.737Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 80, height: 45 for capture 2021-02-18T22:32:12.738Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created 2021-02-18T22:32:12.739Z [hyperiond V4L2:AUTO] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-02-18T22:32:12.742Z [hyperiond V4L2:AUTO] (INFO) Signal threshold set to: {12, 12, 12} 2021-02-18T22:32:12.742Z [hyperiond V4L2:AUTO] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2021-02-18T22:32:12.742Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created 2021-02-18T22:32:12.744Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance 2021-02-18T22:32:12.746Z [hyperiond JSONSERVER] (INFO) Started on port 19444 2021-02-18T22:32:12.739Z [hyperiond CEC] (INFO) Starting CEC handler 2021-02-18T22:32:12.756Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'adalight'. 2021-02-18T22:32:12.757Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":180,"delayAfterConnect":0,"hardwareLedCount":1,"latchTime":30,"lightberry_apa102_mode":false,"output":"/dev/ttyUSB0","rate":115200,"rewriteTime":1000,"type":"adalight"}] 2021-02-18T22:32:12.758Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 30ms 2021-02-18T22:32:12.759Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 1000ms 2021-02-18T22:32:12.759Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 1000ms 2021-02-18T22:32:12.759Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:36:init()) DeviceType : adalight 2021-02-18T22:32:12.760Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:37:init()) LedCount : 180 2021-02-18T22:32:12.760Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:38:init()) ColorOrder : rgb 2021-02-18T22:32:12.760Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:39:init()) RefreshTime : 1000 2021-02-18T22:32:12.760Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:40:init()) LatchTime : 30 2021-02-18T22:32:12.761Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:52:init()) deviceName : ttyUSB0 2021-02-18T22:32:12.761Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:53:init()) AutoDevice : 0 2021-02-18T22:32:12.761Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:54:init()) baudRate_Hz : 115200 2021-02-18T22:32:12.761Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:55:init()) delayAfCon ms: 0 2021-02-18T22:32:12.762Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:59:init()) Adalight header for 180 leds: Ada 0x00 0xb3 0xe6 2021-02-18T22:32:12.762Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyUSB0 2021-02-18T22:32:12.763Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [115200]bps 2021-02-18T22:32:12.758Z [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-02-18T22:32:12.769Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times 2021-02-18T22:32:12.771Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401 2021-02-18T22:32:12.775Z [hyperiond EFFECTENGINE] (INFO) Run effect "Cold mood blobs" on channel 0 2021-02-18T22:32:12.779Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Cold mood blobs], smoothCfg [2] 2021-02-18T22:32:12.780Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive 2021-02-18T22:32:12.782Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Cold mood blobs' started 2021-02-18T22:32:12.786Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive 2021-02-18T22:32:12.787Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled 2021-02-18T22:32:12.799Z [hyperiond V4L2:AUTO] (INFO) available V4L2 devices: /dev/video0 USB Video: USB Video 2021-02-18T22:32:12.799Z [hyperiond V4L2:AUTO] (INFO) search for usable video devices 2021-02-18T22:32:12.801Z [hyperiond V4L2:AUTO] (INFO) test v4l device: /dev/video0 2021-02-18T22:32:12.810Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=1920 height=1080 2021-02-18T22:32:12.813Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 5 fps 2021-02-18T22:32:12.813Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV 2021-02-18T22:32:12.860Z [hyperiond V4L2:AUTO] (INFO) found usable v4l2 device: /dev/video0 (USB Video: USB Video) 2021-02-18T22:32:12.865Z [hyperiond V4L2:AUTO] (INFO) Started 2021-02-18T22:32:12.866Z [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start() 2021-02-18T22:32:12.789Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/GRABBER' with priority 250 as inactive 2021-02-18T22:32:12.791Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: enabled 2021-02-18T22:32:12.866Z [hyperiond Dispmanx] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start() 2021-02-18T22:32:12.793Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created 2021-02-18T22:32:12.868Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started 2021-02-18T22:32:12.802Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 2021-02-18T22:32:12.794Z [hyperiond PROTOSERVER] (INFO) Started on port 19445 2021-02-18T22:32:12.811Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-02-18T22:32:12.812Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-02-18T22:32:12.914Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-02-18T22:32:12.914Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-02-18T22:32:12.915Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' 2021-02-18T22:32:12.919Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-02-18T22:32:12.920Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-02-18T22:32:12.988Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName: ttyUSB0 2021-02-18T22:32:12.989Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation: /dev/ttyUSB0 2021-02-18T22:32:12.990Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description: USB Serial 2021-02-18T22:32:12.991Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer: 1a86 2021-02-18T22:32:12.993Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x7523 2021-02-18T22:32:12.993Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier: 0x1a86 2021-02-18T22:32:12.993Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber: 2021-02-18T22:32:13.001Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 250 is now active 2021-02-18T22:32:13.002Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-02-18T22:32:13.002Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255] 2021-02-18T22:32:13.002Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-02-18T22:32:13.005Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled 2021-02-18T22:32:13.283Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate 2021-02-18T22:32:13.285Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key 2021-02-18T22:32:13.287Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' 2021-02-18T22:32:13.333Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:207:setInput()) Priority 0 is now active 2021-02-18T22:32:13.500Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active 2021-02-18T22:32:13.556Z [hyperiond CEC] (INFO) Auto detecting CEC adapter 2021-02-18T22:32:13.557Z [hyperiond CEC] (INFO) CEC Adapter: 2021-02-18T22:32:13.557Z [hyperiond CEC] (INFO) Name : RPI 2021-02-18T22:32:13.558Z [hyperiond CEC] (INFO) Path : Raspberry Pi 2021-02-18T22:32:15.147Z [hyperiond CEC] (INFO) CEC Handler initialized with adapter : RPI 2021-02-18T22:32:16.099Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 0 2021-02-18T22:32:16.100Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-02-18T22:32:16.101Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0] 2021-02-18T22:32:16.349Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-02-18T22:32:16.354Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[0] 2021-02-18T22:32:17.890Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.41 2021-02-18T22:32:17.891Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.1.41' switch to Hyperion instance 0 2021-02-18T22:35:37.734Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:76:setSourceAutoSelectEnabled()) Source auto select is now disabled 2021-02-18T22:35:37.735Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 250 2021-02-18T22:35:37.736Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[250], previousPriority[240] 2021-02-18T22:35:57.702Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled 2021-02-18T22:35:57.734Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful 2021-02-18T22:35:57.735Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyUSB0 2021-02-18T22:36:00.133Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyUSB0 2021-02-18T22:36:00.134Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [115200]bps 2021-02-18T22:36:00.246Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName: ttyUSB0 2021-02-18T22:36:00.246Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation: /dev/ttyUSB0 2021-02-18T22:36:00.247Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description: USB Serial 2021-02-18T22:36:00.247Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer: 1a86 2021-02-18T22:36:00.247Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x7523 2021-02-18T22:36:00.248Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier: 0x1a86 2021-02-18T22:36:00.248Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber: 2021-02-18T22:36:00.255Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled 2021-02-18T22:36:49.919Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.41
...no lights still
-
thought you would have this nailed by now @luckyjacks
Quick Q, When you unplug the Ardruino and plug it back in do you get the startup effect on the LEDS?
yea, actually had that happen, when I started of setting the system of, but it then stopped doing it, so stopped trying lately -
Maybe I should try some random Baudrate change in between? and then there is the cmdline.txt entries I did ....
-
could you please dont post multiple times... you can use the edit button...otherwise it gets very fast very unclear, thanks
-
could you please dont post multiple times... you can use the edit button...otherwise it gets very fast very unclear, thanks
sure, no Problem , sorry -
OK can't seem be able to duplicate the setting that I had when the lid up white, But remember it was my old sketch with hyperion.ng and I remember the moment they lid up, the status was vendor enabled, After it changed to disabled. After restart it mostly briefly again enabled... And then turned off again..
No I don't think my LEDs are out of service, it's all new stuff with original build cable set.. Anyway how is the Arduino supposed to do anything, if it doesn't get signals from from the pi??
+ weirdly now when I plug my new Arduino, the led control on WEBUI always turns off, after about 30 seconds..?? -
Your chasing the wrong fault @luckyjacks , vendor preset: enabled will not solve your problems.
@TPmodding has gave you the working sketch - this sketch includes a test pattern on start-up, so you either don't have the correct pin set or there is a fault on your LEDS somewhere, as every time the ardruino is plugged in the test pattern will show.
-
you defo got the right device going by the lsusb you ran earlier sorry @luckyjacks thats now beyond my scope of knowledge, Good Luck
That's possibly be the problem the leds are not connected with pins, the chinese Arduino box is sealled, for THE LEDs to be connected via power plug, the LEDS, have 1 autled for actual power, and one plug that, connects to the Arduino. -
you are hard work @luckyjacks , you could have mentioned that long before now, https://github.com/hyperion-pr…adalight/adalight.ino#L35 Look at line 34
6 should be replaced with your pin
quite sure you'll find a pin number in the user manual or online somewhere, you should then be able to get up and running with the other already posted
-
you are hard work @luckyjacks , you could have mentioned that long before now, https://github.com/hyperion-pr…adalight/adalight.ino#L35 Look at line 34
6 should be replaced with your pin
quite sure you'll find a pin number in the user manual or online somewhere, you should then be able to get up and running with the other already posted
Sorry for being annoying, and not presenting more detail in the Chinese ready made setup, I did mention though, I wasn't exactly shure how this particularly works. Only that the tutorial, I started with, who had the exact setup, was also consistent on making shure in number is set to 6... Which kind of would make sence, to still keep that pin in case, it works for plug-setup as well.. Still will try Google..
Update: testing port 1,2,3, 4, 5, and goggle didn't suchseed, so far.. -
got a link to it?
-
got a link to it?
sure, ebay
https://www.ebay.de/itm/DIY-Li…Backlight-EU/313298821912
+ Youtube TutExterner Inhalt www.youtube.comInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!