mirror of
https://github.com/MrUnknownDE/ender3-s1-backup.git
synced 2026-04-19 14:13:45 +02:00
New Backup on boot - 13/01/26 - 19:29:19
This commit is contained in:
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
.env
|
||||||
|
secrets.conf
|
||||||
|
*.swp
|
||||||
|
*.tmp
|
||||||
|
printer-[0-9]*_[0-9]*.cfg
|
||||||
|
*.bak
|
||||||
|
*.bkp
|
||||||
|
*.csv
|
||||||
|
*.zip
|
||||||
4
README.md
Normal file
4
README.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Klipper-Backup 💾
|
||||||
|
Klipper backup script for manual or automated GitHub backups
|
||||||
|
|
||||||
|
This backup is provided by [Klipper-Backup](https://github.com/Staubgeborener/Klipper-Backup).
|
||||||
45
printer_data/config/crowsnest.conf
Normal file
45
printer_data/config/crowsnest.conf
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
#### crowsnest.conf
|
||||||
|
#### This is the default config after installation.
|
||||||
|
#### It is also used as the default config in MainsailOS.
|
||||||
|
#### For details on how to configure this to your needs, see:
|
||||||
|
#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
#### #####
|
||||||
|
#### 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. Using any other port would involve #####
|
||||||
|
#### changing the proxy configuration or using URLs #####
|
||||||
|
#### with the specific port like #####
|
||||||
|
#### http://<ip>:<port>/?action=[stream/snapshot] #####
|
||||||
|
#### #####
|
||||||
|
#####################################################################
|
||||||
|
#### RTSP Stream URL: ( if enabled and supported ) #####
|
||||||
|
#### rtsp://<ip>:<rtsp_port>/stream.h264 #####
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
|
||||||
|
[crowsnest]
|
||||||
|
log_path: /home/johannes/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 # If set to true, no reverse proxy is required. Only change this, if you know what you are doing.
|
||||||
|
|
||||||
|
[cam 1]
|
||||||
|
mode: ustreamer # ustreamer - Provides MJPG and snapshots. (All devices)
|
||||||
|
# camera-streamer - Provides WebRTC, MJPG and snapshots. (only RPiOS + RPi 0/1/2/3/4)
|
||||||
|
port: 8080 # HTTP/MJPG stream/snapshot port
|
||||||
|
device: /dev/video0 # See log for available devices
|
||||||
|
resolution: 640x480 # <width>x<height> format
|
||||||
|
max_fps: 15 # If hardware supports it, 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 for your camera capabilities.
|
||||||
60
printer_data/config/moonraker.conf
Normal file
60
printer_data/config/moonraker.conf
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
[server]
|
||||||
|
host: 0.0.0.0
|
||||||
|
port: 7125
|
||||||
|
klippy_uds_address: /home/johannes/printer_data/comms/klippy.sock
|
||||||
|
|
||||||
|
[authorization]
|
||||||
|
trusted_clients:
|
||||||
|
10.0.0.0/16
|
||||||
|
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
|
||||||
|
FC00::/7
|
||||||
|
FE80::/10
|
||||||
|
::1/128
|
||||||
|
cors_domains:
|
||||||
|
*.lan
|
||||||
|
*.local
|
||||||
|
*://localhost
|
||||||
|
*://localhost:*
|
||||||
|
*://my.mainsail.xyz
|
||||||
|
*://app.fluidd.xyz
|
||||||
|
|
||||||
|
[octoprint_compat]
|
||||||
|
|
||||||
|
[history]
|
||||||
|
|
||||||
|
[update_manager]
|
||||||
|
channel: dev
|
||||||
|
refresh_interval: 168
|
||||||
|
|
||||||
|
[update_manager mainsail]
|
||||||
|
path: /home/johannes/mainsail
|
||||||
|
repo: mainsail-crew/mainsail
|
||||||
|
channel: stable
|
||||||
|
type: web
|
||||||
|
persistent_files:
|
||||||
|
config.json
|
||||||
|
|
||||||
|
[update_manager mainsail-config]
|
||||||
|
managed_services: klipper
|
||||||
|
origin: https://github.com/mainsail-crew/mainsail-config.git
|
||||||
|
path: /home/johannes/mainsail-config
|
||||||
|
primary_branch: master
|
||||||
|
type: git_repo
|
||||||
|
|
||||||
|
# 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
|
||||||
|
[update_manager klipper-backup]
|
||||||
|
type: git_repo
|
||||||
|
path: ~/klipper-backup
|
||||||
|
origin: https://github.com/Staubgeborener/klipper-backup.git
|
||||||
|
managed_services: moonraker
|
||||||
|
primary_branch: main
|
||||||
46
printer_data/config/moonraker.conf.backup
Normal file
46
printer_data/config/moonraker.conf.backup
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
[server]
|
||||||
|
host: 0.0.0.0
|
||||||
|
port: 7125
|
||||||
|
klippy_uds_address: /home/johannes/printer_data/comms/klippy.sock
|
||||||
|
|
||||||
|
[authorization]
|
||||||
|
trusted_clients:
|
||||||
|
10.0.0.0/16
|
||||||
|
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
|
||||||
|
FC00::/7
|
||||||
|
FE80::/10
|
||||||
|
::1/128
|
||||||
|
cors_domains:
|
||||||
|
*.lan
|
||||||
|
*.local
|
||||||
|
*://localhost
|
||||||
|
*://localhost:*
|
||||||
|
*://my.mainsail.xyz
|
||||||
|
*://app.fluidd.xyz
|
||||||
|
|
||||||
|
[octoprint_compat]
|
||||||
|
|
||||||
|
[history]
|
||||||
|
|
||||||
|
[update_manager]
|
||||||
|
channel: dev
|
||||||
|
refresh_interval: 168
|
||||||
|
|
||||||
|
[update_manager mainsail]
|
||||||
|
path: /home/johannes/mainsail
|
||||||
|
repo: mainsail-crew/mainsail
|
||||||
|
channel: stable
|
||||||
|
type: web
|
||||||
|
persistent_files:
|
||||||
|
config.json
|
||||||
|
|
||||||
|
[update_manager mainsail-config]
|
||||||
|
managed_services: klipper
|
||||||
|
origin: https://github.com/mainsail-crew/mainsail-config.git
|
||||||
|
path: /home/johannes/mainsail-config
|
||||||
|
primary_branch: master
|
||||||
|
type: git_repo
|
||||||
14
printer_data/config/printer.cfg
Normal file
14
printer_data/config/printer.cfg
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[include mainsail.cfg]
|
||||||
|
[mcu]
|
||||||
|
serial: /dev/serial/by-id/<your-mcu-id>
|
||||||
|
|
||||||
|
[virtual_sdcard]
|
||||||
|
path: /home/johannes/printer_data/gcodes
|
||||||
|
on_error_gcode: CANCEL_PRINT
|
||||||
|
|
||||||
|
[printer]
|
||||||
|
kinematics: none
|
||||||
|
max_velocity: 1000
|
||||||
|
max_accel: 1000
|
||||||
|
|
||||||
|
[include shell_command.cfg]
|
||||||
7
printer_data/config/shell_command.cfg
Normal file
7
printer_data/config/shell_command.cfg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[gcode_shell_command hello_world]
|
||||||
|
command: echo hello world
|
||||||
|
timeout: 2.
|
||||||
|
verbose: True
|
||||||
|
[gcode_macro HELLO_WORLD]
|
||||||
|
gcode:
|
||||||
|
RUN_SHELL_COMMAND CMD=hello_world
|
||||||
Reference in New Issue
Block a user