-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 | GPIO PrevNextControl Buttons sometimes do not work #1139
Comments
Please try to adjust the log level, so we get more info in the log file. In file Replace in line 98
and then post the log file again. |
change logger lever INFO -> DEBUG
@deMerl |
No Problem, I can bypass this issue by using "Simple Button" Config for Next and Prev Song.
|
Could be a electrical issue, too? |
It is interesting it might be related with the bouncetime, i.e. more or less a hardware thing (pull-up/down resistor, capacities on the lines, etc) |
maybe this helps? |
PR #1165 provided by @veloxidSchweiz (Thanks!) was just merged to develop branch and could help to debug this issue. @deMerl, please test this and let us know, if this helps to fix the issue. |
I am struggling with the same behaviour. At first I was suspecting an electrical issue, and double checked all cabling. I even soldered the cables directly to the arcade button contacts, to eliminate the cable shoes as a possible source for the error. When having a look at the journal it looks like every button pressed is correctly recognized, but the corresponding function is not always called. The behaviour seemed really strange. Finally I found this issue, which describes the absolutely exact same behaviour I am experiencing. Following the example journal output that shows what happens:
You clearly see that the putton presses are recognized, but the functionCall of the two_button_control is only executed sometines. As the originator of this issue seems to be absent, I would like to pick this up and help you in resolving it. |
My setup is:
Jukebox Version 2.2.0 from end of Nov. 2020. I just did some testing with the following steps:
I can confirm that the behaviour of missed function calls did not appear anymore. I was experiencing it regularly and a lot before. The only thing I observed, that might be worth a second look, is the following:
@s-martin I think the fix for the original behaviour works. Is there any reason to not include it in the 2.3 milestone again? |
Fixed with #1165 |
Hi, i have the problem that sometimes the "Previous" and "Next" GPIO Buttons do not work.
From the Log I can see the following:
-If it works
-If it does not work
Looks like it does not trigger the "GPIODevices.two_button_control"
This happens randomly. Does work for some minutes than does not for some minutes and so on. Makes no difference if "Forward" or "Rewind".
The rotary for volume and the GPIO for Play/Pause do work all the time.
I hope someone can help push me into the right direction or tell me how to troubleshoot further.
Many thanks and keep up the absolutely fantastic work on this project.
The text was updated successfully, but these errors were encountered: