Camera Connection and Usage
Configuration Sequence Reminder
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 Occurs: 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 and Configuration Notes
- Connection Method: Please connect the camera directly to the USB port of the host computer, not to other non-USB ports on the host.
- Camera Requirements: Please use a driver-free, plug-and-play USB camera. Such cameras can typically 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 are using Mainsail or other frontends, the configuration principles are similar. Please refer to their official documentation for specific operations.
Important Notes
Required Reading
- Certain
settingsin the configuration file only take effect on the first system startup after flashing. - Due to the complexity of the configuration process, it is strongly recommended to connect the machine to the network first and then configure it through a browser.
- This tutorial only covers the modifiable options.
Caution
- It is recommended to use
mainsailorfluiddweb interfaces for configuration changes. - Do not enable webpage translation; otherwise, the system may fail to boot after saving.
- It is best to avoid entering 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.
Danger
- Do not modify the content below
######### PLEASE DO NOT EDIT THE FOLLOWING #########in the configuration file.
How to Modify the Configuration File
Modify the Configuration File After Flashing Is Complete
- Configuration items that take effect only on
first startupmust be modified after flashing is complete by using a professional text editor to open the configuration fileconfig.txtin the removable diskFlyOS-Conf.
The System Now Supports Online Configuration Modification
-
If it is a regular configuration item, modify it on the system web configuration page and then restart the system for it to take effect.
- Open the device IP address in a browser, for example:
192.168.1.2/ - In fluidd, as shown on the left in the figure below,
check->Show Hidden Files. - In mainsail, as shown on the right in the figure below,
uncheck->Filter hidden files and folders.
Loading...Loading...- At this point, you can see the
.flyos-configfolder. Entering this folder will show thesys-config.conffile. - The
sys-config.conffile is a soft link to the configuration fileconfig.txtin the removable diskFlyOS-Conf.
Loading...- Open the
sys-config.conffile, modify the configuration items that need to be changed, thenSave->Close, and restart for it to take effect.
Loading...- Note: The format of configuration items in the
sys-config.conffile iskey=value; do not change it tokey: value. - After modifying and saving, restart the system for it to take effect.
- Open the device IP address in a browser, for example:
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
Tip
- 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
Tip
- 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
Loading...