Adding the gantry camera feed to Fluidd interface on the Creality Hi

So after a long time using Klipper on my other printers I was wondering why the Klipper/Fluidd inteface for the Hi had no webcam feed. I tried adding it in the fluidd interface settings but nothing showed.

I went digging around and found a github place that enables this on the K2 range of printers and thought I’d share here with all of you incase you may want that feature for your Hi.

SSH into your Hi with root access and paste the following:

python -c “from six.moves import urllib; urllib.request.urlretrieve(‘https://github.com/DnG-Crafts/K2-Camera/archive/refs/heads/main.zip’, ‘/root/main.zip’)”
python -c “import shutil; shutil.unpack_archive(‘/root/main.zip’, ‘/root/’)”
sh ~/K2-Camera-main/install.sh

After that you will get your camera working in fluidd after a refresh.

:grin:

With thanks to DNG-Crafts and Teardownlab.

1 Like

I get a syntax error copying and pasting the python commands.

Hi. Type the lines one by one, pressing Enter after each one

root@Creality Hi-62F2:~# ub.com/DnG-Crafts/K2-Camera/archive/refs/heads/main.zip
’, ‘/root/main.zip’)”
-ash: syntax error: unexpected “)”
root@Creality Hi-62F2:~#

The error message I get with the first command

Please check your first line above. There appears to be a copying error. it is not the full command and it will indeed report the syntax error you got as there is no opening “(“ bracket in YOUR line. i.e.

root@Creality Hi-62F2:~# ub.com/DnG-Crafts/K2-Camera/archive/refs/heads/main.zip
’, ‘/root/main.zip’)”

Your line above is nowhere near what the original line is, so check again carefully. You are missing the bit

python -c "from six.moves import urllib; urllib.request.urlretrieve('https://gith

infront of what you put there.

Here is my screenshot for proof it works.

Here are the commands below on seperate lines to make it easier for you to copy and paste.

python -c "from six.moves import urllib; urllib.request.urlretrieve('https://github.com/DnG-Crafts/K2-Camera/archive/refs/heads/main.zip', '/root/main.zip')"
python -c "import shutil; shutil.unpack_archive('/root/main.zip', '/root/')"
sh ~/K2-Camera-main/install.sh

Good luck!! :face_with_medical_mask: