-
-
Notifications
You must be signed in to change notification settings - Fork 225
/
config.default.ts
139 lines (138 loc) · 2.79 KB
/
config.default.ts
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
import { Config } from './config.model';
export const defaultConfig: Config = {
octoprint: {
url: 'http://localhost:5000/',
accessToken: '',
},
printer: {
name: '',
xySpeed: 150,
zSpeed: 5,
disableExtruderGCode: 'M18 E',
zBabystepGCode: 'M290 Z',
defaultTemperatureFanSpeed: {
hotend: 200,
heatbed: 60,
fan: 100,
},
},
filament: {
thickness: 1.75,
density: 1.25,
feedLength: 0,
feedSpeed: 20,
feedSpeedSlow: 3,
purgeDistance: 30,
useM600: false,
},
plugins: {
displayLayerProgress: {
enabled: true,
},
enclosure: {
enabled: false,
ambientSensorID: null,
filament1SensorID: null,
filament2SensorID: null,
},
filamentManager: {
enabled: true,
},
spoolManager: {
enabled: false,
},
preheatButton: {
enabled: true,
},
printTimeGenius: {
enabled: true,
},
psuControl: {
enabled: false,
turnOnPSUWhenExitingSleep: false,
},
ophom: {
enabled: false,
turnOnPSUWhenExitingSleep: false,
},
tpLinkSmartPlug: {
enabled: false,
smartPlugIP: '127.0.0.1',
},
tasmota: {
enabled: false,
ip: '127.0.0.1',
index: null,
},
tasmotaMqtt: {
enabled: false,
topic: 'topic',
relayNumber: null,
},
},
octodash: {
customActions: [
{
icon: 'home',
command: 'G28',
color: '#dcdde1',
confirm: false,
exit: true,
},
{
icon: 'ruler-vertical',
command: 'G29',
color: '#4bae50',
confirm: false,
exit: true,
},
{
icon: 'fire-alt',
command: 'M140 S50; M104 S185',
color: '#e1b12c',
confirm: false,
exit: true,
},
{
icon: 'snowflake',
command: 'M140 S0; M104 S0',
color: '#0097e6',
confirm: false,
exit: true,
},
{
icon: 'redo-alt',
command: '[!RELOAD]',
color: '#7f8fa6',
confirm: true,
exit: false,
},
{
icon: 'power-off',
command: '[!SHUTDOWN]',
color: '#e84118',
confirm: true,
exit: false,
},
],
fileSorting: {
attribute: 'name',
order: 'asc',
},
invertAxisControl: {
x: false,
y: false,
z: false,
},
pollingInterval: 2000,
touchscreen: true,
turnScreenOffWhileSleeping: false,
turnOnPrinterWhenExitingSleep: false,
preferPreviewWhilePrinting: false,
previewProgressCircle: false,
screenSleepCommand: 'xset dpms force standby',
screenWakeupCommand: 'xset s off && xset -dpms && xset s noblank',
showExtruderControl: true,
showNotificationCenterIcon: true,
},
};