Skip to main content

Timelapse Function

Frontend Note

FLYOS-FAST currently uses Fluidd. After completing the configuration on this page, you can open the "Timelapse" page (at #/timelapse in the address) from the left menu in Fluidd to view frames, render videos, and adjust supported parameters. For console commands and slicer configuration methods, please refer to Timelapse Usage Instructions.

Feature Description​

The timelapse feature automatically captures photos during the printing process and compiles them into a video after printing is complete, documenting the entire printing process.

Important Notice

System Version Requirements: This feature requires FlyOS-Fast system version greater than or equal to v1.3.7 to function properly.


Installation Steps​

Step 1: Clone the moonraker-timelapse repository​

Connect to the device via SSH, and run the following command to clone moonraker-timelapse to the /data directory:

cd /data
git clone https://github.com/mainsail-crew/moonraker-timelapse.git

Create a symbolic link for the timelapse.py component in the components directory of Moonraker:

ln -s /data/moonraker-timelapse/component/timelapse.py /data/moonraker/moonraker/components/timelapse.py

Step 3: Copy the configuration file​

Copy timelapse.cfg to the printer configuration directory:

cp /data/moonraker-timelapse/klipper_macro/timelapse.cfg /usr/share/printer_data/config/

Step 4: Create the timelapse directory​

Create a timelapse folder under the printer data directory to store time-lapse videos:

mkdir -p /usr/share/printer_data/timelapse

Step 5: Access the configuration file​

Access the machine IP through a browser, enter the Klipper management page, and locate the configuration file.

Step 6: Configure moonraker.conf​

Add the following configuration at the end of the moonraker.conf file:

Configuration Notes

The following is the basic configuration. Other parameters can be configured according to actual needs.

[timelapse]
output_path: /usr/share/printer_data/timelapse/
snapshoturl: http://localhost:8080/webcam/?action=snapshot
frame_path: /tmp/timelapse

Parameter Description:

  • output_path: Path where the final video file is saved
  • snapshoturl: Camera snapshot URL; must match the currently enabled camera service
  • frame_path: Path where temporary frame images are saved

Step 7: Add the configuration file reference​

Add the following to the printer.cfg file:

[include timelapse.cfg]

Step 8: Restart the services​

After the configuration is complete, restart the Klipper and Moonraker services to apply the configuration:

sudo systemctl restart klipper moonraker

Usage Instructions​

  1. After starting the printing task, the system will automatically save frame images to the specified path.
  2. After printing is completed, the images will be automatically combined into a video file.
  3. The video file is saved in the /usr/share/printer_data/timelapse/ directory.

How to Use: View Timelapse Usage Instructions

More Configuration Instructions

For detailed configuration options and usage instructions, please refer to the official documentation: moonraker-timelapse GitHub


Important Notes​

Important Notice
  • Ensure sufficient storage space is available to save timelapse files
  • When printing large files, it is recommended to adjust the capture interval in the configuration
  • The /tmp/timelapse directory will be cleared upon restart, please back up important videos promptly
Loading...