Open omgitsmatt opened 1 month ago
Hello @omgitsmatt,
Can you take a screenshot of your settings in the octoprint UI?
There's a few possibilities here:
Some relevant things from your logs -- see last line about pinmode being missing...
2024-10-30 08:57:32,990 - octoprint.plugins.filamentreload - INFO - Pin not configured, won't work unless configured!
2024-10-30 08:58:39,989 - octoprint.plugins.filamentreload - INFO - Pin not configured, won't work unless configured!
2024-10-30 09:01:43,396 - octoprint.plugin - ERROR - Error while calling plugin filamentreload
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugin/__init__.py", line 273, in call_plugin
result = getattr(plugin, method)(*args, **kwargs)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/__init__.py", line 1688, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint_filamentreload/__init__.py", line 201, in on_event
if event is Events.PRINT_STARTED and self.no_filament() and self.prevent_print:
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint_filamentreload/__init__.py", line 178, in no_filament
nofilament = GPIO.input(self.pin) != self.switch
RuntimeError: Please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)
hi @nickmitchko thank you for the tempestive answer, i send you the scrrenshot of octoprint settings ui
@nickmitchko the pin was on -1 before the print and i set it to 1
@nickmitchko
Can you take a screenshot of the settings pane, something simple is off.
On Thu, Nov 7, 2024, 3:24 AM omgitsmatt @.***> wrote:
@nickmitchko https://github.com/nickmitchko
— Reply to this email directly, view it on GitHub https://github.com/nickmitchko/Octoprint-Filament-Reloaded/issues/23#issuecomment-2461601308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3I7BYG5JGZD54R2LTLW2DZ7MPTRAVCNFSM6AAAAABQ36HPL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRRGYYDCMZQHA . You are receiving this because you were mentioned.Message ID: @.***>
hi i had a problem with this, octoprint 1.8.7 python 3.9.2 octoPi 1.0.0 I installed it and set the sensor to 1 because it was on -1 and just when the filament was out of the sensor the machine return to the start point and give me error. Can you help me please? I also give you a log file @nickmitchko octoprint filament log.log