Octoprint-Filament-Reloaded
Octoprint-Filament-Reloaded copied to clipboard
Question about API to return filament status
Can you please better explain how this works? I have googled every which way i could think of and can't for the life of me find anything about this portion, nor how it works
I've even tried to just put get /plugin/filamentreload/status into the command line and it just returns an error.
An API is available to check the filament sensor status via a GET method to /plugin/filamentreload/status which returns a JSON
{status: "-1"} if the sensor is not setup {status: "0"} if the sensor is OFF (filament not present) {status: "1"} if the sensor is ON (filament present)