Royrdan / Octoprint-Smart-Filament-Sensor

OctoPrint plugin that lets integrate Smart Filament Sensors like BigTreeTechs SmartFilamentSensor directly to RaspberryPi GPIO pins.
GNU General Public License v3.0
7 stars 10 forks source link

Enable Sensor checkbox ignored, distance detection false triggers #22

Open appleguru opened 2 years ago

appleguru commented 2 years ago

the "Enable Sensor" checkbox seems to have no impact; if I uncheck it, my prints still get paused.

Additionally, if I set the plugin to "distance detection", it seems to trigger after just a few seconds, even though the filament is present and moving just fine. Detection distance is set to 15mm, though I tried 100 and 1000mm and it didn't seem to make a difference.

If I set it to "timeout", it does a similar thing, though if I set the "detection time" to "100 seconds" it seems to work (so far anyways).

User error? A bug? Something else?

Am running a BTT sensor connected to RPI GPIO pin 11 off 3.3v.

wkuwake commented 2 years ago

I'm currently experiencing the same issue. GPIO pin 11. Sensor turned on or off in octoprint and the print still pauses every few minutes. Runout distance set very high but still false triggers very quickly.