AI-powered 3D print monitoring, anomaly detection, and timelapse via Home Assistant.
2.4K
AI-powered 3D print monitoring, failure detection, and timelapse video generation for Bambu Lab printers through Home Assistant.
GitHub · Documentation · Releases
LayerWatch uses AI vision to watch your Bambu Lab print through a Home Assistant camera and detect failures early:
The same captured frames can also be encoded into a timelapse video automatically.
linux/amd64
linux/arm64
linux/arm/v7
No source checkout or compilation is required.
mkdir -p "$HOME/layerwatch/data"
docker run -d \
--name layerwatch \
--restart unless-stopped \
--pull always \
-p 19091:19091 \
-v "$HOME/layerwatch/data:/app/data" \
-e TZ=Asia/Shanghai \
zhf883680/layerwatch:latest
Open the web interface:
http://<server-ip>:19091
Go to Settings and configure:
Configuration and data are preserved in:
$HOME/layerwatch/data/config.yaml
$HOME/layerwatch/data/monitor.db
$HOME/layerwatch/data/frames/
$HOME/layerwatch/data/videos/
$HOME/layerwatch/data/events/
docker pull zhf883680/layerwatch:latest
docker rm -f layerwatch
Run the same docker run command again. The mounted data directory is preserved.
zhf883680/layerwatch:latest
zhf883680/layerwatch:main
zhf883680/layerwatch:vX.Y.Z
zhf883680/layerwatch:sha-<commit>
Using the example pricing for qwwen-3.7-flash:
At an estimated 30 AI calls per 3D print, the estimated AI cost is approximately:
CNY 0.0098 per print
≈ 0.98 Chinese cents
See the complete calculation in the GitHub documentation.
| Variable | Default | Description |
|---|---|---|
TZ | UTC | Container timezone |
ADDR | :19091 | HTTP listening address |
CONFIG_PATH | /app/data/config.yaml | Configuration file path |
DATA_DIR | /app/data | Database, frames, videos, and alert images |
FFMPEG_BINARY | ffmpeg | FFmpeg executable path |
GitHub: https://github.com/zhf883680/LayerWatch
If LayerWatch is useful to you, consider giving the repository a star.
Content type
Image
Digest
sha256:e69a051e3…
Size
56.3 MB
Last updated
about 2 months ago
docker pull zhf883680/layerwatch