A first-person report by Thorsten Meyer.
Get home appliances delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
A 3D printer is one more device on the home network. It reports its status, it draws power for hours, it heats plastic in a room where people live. Mine is a Bambu Lab X2D, and after the first week I wanted it to behave like the rest of my smart home: local, visible and a little bit automatic.
So I wrote a small tool for it. It is called Lagvik, it runs on a computer at home, and everything it does stays in my own network. This is what it does today, and what is still wired halfway.

Rule one: read the printer, never drive it
The printer speaks MQTT on the local network. Lagvik subscribes to that status stream and listens. It does not start, pause or stop anything. When a print ends, it fetches the sliced file from the printer over an encrypted file connection, also read-only, and reads how many grams of filament went into the job.
I like that split. Control stays with the maker’s own apps, which are built for it. My tool only watches, so a bug on my side can never ruin a print.
Smart plugs: power per print, and one firm limit
I use Shelly smart plugs, and I would buy them again. They measure power locally, without an account, and Home Assistant can read them directly. Lagvik is built to take the energy reading at the start and the end of each print and book the difference on that print.
The firm limit: Lagvik never switches the printer’s own plug. Cutting power to a printer mid-job, or while the hot end is still cooling, is a bad idea. The plugs on the printer are for measuring only.
To be honest about the state of things: my print records do not have power numbers yet. The print view says “power unknown” until the readings flow in. The material side already works.

The air purifier follows the printer
The second device I would buy again is an air purifier. Printing plastic puts fumes and fine particles into the room, and I would rather not breathe them. If you are choosing one, this site’s overview of smart air purifiers is a good place to start. The rule in Lagvik is simple: when a print starts, the purifier turns on, and it keeps running for 30 minutes after the print ends.
Right now that rule only writes to the log. The plug that will actually switch the purifier is not in place yet. Until then I can see in the log exactly when it would have run, which is a nice dry run before anything moves.
Humidity inside the filament unit
Filament takes up moisture from the air, and wet filament prints worse. The printer’s automatic filament unit (AMS) reports humidity and temperature, and Lagvik keeps that history. Over the last seven days the curve moved between 19 and 36 percent. A filament dryer is the third accessory I would buy again. Now I have a curve that tells me when to use it.

Home Assistant gets the same picture
Home Assistant reads the same smart plugs in parallel, and Lagvik announces itself to Home Assistant over MQTT as well. That means the printer’s state can sit on the same dashboard as the lights and the heating, and automations can react to “print finished” like to any other sensor. Notifications reach my phone as push messages, and each kind can be switched off in the settings.
What the house knows after the first week
- 16 prints, 0 failed. Modern printers rarely fail. The interesting signals are cost, time and air, not crashes.
- Long jobs are normal. Two of the prints ran close to 14 hours each. That is exactly the kind of job where an automatic purifier and a power reading pay off.
- Material per print is small money. The most expensive print so far cost €2.59 in filament. The bigger unknown is still power, which is why the plug matters.

If you want to try this at home
You do not need my tool for the basic setup:
- Put the printer on a metering smart plug and log the energy at print start and end.
- Give the air purifier its own switching plug and tie it to the printer’s status in your home automation, with a run-on after the print.
- Keep the printer’s own plug out of every automation that can switch it off.
- Watch the humidity of your filament storage for a week before you buy a dryer. The curve tells you whether you need one.
Lagvik is an internal tool for our own workshop, not a product you can download. The pattern behind it works with any local smart home setup: read, measure, log, and let only the harmless devices switch.
