Skip to content

Question about API to return filament status #53

Description

@xh3dx

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions