Crowsnest just recently made huge changes to the way it works. This is great news, because it should be much faster and more reliable. Unfortunately, it also means that there are major breaking changes, and you'll need to do some manual steps to upgrade. When you update to V4 through the machine tab in mainsail, crowsnest will stop working until you execute the following steps.
Make sure to read these instructions carefully before starting the process, so you don't miss anything. Just to be safe, download a copy of your crowsnest.conf.
- Update crowsnest in the machine tab in mainsail. Make sure it's >= v4.0.0.
- Open a terminal window or command prompt (win + r, type cmd, hit enter) and ssh into your printer. The password is
raspberryunless you changed it.
ssh pi@<your printer's hostname.local or ip address without the angle brackets>
Uninstall old crowsnest
- Run the following commands:
git checkout legacy/v3
Do you REALLY want to remove existing 'crowsnest'? (y/N)delete the N and type "y" for "Yes", then hit enter.
do you want to remove crowsnest.confanswer "N" for "No".
Ignore the instructions to remove the crowsnest folder.
Ignore the instructions to remove
[update manager crowsnest]from moonraker.conf.
- This next part will take a while, and you'll have to answer a couple of questions along the way.
git checkout master
sudo make install
Do you want to add 'update manager' entry to your moonraker.conf?answer "N" for "No".
Ignore the instructions to add the crowsnest update manager entry manually (it's already there).
When asked to reboot, answer "Y" for "Yes".
After rebooting, go to the Machine tab in mainsail and edit crowsnest.conf. Enter your old settings from the file you downloaded, alternatively crowsnest should have created a backup file called crowsnest.conf.date-of-backup.
(Skip if not using a Raspberry Pi) In crowsnest.conf change
(Skip if not using a Raspberry Pi) Back in mainsail, edit your web camera settings and make sure the "Camera Streamer" option is selected.
(Skip if not using a Raspberry Pi) Change
You're now using Crowsnest v4, which should have much better performance.
Thanks to tomlawesome for the image!
Making legacy CSI cameras work again (for example the raspberry pi cameras v1 or v2)
If you're using an older raspberry pi camera and it stopped working, you'll need to do some additional steps to make it work again.
- Disable legacy camera support by running
sudo raspi-configand selecting
3 Interface Options->
I1 Legacy Camera->
No. Finally press escape to get out of raspi-config.
- Edit /boot/config.txt by running
sudo nano /boot/config.txt. Find the [all] section at the bottom. Depending on which camera you have, you'll need to add a
dtoverlayset statement at the end of the [all] section. Here's a list of sensors and the corresponding set statements. Look up your particular camera to find out which sensor it uses.
|Model||Set Statement||Known Cameras with this sensor|
|OV5647||dtoverlay=ov5647||Raspberry Pi Camera Module V1|
|IMX219||dtoverlay=imx219||Raspberry Pi Camera Module V2|
|IMX477||dtoverlay=imx477||Raspberry Pi HQ Camera|
- reboot with
- reconnect to your printer with ssh
libcamera-hello --list-camerasshould return something like this:
- in this example
/base/soc/i2c0mux/i2c@1/ov5647@36is the new device for crowsnest.conf