Closed SinisterRj closed 10 months ago
So as you can probably tell from that line I am having to guess if a print is running. I don't use Octoprint so I cant easily investigate this myself.
Questions I have are:
virtual_sdcard
?This is what worked for me:
{% set is_print_active = printer['virtual_sdcard'].is_active or printer['virtual_sdcard'].file_position != 0.0 or printer.idle_timeout.state == 'Printing' %}
And I really don't know what Octoprint does.. Lol.
P.S.: Sorry for the delay.
Oh thats cool! I guess I need to go back and see if this needs checking anywhere else that I look at the state of the virtual_sdcard
. Maybe this is better test for "is printing" in general.
Hi Gareth,
The
{% set is_print_active = printer['virtual_sdcard'].is_active or printer['virtual_sdcard'].file_position != 0.0 %}
line on heatsok,cfg is not abble to set if the printer is running or not when using Octoprint instead Mainsaill.