-
Notifications
You must be signed in to change notification settings - Fork 1
/
wled.cfg
52 lines (42 loc) · 1.52 KB
/
wled.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[gcode_macro WLED_ON]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
{% set strip = params.STRIP|default("frame")|string %}
{% set preset = params.PRESET|default(6)|int %}
{action_call_remote_method("set_wled_state",
strip=strip,
state=True,
preset=preset)}
[gcode_macro WLED_OFF]
description: Turn WLED strip off
gcode:
{% set strip = params.STRIP|default("frame")|string %}
{% set preset = params.PRESET|default(6)|int %}
{action_call_remote_method("set_wled_state",
strip=strip,
state=False)
}
[gcode_macro led_heating]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
WLED_ON STRIP=frame PRESET=1
[gcode_macro led_printing]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
WLED_ON STRIP=frame PRESET=2
[gcode_macro led_mesh]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
WLED_ON STRIP=frame PRESET=3
[gcode_macro led_finish]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
WLED_ON STRIP=frame PRESET=4
[gcode_macro led_fail]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
WLED_ON STRIP=frame PRESET=5
[gcode_macro led_standby]
description: Turn WLED strip on using optional preset and resets led colors
gcode:
WLED_ON STRIP=fram PRESET=7