Camera and timelapse¶
Turning the camera on and off¶
With the Power Macros you get three commands:
| Command | What it does |
|---|---|
CAMERA_OFF |
Turns the camera off |
CAMERA_ON |
Turns it back on |
RELOAD_CAMERA |
Restarts it |
With the camera off, the timelapse does not record frames.
Camera Support (option 16)¶
It adds image adjustments and offers support for a USB camera (which also requires Entware). You need Klipper Gcode Shell Command first.
CAM_SETTINGS shows the current settings. Each adjustment is a CAM_ command with its value, for example:
CAM_BRIGHTNESS BRIGHTNESS=0
CAM_CONTRAST CONTRAST=32
| Adjustment | Values |
|---|---|
BRIGHTNESS |
from -64 to 64 |
CONTRAST |
from 0 to 64 |
SATURATION |
from 0 to 128 |
HUE |
from -40 to 40 |
WHITE_BALANCE_TEMPERATURE_AUTO |
0 off, 1 on |
WHITE_BALANCE_TEMPERATURE |
from 2800 to 6500 |
GAMMA |
from 72 to 500 |
GAIN |
from 0 to 100 |
SHARPNESS |
from 0 to 6 |
BACKLIGHT_COMPENSATION |
from 0 to 2 |
POWER_LINE_FREQUENCY |
from 0 to 2 |
EXPOSURE_AUTO |
1 manual, 3 automatic |
EXPOSURE_AUTO_PRIORITY |
0 off, 1 on |
These values are for the original camera; another camera may have different adjustments.
Timelapse (option 15)¶
Moonraker Timelapse records one frame per layer and creates the video at the end. You need Entware and a working camera.
| Command | What it does |
|---|---|
GET_TIMELAPSE_SETUP |
Shows the settings |
TIMELAPSE_TAKE_FRAME |
Takes a frame |
TIMELAPSE_RENDER |
Creates the video |
To take a frame at every layer, the slicer must send TIMELAPSE_TAKE_FRAME at each layer change: see OrcaSlicer. You can watch and download the videos from Fluidd.