Open unbwogable opened 7 years ago
Post your config and the logs.
I see that the plugin detects the status at the beginning, but can't see any calls to the api...
2016-10-01 00:19:38,205 - octoprint.plugins.filament - INFO - Filament Sensor Plugin setup indicates '0' when filament is present (setup on GPIO 7).
2016-10-01 00:19:38,207 - octoprint.plugins.filament - INFO - Current status is '1'...
2016-10-01 00:28:38,355 - octoprint.plugins.filament - INFO - Filament Sensor Plugin setup indicates '0' when filament is present (setup on GPIO 7).
2016-10-01 00:28:38,356 - octoprint.plugins.filament - INFO - Current status is '0'...
which version of the plugin are you using ? master or devel ?
Should be master, I removed and reinstalled to be sure
btw, the detection only happens during printing.. :D
if you use the devel, I just updated to it always detects (makes more sense for this version)
I've confirmed my switch is normally open, verified it's working, tried a few pins, but I'm consistently getting a response that the filament is preset/1, regardless of if it is or not.