c_evening_daylight.cfg modified - 19/04/25 - 16:11:32

This commit is contained in:
pi committed 2025-04-19 16:11:35 +10:00
1 parent 10a3c3aa3e
commit 4a2047844c
1 file changed
+7
@@ -33,4 +33,11 @@ gcode:
{% set time_display = hour|string ~ ":" ~ ("%02d"|format(minute)) %}
{% set fade_msg = "💡 Brightness: " ~ (rounded_target * 100)|int|string ~ "% at " ~ time_display %}
RESPOND MSG="{fade_msg}"
{% endif %}
[gcode_macro SMART_DAYLIGHT]
description: Run EVENING_DAYLIGHT only if timelapse is enabled (no messages)
gcode:
{% if printer["gcode_macro TIMELAPSE_TAKE_FRAME"].enable %}
EVENING_DAYLIGHT
{% endif %}