Camera Connection and Usage
Please strictly follow the order 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 camera parameter settings.
If you have already misoperated: If you configured the camera first but the crowsnest service was not enabled, you usually need to delete the camera configuration in the Web interface and then add it again 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 a USB port on the host computer, not into other non-USB interfaces on the host.
- Camera Requirements: Please use a driverless, plug-and-play USB camera. Such cameras can usually be used directly in Klipper environments on systems like Linux, Armbian, etc., without requiring additional driver installation.
- 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 change, save the configuration and restart the system
- Please note, after modifying the configuration file, a system restart is required for the changes to take effect.
Loading...
Open Configuration
- The camera ID varies 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 itLoading...
Search for Camera ID
- Please ensure the camera is already connected to the host computer.
- Click on
DEVICESabove, then clickVIDEO, and finally click refreshLoading... - Find
path_by_idand copy the line following itLoading...
Add ID
- Add the ID and save the configuration
Loading...
Enable Camera
- Click 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.