代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。