forked from 2blane/OctoPrint-Webhooks
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Self-explanatory!
Essentially just including the data from the /api/printer endpoint. The state is already included, but I'd like to have the temperature key as well for monitoring/external display.
I looked around the docs and don't see an option to include this in the custom params, so apologies if I've missed something.
{
"sd": {
"ready": false
},
"state": {
"error": "",
"flags": {
"cancelling": false,
"closedOrError": false,
"error": false,
"finishing": false,
"operational": true,
"paused": false,
"pausing": false,
"printing": true,
"ready": false,
"resuming": false,
"sdReady": false
},
"text": "Printing"
},
"temperature": {
"W": {
"actual": 0,
"offset": 0,
"target": null
},
"bed": {
"actual": 50.23,
"offset": 0,
"target": 50
},
"tool0": {
"actual": 199.55,
"offset": 0,
"target": 200
}
}
}I'm a fellow developer- so might take a look at adding this and making a PR at some point in the future, but I'm pretty busy for the next little bit, so I'm not sure if I can get to it in a timely manner and figure somebody familiar with the code would hopefully be able to just toss this in fairly easily. 😁
Metadata
Metadata
Assignees
Labels
No labels