I am tearing out my hair with this, so any help would be greatly appreciated.
I finally got the parts in yesterday to build a runout sensor, and figured this would be a pretty quick upgrade... Just slap the parts together, add a couple of soldered joints and done... Nothing could be further from the truth. So if anyone has an idea on what I am doing wrong I would really appreciate it.
The set up so far:
- A microswitch wired to read continuity when the filament is installed (just two wired).
- One leg is connected to the pi's GPIO Pin 21, the other to ground.
- The settings for octoprint-enclosure:
a) Input type - GPIO input
b) Action Type - Printer
c) Input IO Number 21
d) Input Pull Resistor - Input Pulldown
e) Event trigger - Fall
f) Printer action - Filament change
g) Enabled (checked)
The expected response is that when the sensor trips the printer stops and moves to XY home for a filament change. The actual response is that Octoprint pauses any attempt to print as soon as the command is given. The only way to actually start a print is to disable the plugin. This behavior is independent of if the filament is inserted or not.
I am not tied to the enclosure plugin if someone is failure with a working runout plugin, there seem to be a good number of them, but since I am working on an enclosure I figured learning this one would be worth doing now anyway.