Reading of the layer height via api key and switching off the heating bed


I have a question for you and I use Buidltak foils for printing.

I would like to use the api key to read the layer height of the currently running pressure and then deactivate the heating bed for layer X.
I want to do all of that via Shell.

Or is there already a plugin for this?

Thank you Raini

I'm not aware of any plugin which offers this option.

One option to do that via shell would be


But the easiest way in my opinion would be to configure it in your slicer.
I'n cura for example it would look like this