Hi everyone,
I had been looking for a way to get the Snapmaker U1’s built-in camera working reliably in Fluidd.
There are already several community solutions and discussions around getting the U1 camera into Fluidd. Some people have had success with them, but the approaches I tried either didn’t work reliably for my setup or required additional components or changes I didn’t want to make.
So I started digging into how the stock U1 camera actually works and ended up building my own solution.
My goals were:
- Keep the stock Snapmaker firmware
- Keep using Snapmaker’s stock camera service
- Run everything directly on the U1
- No Raspberry Pi or external computer
- No Docker container
- No replacement camera firmware
- Have the camera automatically return after a reboot
- Have a recovery system that doesn’t blindly overwrite newer Snapmaker firmware configuration
I’ve now released it as an unofficial community project in case it’s useful to other U1 owners.
What it does
The project uses the U1’s built-in MIPI camera and Snapmaker’s existing unisrv camera service.
It adds a lightweight MJPEG bridge that provides the camera endpoints Fluidd expects:
/webcam/?action=stream
and
/webcam/?action=snapshot
Once configured, the stock U1 camera appears directly in Fluidd.
Features
- Uses the U1’s built-in camera
- Live camera view directly in Fluidd
- Runs entirely on the U1
- No external computer required
- No Docker container required
- No replacement/custom camera firmware
- Uses the stock Snapmaker
unisrvcamera service - Automatically starts after reboot
- Install script
- Repair script
- Status script
- Uninstall script
- Persistent recovery files stored on the U1
- Firmware compatibility checks before recovery
Tested on an actual U1
I didn’t want to publish this based only on whether the camera appeared once.
Before releasing v1.0.0 I tested:
- Initial camera startup
- Live Fluidd video
- Camera service restart
- Repair using the actual downloadable release package
- Recovery from a stale camera image condition
- Full U1 reboot
- Automatic camera startup after reboot
- Persistence of the Fluidd camera
- Preservation of the existing U1 boot configuration
Testing actually uncovered a couple of startup/recovery problems, including a stale-image condition that could make the service think the camera was running when it wasn’t. Those were fixed and retested before I published v1.0.0.
Firmware-update safety
This was particularly important to me.
I did not want a repair script blindly restoring an old S99_bootcontrol or other configuration after Snapmaker releases a new firmware version.
The recovery philosophy is:
Detect → Validate → Back up → Repair
Before modifying the boot configuration, the repair system checks that the expected stock camera, MQTT, nginx/Fluidd and boot environment still exists.
If a future Snapmaker firmware changes something the project depends on, the repair process is designed to STOP rather than force an old configuration onto firmware it doesn’t recognize.
If that happens, check the GitHub project for an updated release before attempting to repair the installation.
GitHub
Project:
v1.0.0 release:
Installation instructions and the Fluidd camera settings are in the README.
Important
This is an unofficial community project.
It is not affiliated with, endorsed by, or supported by Snapmaker.
It modifies startup configuration on the U1 and is provided as-is. Use it at your own risk. Modifications to your printer may affect support or warranty coverage.
The project does not distribute Snapmaker proprietary firmware files.
I’d be interested to hear how it works on other U1s. If you run into a problem, please include your U1 firmware version and the output from status.sh so I can see what’s happening.
