Connect Klipper printers
Klipper printers report their usage straight to Spooly through Moonraker, the way they would to a Spoolman server. You add a block to the moonraker. and pick the active spool in Mainsail or Fluidd. Spooly then books every print.
- Klipper printer (
klipper) https:// spooly. eu/ api/ spoolman - Moonraker, Spooly Pro
On this page
What you need
- A printer with Klipper and Moonraker that you operate through Mainsail or Fluidd, for example Voron, RatRig, Sovol SV08 or Qidi Plus4.
- Access to the
moonraker.file of the printer, through the web interface.conf - Spooly Pro, the trial counts.
The Snapmaker U1 works with limits, see Limits. Creality K1 and K2, Elegoo Neptune 4 and Anycubic only let you change the moonraker. after modifying the firmware. Spooly does not recommend that and does not create a key for them. Connect these printers under “Connected printers” in the settings.
Create a key
- Open Spooly in the browser: Settings, Devices & keys, “Connect Klipper printer”. This does not work in the apps. “Devices & keys” exists only in the new design. If you still have the old one, switch it to “New design (beta)” under Settings, Appearance & language.
- Give the printer a name. This is how it is named on every print in Spooly. Pick your printer type, for example “Mainsail or Fluidd”.
- Spooly creates a key of type Klipper printer and shows you the finished block. It contains the key and appears only this one time. If you lose it, create the printer again.
A key of type Klipper printer only works at the Spoolman address. At the REST API and with an AI it does not work (403 key_).
Add it to the moonraker.conf
- Open the web interface of your printer. In Mainsail it is the “Machine” section, in Fluidd “Configuration”.
- Open the file
moonraker.and add the block at the very end.conf - Save and restart Moonraker.
[spoolman]
server: https://spooly:spk_dein_schluessel@spooly.eu/api/spoolman
sync_rate: 5The address is https:/. The key goes in front as the password, and the name spooly before the colon is arbitrary. You replace spk_ with your key, the easiest way is to copy the finished block from Spooly. sync_ means Moonraker reports every 5 seconds.
Check
- In Mainsail or Fluidd, pick the spool you are printing with in the “Spoolman” field on the start page. The number is the
#number of the spool in Spooly. - In Spooly the printer is listed under Devices & keys. It shows “Connected” as soon as Moonraker has the connection open. Before that it says “Waiting for the printer”.
- Start a print. With the first usage report Spooly creates the print, source Klipper, printer is the name from step 2. The remaining weight of the spool drops while it prints.
If Moonraker reports nothing for 15 minutes, the print counts as finished. You see the history in the printer row under “Latest prints”.
Limits
- Moonraker always reports for the spool you picked in Mainsail or Fluidd. Change it before the print starts.
- At most 3,000 g per report, and for a length at most 1,000,000 mm. Spooly does not book larger or invalid values, the report itself still answers 200.
- At most 60 reports a minute per key. Moonraker sends at most 12. Above that, Spooly answers 429 with Retry-After, and Moonraker sends the amount later.
- Usage reports and the open connection do not count toward the 10,000 calls a day.
- If the chosen spool does not exist in your account, Spooly answers 404. Moonraker then discards the amount and forgets the active spool. Archived spools work.
- When Pro expires, Spooly books nothing until Pro is active again (402).
- If the Spooly Bridge or the home network feature of the app already runs for this printer, remove it there. Otherwise every print arrives twice, and Spooly puts the second one into the review queue.
- Snapmaker U1: Advanced Mode has to stay on, and a firmware update will probably delete the entry. Spooly counts only one spool per print and does not split multicolor prints. The Spooly Bridge counts all four heads.
- Errors at the Spoolman address come as
{"message":".with a German text, not in the format of the REST API. Error codes. . "}
Protect the key
If it got into the wrong hands, revoke it under Settings, Devices & keys and create the printer again.
If something does not work
| Sign | What to do |
|---|---|
| The printer stays on “Waiting for the printer” | Check that the block is at the end of the moonraker., the address is right and you restarted Moonraker. |
| 401 | The key is wrong or revoked. Create the printer again in Spooly. |
| 402 | Pro has expired. Spooly books again as soon as Pro is active. |
| 403 | The API is not enabled for your account yet, or the key is not of type Klipper printer. |
| 404 | The chosen spool does not exist in your account. Pick another. |
| 429 | Too many reports or too many simultaneous requests. Moonraker tries again on its own. |