Filament Sensor Feature for GPIO/Raspberry
Beside the "print from SD" i would additionally request the feature to connect filament sensor to the raspberry GPIO.
If specific pin is triggered (selectable: normally open / normally closed) configurable gcode should be executed.
I am using currently filament sensor on Creality CR-10 connecte to Octoprint because modification on the mainboard would be much more effort (if possible anyhow on some printers).
This feature is mainly for filament sensor but could be also used for other useful mechanism which makes this feature very valuable.
Similar to the "Filament Sensor Reloaded" Plugin for Octoprint (see screenshot attached):
I really like the pretty nice touch UI from RS but those two missing features are blocking points because i do not want to loose those improtant features. Would be great to see those two features beeing implemented soon.
Comments
https://www.repetier-server.com/manuals/programming/API/index.html
There you see how to remotely execute commands on server. E.g. send command @pause using a simple curl commad. So if you have a script that watches your pin, just send the curl command to pause printer when it toggles low/high or whatever would be the signal.
https://github.com/Raabi91/filament_runout_Repetier
there you see a possible solution using a bash script.
Next release will also have an improvement that allows a lua script to monitor pins and do things accordingly like adding a pause. That should be an easier solution than having external scripts monitor pins.
With https://www.repetier-server.com/monitoring-plugins/ you can also write now a more native solution, but that requires 0.91.2.
Kann das nicht schon irgendwie im Repetierserver Menu eingebaut werden. ohne diese externe Programierung
Ich weiß leider nicht was eine Lua Schnittstelle ist.
Ich weiß nur wo die GPIOs sind.
Mit dem Link oben kann ich aber leider nichts anfangen.
Wie bekomme ich die dann auf den Raspberry?