-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsystem_menu.cfg
56 lines (47 loc) · 1.39 KB
/
system_menu.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
53
54
55
56
### menu setup ###
[menu __main __system]
type: list
enable: {not printer.idle_timeout.state == "Printing"}
name: System
[menu __main __system __restart __firmware_restart]
type: command
enable: {not printer.idle_timeout.state == "Printing"}
name: Restart FW
gcode: FIRMWARE_RESTART
[menu __main __system __restart]
type: list
name: Restart
[menu __main __system __restart __host_restart]
type: command
enable: {not printer.idle_timeout.state == "Printing"}
name: Restart Host
gcode: RESTART
[menu __main __system __dump]
type: command
name: Dump parameters
gcode:
{% for name1 in printer %}
{% for name2 in printer[name1] %}
{ action_respond_info("printer['%s'].%s = %s"
% (name1, name2, printer[name1][name2])) }
{% else %}
{ action_respond_info("printer['%s'] = %s" % (name1, printer[name1])) }
{% endfor %}
{% endfor %}
### menu network ###
[menu __main __system __network]
type: list
name: Network
enable: {('network_status' in printer)}
[menu __main __system __network _mdns]
type: command
name: mDNS: {printer.network_status.mdns}
[menu __main __system __network _ethip]
type: command
name: Eth IP: {printer.network_status.ethip}
[menu __main __system __network _wifissid]
type: command
name: Wifi SSID: {printer.network_status.wifissid}
[menu __main __system __network _wifiip]
type: command
name: Wifi IP: {printer.network_status.wifiip}