Camera Connection and Usage
Due to limited device memory (512MB), running the camera function may lead to insufficient memory, potentially causing device lag or other issues.
Please strictly follow the steps below; otherwise, the camera may not be recognized:
- Enable the service first: Ensure the
crowsnestservice is started and running properly. - Configure the camera second: After the service is running normally, proceed with the specific camera parameter settings.
If you have already made a mistake: If you configured the camera but the crowsnest service is not running, you usually need to delete the camera configuration from the Web interface and then re-add it to make the configuration生效.
Note: This refers to deleting the camera configuration entry in the Web interface, not deleting the
crowsnest.cfgconfiguration file.
- Connection Method: Connect the camera directly to a USB port on the upper computer, not to any other non-USB interface.
- Camera Requirements: Use a driverless, plug-and-play USB camera. Such cameras are typically ready to use in Klipper environments on Linux, Armbian, and similar systems without needing additional drivers.
- Software Environment: This tutorial is based on the latest versions of Klipper, Crowsnest, and Fluidd. If you use Mainsail or another frontend, the configuration principles are similar; please refer to their official documentation for specific steps.
Important Note
- Some settings in the configuration file will only take effect when the system starts for the first time after flashing.
- Due to the complexity of the configuration process, it is strongly recommended to connect to the machine via the network and configure it through a browser.
- This tutorial only covers modifiable options.
- Try to use
mainsailorfluiddweb pages for configuration changes. - Please do not enable webpage translation, otherwise the system may fail to start after saving.
- It is best not to input Chinese characters or special characters in the configuration file.
- After modifying the configuration file, the system needs to be restarted for the changes to take effect.
- Do not modify any content below
######### PLEASE DO NOT EDIT THE FOLLOWING #########in the configuration file.
How to Modify the Configuration File
Modifying the Configuration File After Flashing
- Configuration items that only take effect on
first startupmust be modified after flashing by opening the configuration fileconfig.txton the removable diskFlyOS-Confusing a professional text editor.
System Supports Online Configuration Modification
-
For regular configuration items, you can modify them on the system's web configuration page and then restart the system for the changes to take effect.
- Enter the device's IP address in the browser, e.g.:
192.168.1.2/ - In fluidd, as shown on the left below:
Uncheck->Filter hidden files and folders. - In mainsail, as shown on the right below:
Check->Show hidden files.
Loading...Loading...- At this point, you can see the
.flyos-configfolder; entering this folder will reveal thesys-config.conffile. - The
sys-config.conffile is a symbolic link to the configuration fileconfig.txton the removable diskFlyOS-Conf.
Loading...- Open the
sys-config.conffile, modify the desired configuration items, thenSave->Closeand restart the system.
Loading...- Note: The format of configuration items in the
sys-config.conffile iskey=value; do not change it tokey: value. - After saving the modifications, restart the system for the changes to take effect.
- Enter the device's IP address in the browser, e.g.:
Enable Crowsnest Service
- Search for
crowsnest=0in the configuration and change it tocrowsnest=1 - Save the configuration after modification and restart the system
- Please note that after modifying the configuration file, the system needs to be restarted for the changes to take effect.
Loading...
Open Configuration
- There are many types of camera IDs depending on the system; we only need to confirm the ID that will not change.
-
Find the configuration file in Fluidd, then open
crowsnest.confLoading... -
Locate
device:and delete the ID configuration that follows.Loading...
Search for Camera ID
- Ensure the camera is connected to the host computer
- Click
DEVICESat the top, then clickVIDEO, and finally click RefreshLoading... - Find
path_by_idand copy the line that followsLoading...
Add ID
- Add the ID and save the configuration
Loading...
Enable Camera
- Click Settings, select Camera, then click Add Camera
Loading...
- Enter a name of your choice and click Save
Loading...
Check if Enabled
- The camera feed should appear on the dashboard
Loading...
- If it does not display, restart the system again