I am starting to look at implementing a plug in.. minor inconvenience of having to learn python first.. I wonder if someone could give me some pointers on how to get access to the gcode analysis data. I am specifically looking for the zmax/min and slice thickness values so I can determine a current slice count. I could not find the slice count/current slice data stored explicitly - the gcode viewer calculates it on the fly for display.
I am currently using the MQTT plug in to provide a published feed to Home Assistant. The existing Home Assistant Integration polls and gets upset when octoprint is offline. The only info I am missing for my planned interface is the slices/current slice. Still trying to determine if its something I can bolt on to the MQTT plugin, or if i will need to attack it another way. Very new to octoprint. MQ messaging expert.