Comments (3)
Its possible to get this information through a combination of the /printer/info
and /printer/objects/status
APIs. The state you can fetch from /printer/objects/status
isn't yet documented but its own my todo list.
Currently I am working on merging the support functionality necessary to communicate with the official Klipper repo so it isn't necessary to pull the dev-moonraker-testing
branch of my fork. Included in this will be a more streamlined approach to fetching the state of a print. When this is merged I will update this issue with an example of how to fetch the data you are looking for.
from moonraker.
It's been a while since this issue was created, but I thought I would update it. The API is relatively stable now and initial API documentation is complete. An outline of how to accomplish your request is available here. The entire API is available in web_api.md, and printer_objects.md contains information about "klipper printer objects" that can be queried from the API.
from moonraker.
As the discussion here seems to have concluded I'm going to close this. As mentioned above, the API documentation contains an example of how to retrieve status from moonraker.
from moonraker.
Related Issues (20)
- [database.py:insert_item()] - Error inserting key 'instance_id' in namespace 'moonraker' HOT 5
- Login fails after upgrade HOT 9
- Missing Documentation for altering the instance_uuid HOT 3
- Add filament I’d to print history
- Mainsail cannot connect to Moonraker (connection Failed) HOT 1
- power type `uhubctl` without specifying port HOT 1
- PAM authentication support HOT 1
- Queue should be paused when non-queued file is finished printing HOT 5
- After upgrade moonraker is broken - Unable to load component (template). Caused by jinja HOT 1
- [Spoolman] Support fetching filament information from spoolman
- Print history has inaccurate “print duration” and “used filament” when using T1 HOT 2
- Update Manager Enhancement
- Repo Corrupt? HOT 1
- Allow setting MQTT ClientId in moonraker.conf HOT 1
- APC UPS - Status monitoring HOT 3
- AttributeError: module 'moonraker.components.job_queue' has no attribute 'load_component' HOT 1
- Cannot start Moonraker - PackageMetadata HOT 2
- Print file with '#' in name HOT 2
- Metadata extract fails with 'Input data was truncated' some of the time. HOT 7
- Endpoint to rename queued jobs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonraker.