-
Notifications
You must be signed in to change notification settings - Fork 1
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
Persistent "?" Status #2
Comments
Thank you for you feedback, @SCH00N3R. I have read you checked the filament via GPIO Status, does the pin change status when you remove and insert the filament? Obviously, refreshing GPIO Status each time. |
Thank you for following up so quickly. Yes I did see the pin status as well as the voltage change each time I removed and reinsterted the filament. Yes I used the refresh button in GPIO Status to verify each change. |
I suspect there is a bug within FilamentBuddy, since the pin and GPIO Status behave correctly. To know if this is the problem it is necessary to check if there are some hints inside OctoPrint logs. This plugin logs will contain the string FilamentBuddy, may you check your logs? I am looking for anything that contains this plugin name. |
I had to turn on debug logging for filamentbuddy and then restart OP. I think I have found a relevant error in the octoprint log: <2024-09-19 22:07:46,508 - octoprint.plugin - ERROR - Error while calling plugin filamentbuddy |
I think that I have found the issue. It appears that there was a significant change to how GPIO pins function within the new 6.6 kernel for RPiOS. I have removed the python3-rpi-gpio package and upgraded to python3-rpi-lgpio, but I am still getting the same error in octoprint.log https://rpi-lgpio.readthedocs.io/_/downloads/en/latest/pdf/ |
I need to replicate your bug. Are you using a Raspberry PI 4 with the last Raspbian release, right? The very weird part is that GPIO Status is still working as intended, even if it is using the same Python module. Maybe, this bug affects just few features. |
Hello,
After re-imaging my raspberry pi 4+ to run on raspbian (as opposed to OctoPi), the filament sensor portion of this plugin no longer seems to function as expected.
When I log into the Octoprint web UI, I briefly see the checkmark icon in the status bar but it quickly changes to the question mark indicator. I have verified that the correct GPIO pin is configured. I have tested the pin with the GPIO Status plugin. I have manually changed the state of the filament sensor. Through all of these tests and verifications, the question mark status remained.
I also removed the plugin and deleted its data and then reinstalled and reconfigured it. This made no difference.
Any help that you can provide would be appreicated.
Thank you,
Neal
The text was updated successfully, but these errors were encountered: