Open Rockster160 opened 6 months ago
Thanks for the suggestion!
I did a bit of light research and found this example: https://github.com/jneilliii/OctoPrint-PlotlyTempGraph/blob/master/examples/heater_temps.py however it seems that the "temperature data source" is from GCODE. That might help provide a solution for #15 as well, but for this feature, I feel like there's gotta be a better way...
Maybe worth posting in the community forums. I unfortunately don't have the time right now, but if you get around to prototyping it, let me know!
Self-explanatory! Essentially just including the data from the
/api/printer
endpoint. Thestate
is already included, but I'd like to have thetemperature
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.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. 😁