How variable_unit_duration and the auto-off timer work in dryer macros

variable_unit_duration: 240
Can you tell me what unit 240 is in?

🇷🇺 Оригинал

variable_unit_duration: 240
Подскажите, у 240 какая единица измерения?

Minutes, but they’re not enabled — I forgot, then couldn’t be bothered, then skis, slopes… I’ll polish it up.

🇷🇺 Оригинал

минуты, но они не включены, я забыл, потом забил, потом лыжи, горки… Допилю

So it dries until I turn it off?

🇷🇺 Оригинал

То есть сушит, пока не выключу?

I can’t say right now, I’ll check later

added

[delayed_gcode OFF_U1]
gcode:
OFF_U1

[gcode_macro DRY_U1]
variable_temp: 5
variable_humidity: 5
variable_duration: 5
variable_off_timer_set: 0 <<<
variable_delta_high: 30

[delayed_gcode _UPDATE_U1]

{% if off_timer_set == 0 %}
UPDATE_DELAYED_GCODE ID=_OFF_U1 DURATION={dry_duration * 60}
SET_GCODE_VARIABLE MACRO=DRY_U1 VARIABLE=off_timer_set VALUE=1
{% endif %}

and like that everywhere
looks like that’s it)
save the old macros, apply the new ones, pull over whatever you changed in the old ones like angles and deltas, and test it

🇷🇺 Оригинал

сейчас не скажу, позже проверю

добавлено

[delayed_gcode OFF_U1]
gcode:
OFF_U1

[gcode_macro DRY_U1]
variable_temp: 5
variable_humidity: 5
variable_duration: 5
variable_off_timer_set: 0 <<<
variable_delta_high: 30

[delayed_gcode _UPDATE_U1]

{% if off_timer_set == 0 %}
UPDATE_DELAYED_GCODE ID=_OFF_U1 DURATION={dry_duration * 60}
SET_GCODE_VARIABLE MACRO=DRY_U1 VARIABLE=off_timer_set VALUE=1
{% endif %}

и так везде
вроде все)
старые макросы сохрани, новые накати, из старых вытащи что правил типа углов и дельт и проверяй