Skip to content

Add Timelapse Support

Cyril Guislain edited this page Jun 22, 2023 · 1 revision
Show / Hide
cd ~ && git clone https://github.com/mainsail-crew/moonraker-timelapse.git
ln -sf "/home/pi/moonraker-timelapse/component/timelapse.py" "/home/pi/moonraker/moonraker/components/timelapse.py"
ln -sf "/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg" "/home/pi/printer_data/config/timelapse.cfg"
sudo reboot
  • In case you use 3 instances:
Show / Hide
cd ~ && git clone https://github.com/mainsail-crew/moonraker-timelapse.git
ln -sf "/home/pi/moonraker-timelapse/component/timelapse.py" "/home/pi/moonraker/moonraker/components/timelapse.py"
ln -sf "/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg" "/home/pi/printer_1_data/config/timelapse.cfg"
ln -sf "/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg" "/home/pi/printer_2_data/config/timelapse.cfg"
ln -sf "/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg" "/home/pi/printer_3_data/config/timelapse.cfg"
sudo reboot
  • Go to your Mainsail Web interface then click on Machine tab.

  • Open printer.cfg and uncomment (remove the #) to the following line like that:

    [include timelapse.cfg]  #Enable if you want to use Timelapse
    
  • Click on SAVE & RESTART at the top right to save the file.

  • Then, open the moonraker.conf file and add the following lines at the end of the file:

    [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
    
  • Once done, click on SAVE & RESTART at the top right to save the file.

  • You can now click the refresh button (still in the Machine tab) on the Update Manager tile.

  • You will see a new timelapse line appear.

Clone this wiki locally