Camera Connection and Usage
Please be sure to operate in the following order; otherwise, the camera may not be recognized:
- Enable the service first: Ensure
crowsnestis turned on. - Configure the camera afterwards: Wait until the service is running normally before proceeding with specific camera parameter configuration.
If the order is incorrect: If you have already configured the camera but the crowsnest service is not enabled, you usually need to delete the existing configuration and add it again to ensure the configuration takes effect.
- Connection method: Connect the camera externally via a USB-A port, and it will be recognized and configured by the host machine.
- Camera requirements: Please use a driver-free, plug-and-play USB camera. Such cameras can be used directly in Klipper on Linux, Armbian, and other systems without requiring additional driver installation.
- Software environment: This tutorial is based on the latest versions of Klipper, Crowsnest, and Fluidd. If you are using Mainsail or other tools, the configuration principles are similar. Please refer to their official documentation for specific steps.
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 change, 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 Configuration
- There are many types of camera IDs depending on the system; we only need to determine the ID that will not change.
-
In Fluidd, find the configuration file, then open
crowsnest.confLoading... -
Find
device:and delete the ID configuration after it.Loading...
Search for Camera ID
- Please ensure the camera is already connected to the host machine.
- Click on
DEVICESabove, then clickVIDEO, and finally click refresh.Loading... - Find
path_by_idand copy the line after it.Loading...
Add ID
- Add the ID and save the configuration.
Loading...
Enable Camera
- Click on Settings, select Camera, then click Add Camera.
Loading...
- Enter a name you like and click Save.
Loading...
Check if Enabled
- Click on the Dashboard; normally, the camera feed should now appear.
Loading...
- If it does not display, you need to restart the system again.