Camera Connection and Usage
Please strictly follow the sequence below, otherwise the camera may not be recognized:
- First, enable the service: Ensure the
crowsnestservice is started and running normally. - Then, configure the camera: After the service is running normally, proceed with the specific parameter settings for the camera.
If misoperation occurred: If you configured the camera first but the crowsnest service was not enabled, you typically need to delete the camera configuration in the Web interface and then re-add it to ensure the configuration takes effect.
Note: This refers to deleting the camera configuration entry in the Web interface, not deleting the
crowsnest.cfgconfiguration file.
- Connection Method: Please plug the camera directly into the USB port of the host computer, not into other non-USB ports on the host.
- Camera Requirements: Please use a driver-free, plug-and-play USB camera. Such cameras can usually be used directly in Linux, Armbian, and other Klipper environments without needing additional drivers.
- Software Environment: This tutorial is based on the latest versions of Klipper, Crowsnest, and Fluidd. If you use Mainsail or other frontends, the configuration principles are similar. Please refer to their official documentation for specific operations.
Important Notes
- Settings in the configuration file will only take effect the first time the system starts after flashing.
- As the configuration process is relatively complicated, it is highly recommended to connect to the device via network and then configure through a browser.
- This tutorial only provides modifiable options.
- It is recommended to use either
mainsailorfluiddweb interfaces for configuration changes. - Please do not enable browser translation, as the system may fail to start after saving.
- It is better not to enter Chinese or special characters in the configuration file.
- Changes to the configuration file will take effect only after restarting the system.
- 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 options that only take effect on the
first bootmust be modified by using a professional text editor to open theconfig.txtconfiguration file located in theFlyOS-Confremovable disk immediately after flashing.
Online Configuration Modification After System Startup
-
For general configuration options, you can modify them via the web configuration interface of the system and the changes will take effect after restarting the system.
- Open the device's IP address in your browser, for example:
192.168.1.2/ - In fluidd, uncheck the option as shown in the left image below ->
Hide hidden files and folders. - In mainsail, check the option as shown in the right image below ->
Show hidden files.
Loading...Loading...- You will now see the
.flyos-configfolder. Inside this folder there is a file namedsys-config.conf.
Loading...- The
sys-config.conffile is a symbolic link to theconfig.txtconfiguration file located in theFlyOS-Confremovable disk.
Loading...-
Open the
sys-config.conffile, modify the required configuration items, thenSave->Closeand restart the system. -
Note: The format of configuration items in the
sys-config.conffile iskey=value. Do not change it tokey: value. -
After saving modifications, restart the system for the changes to take effect.
- Open the device's IP address in your browser, for example:
Enable the Crowsnest Service
- In the configuration, search for
crowsnest=0and change it tocrowsnest=1 - After making the changes, save the configuration and restart the system
- Please note that after modifying the configuration file, a system restart is required for the changes to take effect.
Loading...
Open the Configuration
- The camera ID varies depending on the system; we only need to identify the ID that will not change.
-
In Fluidd, locate the configuration file and open
crowsnest.confLoading... -
Find
device:and delete the ID configured after itLoading...
Search for Camera ID
- Ensure the camera is connected to the host machine.
- Click on
DEVICESat the top, then clickVIDEO, and finally click refreshLoading... - Locate
path_by_idand copy the line following itLoading...
Add the ID
- Add the ID and save the configuration
Loading...
Enable the Camera
- Click on Settings, select Camera, and then click Add Camera
Loading...
- Enter a name of your choice and click Save
Loading...
Check if Enabled
- Click on the Dashboard; the camera feed should now appear normally
Loading...
- If it does not display, restart the system again