-
Notifications
You must be signed in to change notification settings - Fork 99
/
moonraker.conf
187 lines (166 loc) · 6 KB
/
moonraker.conf
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[server]
host: 0.0.0.0
port: 7125
klippy_uds_address: /tmp/klippy_uds
enable_debug_logging: False
# The maximum size allowed for a file upload. Default is 1024 MiB.
max_upload_size: 1024
# The port to listen on for SSL (HTTPS) connections. Note that the HTTPS
# server will only be started of the certificate and key options outlined
# below are provied. The default is 7130.
ssl_port: 7130
# The path to a self signed ssl certificate. The default is no path, which
# disables HTTPS.
#ssl_certificate_path:
# The path to the private key used to signed the certificate. The default
# is no path, which disables HTTPS.
#ssl_key_path:
[file_manager]
config_path: ~/klipper_config
log_path: ~/klipper_logs
# When set to True the file manager will add uploads to the job_queue when
# the `start_print` flag has been set. The default if False.
queue_gcode_uploads: False
# When set to True gcode files will be run through a "preprocessor"
# during metdata extraction if object tags are detected. This preprocessor
# replaces object tags with G-Code commands compatible with Klipper's
# "cancel object" functionality. Note that this process is file I/O intensive,
# it is not recommended for usage on low resource SBCs such as a Pi Zero.
# The default is False.
enable_object_processing: True
[database]
database_path: ~/.moonraker_database
enable_database_debug: False
[data_store]
# The maximum number of temperature values to store for each sensor. Note
# that this value also applies to the "target", "power", and "fan_speed"
# if the sensor reports them. The default is 1200, which is enough to
# store approximately 20 minutes of data at one value per second.
temperature_store_size: 1200
# The maximum number "gcode lines" to store. The default is 1000.
gcode_store_size: 1000
[job_queue]
# When set to true the job queue will attempt to load the next
# pending job when Klipper reports as "Ready". If the queue has
# been paused it will automatically resume. Note that neither
# the job_transition_delay nor the job_transition_gcode are
# applied in this case. The default is False.
load_on_startup: False
# When set to True the queue will automatically transition to
# the next job in the queue after the current job is complete.
# This is useful for belt printers and other machines with the
# ability to automate clearing of the build area. When False
# the queue will be paused after each job is loaded, requiring
# that users manually resume to load the next print. The default
# is False.
automatic_transition: False
# The amount of time to delay after completion of a job before
# loading the next job on the queue. The default is no delay.
#job_transition_delay:
# A gcode to execute after the completion of a job before the next
# job is loaded. If a "job_transition_delay" has been configured
# this gcode will run after the delay. The default is no gcode.
#job_transition_gcode:
[authorization]
# When set to True a user login is required for authorization if at least
# one user has been created, overriding the "trusted_clients" configuration.
# If no users have been created then trusted client checks will apply.
# The default is False.
force_logins: False
# The time, in days, after which a user is forced to re-enter their
# credentials to log in. This period begins when a logged out user
# first logs in. Successive logins without logging out will not
# renew the timeout. The default is 90 days.
#login_timeout:
cors_domains:
*.local
*://my.mainsail.xyz
*://app.fluidd.xyz
*://voron350
trusted_clients:
192.168.178.0/24
2a02:810d:9340:33f6::/64
172.29.199.0/25
127.0.0.1
[secrets]
secrets_path: ~/.moonraker_secret.json
[octoprint_compat]
[history]
[timelapse]
[update_manager]
channel: dev
enable_repo_debug: True
enable_auto_refresh: True
enable_system_updates: True
refresh_interval: 24
[update_manager mainsail]
type: web_beta
repo: mainsail-crew/mainsail
path: ~/mainsail
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
env: /home/pi/.KlipperScreen-env/bin/python
origin: https://github.com/jordanruthe/KlipperScreen.git
requirements: scripts/KlipperScreen-requirements.txt
venv_args: -p python3
install_script: scripts/KlipperScreen-install.sh
[update_manager kiauh]
type: git_repo
path: ~/kiauh
origin: https://github.com/th33xitus/kiauh.git
is_system_service: False
[update_manager z_calibration]
type: git_repo
path: ~/klipper_z_calibration
origin: https://github.com/protoloft/klipper_z_calibration.git
[update_manager webcamd]
type: git_repo
path: ~/crowsnest
origin: https://github.com/mainsail-crew/crowsnest.git
primary_branch: nightly
[update_manager timelapse]
type: git_repo
primary_branch: main
path: ~/moonraker-timelapse
origin: https://github.com/mainsail-crew/moonraker-timelapse.git
[mqtt]
address: 192.168.178.200
port: 1883
username: {secrets.mqtt_credentials.username}
password: {secrets.mqtt_credentials.password}
# The protocol to use when connecting to the Broker. May be v3.1,
# v3.1.1, and v5. The default is v3.1.1
mqtt_protocol: v3.1.1
# If set to true the MQTT client will subscribe to API topic, ie:
# {instance_name}/moonraker/api/request
# This can be set to False if the user does not wish to allow API
# requests over MQTT. The default is True.
enable_moonraker_api: True
instance_name: printer/V2.660
default_qos: 0
# The QOS level to use for the API topics. If not provided, the
# value specified by "default_qos" will be used.
#api_qos:
[power psu]
type: gpio
pin: !gpio14
initial_state: on
bound_service: klipper
locked_while_printing: True
[power bed]
type: gpio
pin: !gpio15
initial_state: on
off_when_shutdown: True
locked_while_printing: True
[power dryer]
type: mqtt
qos: 1
command_topic: shellies/Schalten/OG/Arbeit/3dTrockner/relay/0/command
command_payload: {command}
retain_command_state: True
query_topic: shellies/Schalten/OG/Arbeit/3dTrockner/relay/0
state_topic: shellies/Schalten/OG/Arbeit/3dTrockner/relay/0
state_response_template: {payload}
query_after_command: False