-
Notifications
You must be signed in to change notification settings - Fork 0
System_en
It can be called from:
- A GCODE file
- The Fluidd/Mainsail console (press the
Ckey in Fluidd).
Note
Default values are shown in parentheses.
Power off the printer.
Use alternative camera implementation
Disable the camera on the printer screen, and only then call the macro
Consumption of RAM on the stock chamber:
- 640x480 - 2.9 MiB
- 1280x720 - 7.8 MiB
- 1920x1080 - 18.1 MiB
Many cameras with Ali/Ozon/Wildberries always consume 18 MiB
Note
Enable alternate camera.
- WIDTH: Resolution width (640).
- HEIGHT: Resolution height (480).
- FPS: Framerate (20).
-
VIDEO: Camera device (
video0). - FS: Fix frame size for unstable cameras (0 = off).
Disable alternate camera.
Restart alternate camera.
Remove zmod.
The /opt/config/mod_data folder stores configurations for zmod, fluidd, moonraker, and mainsail.
By default, it is not deleted because users often accidentally run the REMOVE_ZMOD macro.
** REMOVE_ZMOD ** Uninstall ZMOD.
-
FULL=0: Keep/opt/config/mod_data(default). -
FULL=1: Delete all configs.
Reboot into the original system without launching zmod.
Disables configuration files for ZMOD, Moonraker, and Fluidd.
Note
Reboot into stock firmware (disables ZMOD services).
The following remain active:
- Alternative camera
- SSh
Enable native screen and reboot.
Disable native screen to save RAM.
-
GUPPY=0: Disable GuppyScreen. -
GUPPY=1: Enable GuppyScreen (default).
Show memory usage.
Test storage performance.
-
SIZE: Data size in MB (100). -
SYNC: Sync mode (1 = enabled). -
FLASH: Test target (0=EMMC,1=USB,2=RAM). -
RANDOM: Use random data (0=off).
Clear logs/files.
-
LOG=1: Clear logs (default). -
ANY=1: Clear all non-log files.
Show current time.
Set system time (format: YYYY.MM.DD-HH:MM:SS).
Example: DATE_SET DT=2024.01.01-00:00:00
Switch between Fluidd and Mainsail.
Set timezone.
Example: SET_TIMEZONE ZONE=Asia/Yekaterinburg
Backup logs and configs.
Note
Backup configs to mod_data/config.tar.
Restores configuration files from the config.tar archive
The archive must be loaded in Configuration -> mod_data -> config.tar
Update ZMOD via USB.
Stop Moonraker/Fluidd.
Start Moonraker/Fluidd.
Validate G-code MD5 checksums.
-
DELETE=yes: Delete corrupted files.
Update MCU firmware.
Note
Experimental - Update MCU firmware (Klipper v12).
Verify OS file integrity.
-
RESTORE=1: Auto-repair files.
Enable SSH server. Enable SSH tunneling to remote server.
-
SSH_SERVER: Server IP/hostname. -
SSH_PORT: SSH port (22). -
SSH_USER: Remote username. -
VIDEO_PORT: Camera port (8080). -
MOON_PORT: Moonraker port (7125). -
REMOTE_RUN: Command to execute on server (e.g.,./ff5m.sh bot1).
Run ZSSH_ON on the printer.
Add your SSH public key to authorized_keys on the printer.
Disable SSH server.
Restart SSH server.
Reload SSH configuration. (called automatically during prints).