3D Printing · Home Assistant
Your 3D Printer in Home Assistant
A printer that reports into Home Assistant can announce a finished print, shut itself down safely when it has been idle for an hour, and show its progress on the same dashboard as the rest of the house. The path differs by ecosystem — full control for Klipper machines through Moonraker, monitoring for Bambu through the MQTT feed that was never gated — and this guide covers both, plus the one status caveat about the Moonraker integration you should know before building on it.
Published Nov 21, 2026
Klipper printers: the Moonraker integration
For a Klipper printer, install the Moonraker integration from HACS (search “Moonraker” in HACS integrations), then add it in Home Assistant with the printer’s IP address and Moonraker’s default port, 7125. It creates sensors for print state, progress percentage, elapsed and remaining time, hotend and bed temperatures, and filament used, plus a camera entity, the print’s thumbnail, an emergency-stop button, and buttons for your Klipper macros. That is genuine control, not just telemetry: automations can pause, cancel, or fire a macro, because Moonraker is the same API Mainsail uses.
Know what you are building on: this integration is a community project, not an official Home Assistant core integration, and its repository currently carries a notice that the author is seeking a maintainer. It requires Home Assistant 2025.1 or newer and works well today — but if a future Home Assistant release breaks it and no maintainer has stepped up, repair timelines are a community matter. The contrast is OctoPrint, whose Home Assistant integration is official and core-maintained. Neither fact should scare you off; both belong in the decision.
Bambu printers: monitoring that never went away
Bambu’s January 2025 authorization update gated print starts and control — but MQTT status reporting was explicitly never gated, which is why Bambu printers kept appearing in Home Assistant dashboards throughout the dispute. Community integrations use that feed for state, progress, temperatures, and the camera (the camera stream needs Developer Mode, covered in our LAN-only setup guide). What you do not get is what the tiers predict: starting or controlling prints from Home Assistant is not part of the deal on a closed machine. Monitoring, notifications, and power management below all work fine.
The automations actually worth having
Print-finished notification, with a photo. When the state sensor flips to complete, send a notification with the camera snapshot attached. This single automation replaces most of the checking-in a printer otherwise demands.
Safe idle shutdown. Put the printer on a smart plug with power monitoring. The safe pattern: when the printer has been idle (not printing, hotend below 50 °C) for a set period — an hour is a sane default — turn the plug off. The temperature condition is the safety-critical part: never cut power to a printer with a hot hotend, because the cooling fan stops with the power and heat creeps upward. Never use the plug to stop a running print except as a genuine emergency measure; the printer’s own emergency stop (exposed as a button by the Moonraker integration) is the right tool.
Failure watch. A long print whose progress percentage has not moved in 30 minutes while the state still says “printing” deserves a notification. It catches the classic spaghetti failure’s quieter cousins — a stalled file read, a runout sensor fault — without any camera AI.
Filament bookkeeping. The filament-used sensor accumulates per print; logging it to a helper or a spreadsheet gives you real consumption per spool, which pairs with our print cost calculator to turn estimates into actuals.
The dashboard
A compact printer card needs five things: the camera feed, state, progress as a gauge or bar, time remaining, and hotend/bed temperatures as a small graph. On a wall dashboard, group printers with the workshop’s lights and power so the whole bench reads at a glance. Everything on it is local — Moonraker and MQTT both live on your network — which is the point of building it this way rather than in a vendor app.
Official documentation and references
- Moonraker integration for Home Assistant (GitHub) — features, requirements, and the maintainer notice
- Home Assistant — OctoPrint integration — the official core integration, for contrast
- Bambu Lab — Authorization announcement — MQTT status reporting was not gated
Frequently asked questions
Can Home Assistant start prints on a Klipper printer?
Yes. The Moonraker integration exposes control including macro buttons and an emergency stop, because it uses the same local API as the Mainsail web interface.
Can Home Assistant control a Bambu printer?
Monitoring works well over the MQTT status feed, which Bambu never gated. Starting and controlling prints from Home Assistant is not available on Bambu’s closed firmware — that difference is exactly what the local-control tiers describe.
Is it safe to cut printer power with a smart plug?
Only when the printer is idle and the hotend has cooled below about 50 °C — the cooling fan stops when power is cut, and a hot hotend without its fan can heat-soak and damage the assembly. Build that temperature condition into any shutdown automation.
Is the Moonraker integration official?
No. It is a community HACS integration and currently carries a notice that its author is seeking a maintainer. It requires Home Assistant 2025.1+ and works well; OctoPrint’s integration is the official core one.

