I set up the filament runout sensor with octoprint.
otopi version used is 0.17.0 and octoprint version is 1.4 on raspberry pi 3B.
I connected sensor signal output to pin 18(GPIO24), gnd to pin20 and VCC to 3.3V and I installed "Filament Sensor Reloaded" and following settings made in Octoprint GUI
Pin : 24
Switch Type: Normally Open
Board Pin Mode: BCM
Also Included gCode scripts whenever printer is paused and resumed.
Before installation of the "Filament Sensor Reloaded" Plugin the printer works fine and everything is ok.
After installing this plugin i preheated the bed and Nozzle with specific temperature values for ABS. After uploading Gcode file and If I click on Print Option ,the Nozzle and Bed temperature instantly drops to zero and no print takes place.
Again If I uninstall Filament Sensor Reloaded everything works fine.
What could be the reason for printer behavior? How this plugin is affecting in Temperature values when print option is pressed?Please help me out