hyperion.ng: adalight LightBerry APA102 - stops working when turned off for+- 10 seconds
- I confirm that this is an issue rather than a question.
Bug report
I have a adalight lightberry APA102 led strip that is connected through USB to the RPi 3B. Yust updated to the latest hyperion ng (coming from old hyperion).
When I boot up the RPi3 everything works fine and the Ambilight works perfect. When I turn off the APA102 strip through remote -> LED Device ->off they turn off fine If I then quickly (within ± 10seconds) turn them back ON, they come back on and everything works fine. (can repeat On/Off a lot of times and just works)
BUT: If I leave the APA102 LED strip off for longer than ±10 seconds, I cannot get them to come back on. The only way to get it working again that I figured out is reboot the whole RPi3.
I also get some timeout error in the debug log when they refuse to turn back on.
Steps to reproduce
- boot hyperion ng with adalight APA102 LED strip
- turn led device off
- wait 30 seconds
- try to turn them back on
What is expected?
They schould just turn on, even if they have been off for a while
What is actually happening?
They do not turn on and I see a timeout error in the log
System
Hyperion Server:
- Build: master (GitHub-4b0b84ec/8a028328-1608763626)
- Build time: Jan 2 2021 19:11:57
- Git Remote: https://github.com/hyperion-project/hyperion.ng.git
- Version: 2.0.0-alpha.9
- UI Lang: en (BrowserLang: nl)
- UI Access: expert
- Avail Capt: dispmanx,v4l2,framebuffer,qt
- Database: read/write
Hyperion Server OS:
- Distribution: Open Source Media Center
- Architecture: arm
- CPU Model: ARMv7 Processor rev 4 (v7l)
- CPU Type: Raspberry Pi 3 Model B Rev 1.2
- CPU Revision: a02082
- CPU Hardware: BCM2835
- Kernel: linux (4.19.122-2-osmc (WS: 32))
- Qt Version: 5.11.3
- Python Version: 3.7.3
- Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Debug Log (error is at 2021-01-03T17:07:58.776Z):
2021-01-03T17:06:20.579Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
2021-01-03T17:06:20.611Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
2021-01-03T17:06:20.611Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyACM0
2021-01-03T17:06:24.173Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyACM0
2021-01-03T17:06:24.173Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2021-01-03T17:06:24.229Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName: ttyACM0
2021-01-03T17:06:24.230Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation: /dev/ttyACM0
2021-01-03T17:06:24.231Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description: Arduino Leonardo
2021-01-03T17:06:24.232Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer: Arduino LLC
2021-01-03T17:06:24.233Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x8036
2021-01-03T17:06:24.234Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier: 0x2341
2021-01-03T17:06:24.235Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:
2021-01-03T17:06:24.238Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:173:tryOpen()) delayAfterConnect for 100 ms - start
2021-01-03T17:06:24.340Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:180:tryOpen()) delayAfterConnect for 100 ms - finished
2021-01-03T17:06:24.340Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
2021-01-03T17:06:26.428Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
2021-01-03T17:06:26.458Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
2021-01-03T17:06:26.459Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyACM0
2021-01-03T17:06:42.119Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyACM0
2021-01-03T17:06:42.119Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2021-01-03T17:06:42.231Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName: ttyACM0
2021-01-03T17:06:42.232Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation: /dev/ttyACM0
2021-01-03T17:06:42.233Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description: Arduino Leonardo
2021-01-03T17:06:42.234Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer: Arduino LLC
2021-01-03T17:06:42.234Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x8036
2021-01-03T17:06:42.234Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier: 0x2341
2021-01-03T17:06:42.235Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:
2021-01-03T17:06:42.237Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:173:tryOpen()) delayAfterConnect for 100 ms - start
2021-01-03T17:06:42.338Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:180:tryOpen()) delayAfterConnect for 100 ms - finished
2021-01-03T17:06:42.339Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
2021-01-03T17:06:45.829Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.10
2021-01-03T17:06:45.877Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.10
2021-01-03T17:07:19.191Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
2021-01-03T17:07:19.252Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
2021-01-03T17:07:19.253Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyACM0
2021-01-03T17:07:57.526Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyACM0
2021-01-03T17:07:57.526Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2021-01-03T17:07:57.616Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName: ttyACM0
2021-01-03T17:07:57.618Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation: /dev/ttyACM0
2021-01-03T17:07:57.619Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description: Arduino Leonardo
2021-01-03T17:07:57.620Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer: Arduino LLC
2021-01-03T17:07:57.620Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x8036
2021-01-03T17:07:57.620Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier: 0x2341
2021-01-03T17:07:57.621Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:
2021-01-03T17:07:57.623Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:173:tryOpen()) delayAfterConnect for 100 ms - start
2021-01-03T17:07:57.724Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:180:tryOpen()) delayAfterConnect for 100 ms - finished
2021-01-03T17:07:57.724Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
2021-01-03T17:07:58.776Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:218:writeBytes()) Timeout after 1000ms: 0 frames already dropped
2021-01-03T17:08:03.978Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:218:writeBytes()) Previous line repeats 5 times
2021-01-03T17:08:03.981Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
2021-01-03T17:08:03.981Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyACM0
2021-01-03T17:08:12.192Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.10
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24
@Lord-Grey Thank you for all your help, you are awesom! Since the issue was resolved by updating the firmware, I will close this issue.