First config file checkin
This commit is contained in:
51
config/crowsnest.conf
Normal file
51
config/crowsnest.conf
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
#### crowsnest.conf
|
||||||
|
#### This is a typical default config.
|
||||||
|
#### Also used as default in mainsail / MainsailOS
|
||||||
|
#### See:
|
||||||
|
#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
|
||||||
|
#### for details to configure to your needs.
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
#### #####
|
||||||
|
#### Information about ports and according URL's #####
|
||||||
|
#### #####
|
||||||
|
#####################################################################
|
||||||
|
#### #####
|
||||||
|
#### Port 8080 equals /webcam/?action=[stream/snapshot] #####
|
||||||
|
#### Port 8081 equals /webcam2/?action=[stream/snapshot] #####
|
||||||
|
#### Port 8082 equals /webcam3/?action=[stream/snapshot] #####
|
||||||
|
#### Port 8083 equals /webcam4/?action=[stream/snapshot] #####
|
||||||
|
#### #####
|
||||||
|
#### Note: These ports are default for most Mainsail #####
|
||||||
|
#### installations. To use any other port would involve #####
|
||||||
|
#### changing the proxy configuration or using directly #####
|
||||||
|
#### http://<ip>:<port>/?action=[stream/snapshot] #####
|
||||||
|
#### #####
|
||||||
|
#####################################################################
|
||||||
|
#### RTSP Stream URL: ( if enabled and supported ) #####
|
||||||
|
#### rtsp://<ip>:<rtsp_port>/stream.h264 #####
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
|
||||||
|
[crowsnest]
|
||||||
|
log_path: /home/pi/printer_data/logs/crowsnest.log
|
||||||
|
log_level: verbose # Valid Options are quiet/verbose/debug
|
||||||
|
delete_log: false # Deletes log on every restart, if set to true
|
||||||
|
#no_proxy: false
|
||||||
|
no_proxy: true`
|
||||||
|
|
||||||
|
[cam 1]
|
||||||
|
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
|
||||||
|
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
|
||||||
|
enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
|
||||||
|
rtsp_port: 8554 # Set different ports for each device!
|
||||||
|
port: 8080 # HTTP/MJPG Stream/Snapshot Port
|
||||||
|
device: /dev/video0 # See Log for available ...
|
||||||
|
resolution: 1024x768 # widthxheight format
|
||||||
|
#resolution: 800x600 # widthxheight format
|
||||||
|
#resolution: 1920x1080 # widthxheight format
|
||||||
|
#resolution: 2592x1944 # widthxheight format
|
||||||
|
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
|
||||||
|
#custom_flags: # You can run the Stream Services with custom flags.
|
||||||
|
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
|
||||||
1
config/mainsail.cfg
Symbolic link
1
config/mainsail.cfg
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/home/pi/mainsail-config/mainsail.cfg
|
||||||
91
config/moonraker.conf
Normal file
91
config/moonraker.conf
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
[server]
|
||||||
|
host: 0.0.0.0
|
||||||
|
port: 7125
|
||||||
|
# The maximum size allowed for a file upload (in MiB). Default 1024 MiB
|
||||||
|
#max_upload_size: 1024
|
||||||
|
max_upload_size: 4096
|
||||||
|
# Path to klippy Unix Domain Socket
|
||||||
|
klippy_uds_address: ~/printer_data/comms/klippy.sock
|
||||||
|
|
||||||
|
[file_manager]
|
||||||
|
# post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False
|
||||||
|
enable_object_processing: True
|
||||||
|
|
||||||
|
[authorization]
|
||||||
|
cors_domains:
|
||||||
|
https://my.mainsail.xyz
|
||||||
|
http://my.mainsail.xyz
|
||||||
|
http://*.local
|
||||||
|
http://*.lan
|
||||||
|
trusted_clients:
|
||||||
|
10.0.0.0/8
|
||||||
|
127.0.0.0/8
|
||||||
|
169.254.0.0/16
|
||||||
|
172.16.0.0/12
|
||||||
|
192.168.0.0/16
|
||||||
|
FE80::/10
|
||||||
|
::1/128
|
||||||
|
|
||||||
|
# enables partial support of Octoprint API
|
||||||
|
[octoprint_compat]
|
||||||
|
|
||||||
|
# enables moonraker to track and store print history.
|
||||||
|
[history]
|
||||||
|
|
||||||
|
# this enables moonraker announcements for mainsail
|
||||||
|
[announcements]
|
||||||
|
subscriptions:
|
||||||
|
mainsail
|
||||||
|
|
||||||
|
# this enables moonraker's update manager
|
||||||
|
[update_manager]
|
||||||
|
refresh_interval: 168
|
||||||
|
enable_auto_refresh: True
|
||||||
|
|
||||||
|
[update_manager mainsail]
|
||||||
|
type: web
|
||||||
|
channel: stable
|
||||||
|
repo: mainsail-crew/mainsail
|
||||||
|
path: ~/mainsail
|
||||||
|
|
||||||
|
[update_manager mainsail-config]
|
||||||
|
type: git_repo
|
||||||
|
primary_branch: master
|
||||||
|
path: ~/mainsail-config
|
||||||
|
origin: https://github.com/mainsail-crew/mainsail-config.git
|
||||||
|
managed_services: klipper
|
||||||
|
|
||||||
|
### moonraker-timelapse
|
||||||
|
### Don't forget to include timelapse.cfg to your printer.cfg
|
||||||
|
### Uncomment to enable moonraker-timelapse
|
||||||
|
|
||||||
|
|
||||||
|
#[update_manager timelapse]
|
||||||
|
#type: git_repo
|
||||||
|
#primary_branch: main
|
||||||
|
#path: ~/moonraker-timelapse
|
||||||
|
#origin: https://github.com/mainsail-crew/moonraker-timelapse.git
|
||||||
|
#managed_services: klipper moonraker
|
||||||
|
|
||||||
|
#[timelapse]
|
||||||
|
### Directory where the generated video will be saved
|
||||||
|
#output_path: ~/timelapse/
|
||||||
|
### Directory where ffmpeg is installed
|
||||||
|
#ffmpeg_binary_path: /usr/bin/ffmpeg
|
||||||
|
|
||||||
|
# Crowsnest update_manager entry
|
||||||
|
[update_manager crowsnest]
|
||||||
|
type: git_repo
|
||||||
|
path: ~/crowsnest
|
||||||
|
origin: https://github.com/mainsail-crew/crowsnest.git
|
||||||
|
managed_services: crowsnest
|
||||||
|
install_script: tools/pkglist.sh
|
||||||
|
|
||||||
|
# Sonar update_manager entry
|
||||||
|
[update_manager sonar]
|
||||||
|
type: git_repo
|
||||||
|
path: ~/sonar
|
||||||
|
origin: https://github.com/mainsail-crew/sonar.git
|
||||||
|
primary_branch: main
|
||||||
|
managed_services: sonar
|
||||||
|
install_script: tools/install.sh
|
||||||
171
config/printer.cfg
Normal file
171
config/printer.cfg
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
# This file contains common pin mappings for the 2018 Creality
|
||||||
|
# Ender 3. To use this config, the firmware should be compiled for the
|
||||||
|
# AVR atmega1284p.
|
||||||
|
|
||||||
|
# Note, a number of Melzi boards are shipped with a bootloader that
|
||||||
|
# requires the following command to flash the board:
|
||||||
|
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
|
||||||
|
# If the above command does not work and "make flash" does not work
|
||||||
|
# then one may need to flash a bootloader to the board - see the
|
||||||
|
# Klipper docs/Bootloaders.md file for more information.
|
||||||
|
|
||||||
|
[include mainsail.cfg]
|
||||||
|
|
||||||
|
[include scottc.cfg]
|
||||||
|
|
||||||
|
# See docs/Config_Reference.md for a description of parameters.
|
||||||
|
|
||||||
|
[stepper_x]
|
||||||
|
step_pin: PD7
|
||||||
|
dir_pin: !PC5
|
||||||
|
enable_pin: !PD6
|
||||||
|
microsteps: 16
|
||||||
|
rotation_distance: 40
|
||||||
|
endstop_pin: ^PC2
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 235
|
||||||
|
homing_speed: 50
|
||||||
|
|
||||||
|
[stepper_y]
|
||||||
|
step_pin: PC6
|
||||||
|
dir_pin: !PC7
|
||||||
|
enable_pin: !PD6
|
||||||
|
microsteps: 16
|
||||||
|
rotation_distance: 40
|
||||||
|
endstop_pin: ^PC3
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 235
|
||||||
|
homing_speed: 50
|
||||||
|
|
||||||
|
[stepper_z]
|
||||||
|
step_pin: PB3
|
||||||
|
dir_pin: PB2
|
||||||
|
enable_pin: !PA5
|
||||||
|
microsteps: 16
|
||||||
|
rotation_distance: 8
|
||||||
|
endstop_pin: probe:z_virtual_endstop
|
||||||
|
position_max: 250
|
||||||
|
|
||||||
|
[extruder]
|
||||||
|
max_extrude_only_distance: 100.0
|
||||||
|
step_pin: PB1
|
||||||
|
dir_pin: !PB0
|
||||||
|
enable_pin: !PD6
|
||||||
|
microsteps: 16
|
||||||
|
rotation_distance: 23.046
|
||||||
|
nozzle_diameter: 0.600
|
||||||
|
filament_diameter: 1.750
|
||||||
|
heater_pin: PD5
|
||||||
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
|
sensor_pin: PA7
|
||||||
|
min_temp: 0
|
||||||
|
max_temp: 250
|
||||||
|
|
||||||
|
[heater_bed]
|
||||||
|
heater_pin: PD4
|
||||||
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
|
sensor_pin: PA6
|
||||||
|
min_temp: 0
|
||||||
|
max_temp: 80
|
||||||
|
|
||||||
|
[fan]
|
||||||
|
pin: PB4
|
||||||
|
|
||||||
|
[mcu]
|
||||||
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
||||||
|
baud: 250000
|
||||||
|
|
||||||
|
[printer]
|
||||||
|
kinematics: cartesian
|
||||||
|
max_velocity: 300
|
||||||
|
max_accel: 3000
|
||||||
|
max_z_velocity: 5
|
||||||
|
max_z_accel: 100
|
||||||
|
|
||||||
|
[bed_screws]
|
||||||
|
screw1: 30.5, 37
|
||||||
|
screw2: 30.5, 207
|
||||||
|
screw3: 204.5, 207
|
||||||
|
screw4: 204.5, 37
|
||||||
|
|
||||||
|
[display]
|
||||||
|
lcd_type: st7920
|
||||||
|
cs_pin: PA3
|
||||||
|
sclk_pin: PA1
|
||||||
|
sid_pin: PC1
|
||||||
|
encoder_pins: ^PD2, ^PD3
|
||||||
|
click_pin: ^!PC0
|
||||||
|
|
||||||
|
# The print bed can move so far to the front, that the nozzle can reach the
|
||||||
|
# plastic cover of the print bed heater cable (only when the bed is moved by
|
||||||
|
# hand). By homing the Y axis before the X axis, it is ensured the nozzle will
|
||||||
|
# not melt through the plastic part.
|
||||||
|
# BEWARE: You will lose the ability to home axes individually. The printer will
|
||||||
|
# always home all axes for every G28 command.
|
||||||
|
#[homing_override]
|
||||||
|
#gcode:
|
||||||
|
# G28 Y0
|
||||||
|
# G28 X0
|
||||||
|
# G28 Z0
|
||||||
|
|
||||||
|
[bltouch]
|
||||||
|
sensor_pin: ^PC4
|
||||||
|
control_pin: PA4
|
||||||
|
x_offset: -40.00
|
||||||
|
y_offset: -8.00
|
||||||
|
z_offset: 2.60
|
||||||
|
|
||||||
|
[safe_z_home]
|
||||||
|
home_xy_position: 162, 125 # Change coordinates to the center of your print bed
|
||||||
|
speed: 50
|
||||||
|
z_hop: 10 # Move up 10mm
|
||||||
|
z_hop_speed: 5
|
||||||
|
|
||||||
|
[bed_mesh]
|
||||||
|
speed: 120
|
||||||
|
horizontal_move_z: 5
|
||||||
|
mesh_min: 20, 20
|
||||||
|
mesh_max: 195, 220
|
||||||
|
mesh_pps: 2, 2
|
||||||
|
probe_count: 8,8
|
||||||
|
algorithm: bicubic
|
||||||
|
fade_start: 1
|
||||||
|
fade_end: 10
|
||||||
|
fade_target: 0
|
||||||
|
|
||||||
|
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||||
|
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||||
|
#*#
|
||||||
|
#*# [heater_bed]
|
||||||
|
#*# control = pid
|
||||||
|
#*# pid_kp = 64.222
|
||||||
|
#*# pid_ki = 1.278
|
||||||
|
#*# pid_kd = 806.790
|
||||||
|
#*#
|
||||||
|
#*# [extruder]
|
||||||
|
#*# control = pid
|
||||||
|
#*# pid_kp = 26.561
|
||||||
|
#*# pid_ki = 1.476
|
||||||
|
#*# pid_kd = 119.524
|
||||||
|
#*#
|
||||||
|
#*# [bed_mesh default]
|
||||||
|
#*# version = 1
|
||||||
|
#*# points =
|
||||||
|
#*# 0.027500, 0.022500, -0.012500, -0.017500, -0.042500, -0.050000, -0.047500, -0.035000
|
||||||
|
#*# 0.062500, 0.047500, 0.015000, 0.010000, -0.022500, -0.030000, -0.027500, -0.037500
|
||||||
|
#*# 0.110000, 0.100000, 0.050000, 0.037500, -0.010000, -0.022500, -0.027500, -0.035000
|
||||||
|
#*# 0.117500, 0.105000, 0.065000, 0.037500, 0.000000, -0.007500, -0.022500, -0.022500
|
||||||
|
#*# 0.132500, 0.112500, 0.072500, 0.055000, 0.017500, -0.007500, -0.017500, -0.025000
|
||||||
|
#*# 0.152500, 0.125000, 0.087500, 0.060000, 0.025000, 0.005000, -0.002500, -0.010000
|
||||||
|
#*# 0.105000, 0.102500, 0.062500, 0.045000, 0.022500, 0.015000, 0.015000, 0.025000
|
||||||
|
#*# 0.100000, 0.087500, 0.055000, 0.055000, 0.032500, 0.025000, 0.037500, 0.035000
|
||||||
|
#*# x_count = 8
|
||||||
|
#*# y_count = 8
|
||||||
|
#*# mesh_x_pps = 2
|
||||||
|
#*# mesh_y_pps = 2
|
||||||
|
#*# algo = bicubic
|
||||||
|
#*# tension = 0.2
|
||||||
|
#*# min_x = 20.0
|
||||||
|
#*# max_x = 195.0
|
||||||
|
#*# min_y = 20.0
|
||||||
|
#*# max_y = 219.99
|
||||||
82
config/scottc.cfg
Normal file
82
config/scottc.cfg
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
### Requested by OrcaSlicer
|
||||||
|
# https://github.com/SoftFever/Orcaslicer/README.md
|
||||||
|
|
||||||
|
# Enable object exclusion
|
||||||
|
[exclude_object]
|
||||||
|
|
||||||
|
# Enable arcs support
|
||||||
|
[gcode_arcs]
|
||||||
|
resolution: 0.1
|
||||||
|
|
||||||
|
### END
|
||||||
|
|
||||||
|
[respond]
|
||||||
|
|
||||||
|
[gcode_macro G29]
|
||||||
|
gcode:
|
||||||
|
G28
|
||||||
|
BED_MESH_CALIBRATE
|
||||||
|
G0 X0 Y0 Z10 F6000
|
||||||
|
BED_MESH_PROFILE save=default
|
||||||
|
SAVE_CONFIG
|
||||||
|
|
||||||
|
[gcode_macro START_PRINT]
|
||||||
|
gcode:
|
||||||
|
{% set BED_TEMP = params.BED_TEMP|default(60)|float %}
|
||||||
|
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(205)|float %}
|
||||||
|
|
||||||
|
# Load previously saved bed mesh
|
||||||
|
BED_MESH_PROFILE LOAD=default
|
||||||
|
|
||||||
|
# Start bed heating
|
||||||
|
M140 S{BED_TEMP}
|
||||||
|
# Use absolute coordinates
|
||||||
|
G90
|
||||||
|
M220 S100 ;Reset Feedrate
|
||||||
|
M221 S100 ;Reset Flowrate
|
||||||
|
G92 E0 ;Reset Extruder
|
||||||
|
# Reset the G-Code Z offset (adjust Z offset if needed)
|
||||||
|
SET_GCODE_OFFSET Z=0
|
||||||
|
# Home the printer
|
||||||
|
G28
|
||||||
|
# Move the nozzle near the bed
|
||||||
|
G1 Z5 F3000
|
||||||
|
# Move the nozzle very close to the bed
|
||||||
|
##G1 Z0.15 F300
|
||||||
|
# Wait for bed to reach temperature
|
||||||
|
M190 S{BED_TEMP}
|
||||||
|
# Set and wait for nozzle to reach temperature
|
||||||
|
M109 S{EXTRUDER_TEMP}
|
||||||
|
|
||||||
|
[gcode_macro END_PRINT]
|
||||||
|
gcode:
|
||||||
|
# Turn off bed, extruder, and fan
|
||||||
|
M140 S0
|
||||||
|
M104 S0
|
||||||
|
M106 S0
|
||||||
|
# Move nozzle away from print while retracting
|
||||||
|
G91
|
||||||
|
G1 X-2 Y-2 E-3 F300
|
||||||
|
# Raise nozzle by 10mm
|
||||||
|
G1 Z10 F3000
|
||||||
|
G90
|
||||||
|
# Disable steppers
|
||||||
|
M84
|
||||||
|
|
||||||
|
[gcode_macro PRIME_NOZZLE]
|
||||||
|
gcode:
|
||||||
|
G90 ; use absolute coordinates
|
||||||
|
M83 ; extruder relative mode
|
||||||
|
M220 S100 ;Reset Feedrate
|
||||||
|
M221 S100 ;Reset Flowrate
|
||||||
|
G92 E0 ;Reset Extruder
|
||||||
|
|
||||||
|
G1 Z10 F240
|
||||||
|
G1 X10 Y10 F3000
|
||||||
|
G1 Z0.28 F240
|
||||||
|
G92 E0
|
||||||
|
G1 Y140 E10 F1500 ; prime the nozzle
|
||||||
|
G1 X10.6 F5000
|
||||||
|
G92 E0
|
||||||
|
G1 Y10 E10 F1200 ; prime the nozzle
|
||||||
|
G92 E0
|
||||||
17
config/sonar.conf
Normal file
17
config/sonar.conf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#### Sonar - A WiFi Keepalive daemon
|
||||||
|
####
|
||||||
|
#### Written by Stephan Wendel aka KwadFan <me@stephanwe.de>
|
||||||
|
#### Copyright 2022
|
||||||
|
#### https://github.com/mainsail-crew/sonar
|
||||||
|
####
|
||||||
|
#### This File is distributed under GPLv3
|
||||||
|
####
|
||||||
|
|
||||||
|
[sonar]
|
||||||
|
enable: false # false to disable till next reboot (will stop again if not set to true)
|
||||||
|
debug_log: false # if set to true, sonar will log ever ping with triptime and date/time
|
||||||
|
persistant_log: false # If true logs in /var/log/sonar.log, false logs to systemd
|
||||||
|
target: auto # IP Address, URL or auto as ping target
|
||||||
|
count: 3 # How often should be pinged?
|
||||||
|
interval: 60 # Ping again after X seconds
|
||||||
|
restart_treshold: 10 # If failed, restart WiFi after X seconds
|
||||||
1
config/timelapse.cfg
Symbolic link
1
config/timelapse.cfg
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg
|
||||||
Reference in New Issue
Block a user