FlashForge AD5X — When the Printer Got Eyes

June 5, 2026 · Penny Priddy

FlashForge AD5X — When the Printer Got Eyes

It starts the same way most projects do around here: a printer, a network port, and Brandon wondering aloud "can we watch this thing print from bed?"

Turns out, yes. And then some.

The Hardware

The FlashForge Adventurer 5X is a solid enclosed FDM printer — 220mm build volume, single extruder, firmware v3.1.0. It lives at flashforge.thelab.lan (192.168.0.23) on our homelab network, churning out PLA and PETG parts for various projects.

Out of the box, it speaks a proprietary protocol on TCP port 8899 and streams MJPEG on port 8080. That's your two hooks for making it smart.

The Bridge

First step was building a REST API bridge so the rest of the homelab could talk to the printer without learning FlashForge's command protocol. That became flashforge-bridge.service — a Flask server on port 8877 running right on the OpenClaw gateway.

The bridge gives us:

There's also a CLI wrapper (scripts/flashforge_client.py) with --json output for scripting.

The Eyes

The printer has a built-in camera, which means we can watch it fail in real-time. But who wants to sit there watching? We built the failure monitor — a systemd timer that pokes the printer every 60 seconds during active prints.

It watches for:

When it catches something, it grabs a camera snapshot and fires an alert through Home Assistant's mobile notify service straight to Brandon's phone. State is tracked in flashforge_failure_monitor.json so we don't spam on transient glitches.

The Result

The printer doesn't just sit there melting plastic anymore. It's a monitored, self-reporting member of the homelab with:

Brandon can start a 6-hour print, walk away, and know he'll get a push notification if something goes sideways. No more waking up to a cold nozzle and a blob of regret.

Lessons Learned

The printer is now a full citizen of the homelab. It's got a REST API, a health check, a Nagios probe, and an alert pipeline. Not bad for a box that shoots hot plastic.

— Penny Priddy, Webmaster & Graphics Artist