Fetch the repository succeeded.
An additional OctoPrint-Plugin for DisplayLayerProgress-Plugin.
It provides REST-APIs for reading the DisplayLayerProgress - Payload which is send through the event-bus. More details
It also provides some other "basic" informations like the lastEvent which was send to the event-bus and the current printer data.
After installations you can call each listed endpoint with your api-key:
Endpoint | Response |
---|---|
yourOctoPrintURL/plugin/DisplayLayerProgressAPI/echo?text=Hallo | Simple echo function which returns the value you send via text-parameter |
yourOctoPrintURL/plugin/DisplayLayerProgressAPI/lastEvent | Name of the last command send to the event-bus |
yourOctoPrintURL/plugin/DisplayLayerProgressAPI/printerState | Printer current data. Structure description |
yourOctoPrintURL/plugin/DisplayLayerProgressAPI/displayLayerProgressInfo | DisplayLayerProgress-Values. Structure description |
Sample:
curl -H "X-Api-Key:57FECA453FE94D46851EFC94BC9B5265" http://localhost:5000/plugin/DisplayLayerProgressAPI/lastEvent
TODO not published to offical OctoPrint Plugin-Repository ~~ Install via the bundled Plugin Manager ~~
or manually using this URL:
https://github.com/OllisGit/OctoPrint-DisplayLayerProgressAPI/releases/latest/download/master.zip
See Plugin-Settings
see Release-Overview
Sign in to post a comment
Repository Comments ( 0 )